grai_source_postgres
models

PostgresNode Objects

class PostgresNode(BaseModel)

ID Objects

class ID(PostgresNode)

Config Objects

class Config()

TableID Objects

class TableID(ID)

make_full_name

@root_validator(pre=True)
def make_full_name(cls, values)

Arguments:

values:

Returns:

ColumnID Objects

class ColumnID(ID)

make_full_name

@root_validator(pre=True)
def make_full_name(cls, values)

Arguments:

values:

Returns:

ColumnConstraint Objects

class ColumnConstraint(Enum)

Column Objects

class Column(PostgresNode)

Config Objects

class Config()

make_full_name

@validator("full_name", always=True)
def make_full_name(cls, full_name, values)

Arguments:

full_name: values:

Returns:

Constraint Objects

class Constraint(str, Enum)

Edge Objects

class Edge(BaseModel)

TableType Objects

class TableType(str, Enum)

Table Objects

class Table(PostgresNode)

Config Objects

class Config()

make_full_name

@validator("full_name", always=True)
def make_full_name(cls, full_name, values)

Arguments:

full_name: values:

Returns:

get_edges

def get_edges()

EdgeQuery Objects

class EdgeQuery(BaseModel)

to_edge

def to_edge() -> Optional[Edge]

Arguments:

Returns: