schema_1_model¶
- class mcp_ohmy_sql.db.aws_redshift.schema_1_model.ColumnInfo(*, object_type: ObjectTypeEnum = ObjectTypeEnum.COLUMN, name: str, comment: str | None = None, type: str, llm_type: LLMTypeEnum | None = None, dist_key: bool = False, sort_key_position: int, encoding: str | None = None, notnull: bool | None = None)[source]¶
- model_config: ClassVar[ConfigDict] = {}¶
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class mcp_ohmy_sql.db.aws_redshift.schema_1_model.TableInfo(*, object_type: ~mcp_ohmy_sql.constants.ObjectTypeEnum, name: str, comment: str | None = None, columns: list[~mcp_ohmy_sql.db.aws_redshift.schema_1_model.ColumnInfo] = <factory>, dist_style: str, owner: str)[source]¶
- model_config: ClassVar[ConfigDict] = {}¶
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class mcp_ohmy_sql.db.aws_redshift.schema_1_model.SchemaInfo(*, object_type: ~mcp_ohmy_sql.constants.ObjectTypeEnum = ObjectTypeEnum.SCHEMA, name: str, comment: str | None = None, tables: list[~mcp_ohmy_sql.db.aws_redshift.schema_1_model.TableInfo] = <factory>)[source]¶
- model_config: ClassVar[ConfigDict] = {}¶
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class mcp_ohmy_sql.db.aws_redshift.schema_1_model.DatabaseInfo(*, object_type: ~mcp_ohmy_sql.constants.ObjectTypeEnum = ObjectTypeEnum.DATABASE, name: str, comment: str | None = None, db_type: ~mcp_ohmy_sql.constants.DbTypeEnum = DbTypeEnum.AWS_REDSHIFT, schemas: list[~mcp_ohmy_sql.db.aws_redshift.schema_1_model.SchemaInfo] = <factory>)[source]¶
- model_config: ClassVar[ConfigDict] = {}¶
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].