| 157 | |
| 158 | |
| 159 | class 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 | |
| 170 | class ColumnSchemaResponse(BaseModel): |