Skip to content

Commit ebb5ee8

Browse files
committed
Merge branch 'user/tpellissier/logical_name_prefix' of https://github.com/microsoft/PowerPlatform-DataverseClient-Python into user/tpellissier/logical_name_prefix
2 parents 5cad9b4 + 67ddb7c commit ebb5ee8

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

examples/basic/quickstart.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -96,8 +96,8 @@ class Status(IntEnum):
9696
log_call("client.list_tables()")
9797
tables = client.list_tables()
9898

99-
# LogicalName should be lowercase, but let's be defensive with case-insensitive comparison
100-
existing_table = next((t for t in tables if t.get("LogicalName", "").lower() == "new_sampleitem"), None)
99+
# LogicalName is always lowercase (SDK normalizes)
100+
existing_table = next((t for t in tables if t.get("LogicalName", "") == "new_sampleitem"), None)
101101
if existing_table:
102102
table_info = client.get_table_info("new_sampleitem")
103103
created_this_run = False

0 commit comments

Comments
 (0)