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

Class ColumnSchema

backend/apps/datasource/models/datasource.py:159–167  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

157
158
159class ColumnSchema:
160 def __init__(self, attr1, attr2, attr3):
161 self.fieldName = attr1
162 self.fieldType = attr2
163 self.fieldComment = attr3 if attr3 is None or isinstance(attr3, str) else attr3.decode("utf-8")
164
165 fieldName: str
166 fieldType: str
167 fieldComment: str
168
169
170class ColumnSchemaResponse(BaseModel):

Callers 1

get_fieldsFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected