grai_source_mysql
models

MysqlNode Objects

class MysqlNode(BaseModel)

ID Objects

class ID(MysqlNode)

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:

ColumnKey Objects

class ColumnKey(Enum)

Column Objects

class Column(MysqlNode)

Config Objects

class Config()

full_name

@property
def full_name() -> str

Arguments:

Returns:

Constraint Objects

class Constraint(str, Enum)

Edge Objects

class Edge(BaseModel)

Table Objects

class Table(MysqlNode)

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: