You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- Bulk create via `CreateMultiple` (collection-bound) by passing `list[dict]` to `create(entity_set, payloads)`; returns list of created IDs.
20
20
- Bulk update via `UpdateMultiple` (invoked internally) by calling unified `update(entity_set, ids, patch|patches)`; returns nothing.
21
21
- Retrieve multiple with server-driven paging: `get_multiple(...)` yields lists (pages) following `@odata.nextLink`. Control total via `$top` and per-page via `page_size` (Prefer: `odata.maxpagesize`).
@@ -272,7 +272,25 @@ for page in pages: # page is list[dict]
272
272
### Custom table (metadata) example
273
273
274
274
```python
275
-
# Create a simple custom table and a few primitive columns
275
+
# Support multi-lingual enums
276
+
classStatus(IntEnum):
277
+
Active =1
278
+
Inactive =2
279
+
Archived =5
280
+
__labels__ = {
281
+
1033: {
282
+
"Active": "Active",
283
+
"Inactive": "Inactive",
284
+
"Archived": "Archived",
285
+
},
286
+
1036: {
287
+
"Active": "Actif",
288
+
"Inactive": "Inactif",
289
+
"Archived": "Archivé",
290
+
}
291
+
}
292
+
293
+
# Create a simple custom table and a few columns
276
294
info = client.create_table(
277
295
"SampleItem", # friendly name; defaults to SchemaName new_SampleItem
0 commit comments