LineageModels

Several data classes in this module.

Schema

class sqllineage.core.models.Schema(name: str = '<default>')[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(token: Parenthesis, alias: Optional[str])[source]

Data Class for SubQuery

Parameters
  • token – subquery token

  • alias – subquery name

Column

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

Data Class for Column

Parameters