Model

Several data classes in this module.

Schema

class sqllineage.core.models.Schema(name: str | None = None)[source]

Data Class for Schema

Parameters:

name – schema name

Table

class sqllineage.core.models.Table(name: str, schema: ~sqllineage.core.models.Schema = Schema: <default>, **kwargs)[source]

Data Class for Table

Parameters:
  • name – table name

  • schema – schema as defined by Schema

SubQuery

class sqllineage.core.models.SubQuery(subquery: Any, subquery_raw: str, alias: str | None)[source]

Data Class for SubQuery

Parameters:
  • subquery – subquery

  • alias – subquery alias name

Column

class sqllineage.core.models.Column(name: str, **kwargs)[source]

Data Class for Column

Parameters: