table_info 模組

Dataverse 的表格與欄位元資料模型。

類別

AlternateKeyInfo

Dataverse 表格的替代金鑰元資料。

ColumnInfo

來自 Dataverse 資料表定義的欄位元資料。

TableInfo

具有類似字典的向下相容性資料表。

支援新屬性存取(info.schema_name)及舊有的字字鍵存取(info["table_schema_name"]),以向下相容於對原始字典 API 撰寫的程式碼。

範例:


   info = client.tables.create("new_Product", {"new_Price": "decimal"})
   print(info.schema_name)              # new attribute access
   print(info["table_schema_name"])     # legacy dict-key access