MCPcopy Index your code
hub / github.com/dataease/SQLBot / TableSchema

Class TableSchema

backend/apps/datasource/models/datasource.py:145–151  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

143
144
145class TableSchema:
146 def __init__(self, attr1, attr2=None):
147 self.tableName = attr1
148 self.tableComment = attr2 if attr2 is None or isinstance(attr2, str) else attr2.decode("utf-8")
149
150 tableName: str
151 tableComment: str
152
153
154class TableSchemaResponse(BaseModel):

Callers 1

get_tablesFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected