Skip to content

Commit 3d159a0

Browse files
committed
Use prefixed table name, add case sensitivity
1 parent daedd9c commit 3d159a0

8 files changed

Lines changed: 619 additions & 901 deletions

File tree

README.md

Lines changed: 12 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,7 @@ The SDK provides a simple, pythonic interface for Dataverse operations:
104104
| **Bulk Operations** | Efficient bulk processing for multiple records with automatic optimization |
105105
| **Paging** | Automatic handling of large result sets with iterators |
106106
| **Structured Errors** | Detailed exception hierarchy with retry guidance and diagnostic information |
107+
| **Publisher Prefixes** | Custom columns require publisher prefix (e.g., `"new_Title"` not `"Title"`) |
107108

108109
## Examples
109110

@@ -189,20 +190,23 @@ for page in pages:
189190
### Table management
190191

191192
```python
192-
# Create a custom table
193-
table_info = client.create_table("Product", {
194-
"code": "string",
195-
"price": "decimal",
196-
"active": "bool"
193+
# Create a custom table with publisher-prefixed columns
194+
table_info = client.create_table("new_Product", {
195+
"new_Code": "string",
196+
"new_Price": "decimal",
197+
"new_Active": "bool"
197198
})
198199

199-
# Add columns to existing table
200-
client.create_columns("Product", {"category": "string"})
200+
# Add columns to existing table (columns must include publisher prefix)
201+
client.create_columns("new_Product", {"new_Category": "string"})
201202

202203
# Clean up
203-
client.delete_table("Product")
204+
client.delete_table("new_Product")
204205
```
205206

207+
> **Important**: All custom column names must include the publisher prefix (e.g., `"new_"`).
208+
> This ensures explicit, predictable naming and aligns with Dataverse metadata requirements.
209+
206210
### File operations
207211

208212
```python

0 commit comments

Comments
 (0)