Skip to content

Commit 046c7b0

Browse files
committed
extra entity_set
1 parent e062783 commit 046c7b0

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

examples/quickstart.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -141,8 +141,7 @@ class Status(IntEnum):
141141
pass
142142
# Fail fast: all operations must use the custom table
143143
sys.exit(1)
144-
entity_set = table_info.get("entity_set_name")
145-
logical = table_info.get("entity_logical_name") or entity_set.rstrip("s")
144+
logical = table_info.get("entity_logical_name")
146145

147146
# Derive attribute logical name prefix from the entity logical name (segment before first underscore)
148147
attr_prefix = logical.split("_", 1)[0] if "_" in logical else logical

0 commit comments

Comments
 (0)