Commit d32c500
fix: correct typedef typing and remove hardcoded RelationshipDef defaults
- Type attribute_defs as List[AttributeDef] on EntityDef and RelationshipDef
instead of List[Dict[str, Any]], consistent with StructDef/AtlanTagDef
- Type relationship_attribute_defs as List[RelationshipAttributeDef] on EntityDef
- Make RelationshipDef.relationship_label, propagate_tags, and relationship_category
optional (None) instead of hardcoded Salesforce/sample strings, preventing
round-trip contamination when re-serializing typedefs received from the API
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>1 parent 896d3ac commit d32c500
1 file changed
Lines changed: 6 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1321 | 1321 | | |
1322 | 1322 | | |
1323 | 1323 | | |
1324 | | - | |
| 1324 | + | |
1325 | 1325 | | |
1326 | 1326 | | |
1327 | 1327 | | |
| |||
1332 | 1332 | | |
1333 | 1333 | | |
1334 | 1334 | | |
1335 | | - | |
| 1335 | + | |
1336 | 1336 | | |
1337 | 1337 | | |
1338 | 1338 | | |
| |||
1360 | 1360 | | |
1361 | 1361 | | |
1362 | 1362 | | |
1363 | | - | |
| 1363 | + | |
1364 | 1364 | | |
1365 | 1365 | | |
1366 | 1366 | | |
| |||
1372 | 1372 | | |
1373 | 1373 | | |
1374 | 1374 | | |
1375 | | - | |
| 1375 | + | |
1376 | 1376 | | |
1377 | 1377 | | |
1378 | | - | |
| 1378 | + | |
1379 | 1379 | | |
1380 | 1380 | | |
1381 | | - | |
| 1381 | + | |
1382 | 1382 | | |
1383 | 1383 | | |
1384 | 1384 | | |
| |||
0 commit comments