Title: `DisplayCollectionName` uses naive + "s" pluralization in tables.create() · Issue #166 · microsoft/PowerPlatform-DataverseClient-Python · GitHub
Open Graph Title: `DisplayCollectionName` uses naive + "s" pluralization in tables.create() · Issue #166 · microsoft/PowerPlatform-DataverseClient-Python
X Title: `DisplayCollectionName` uses naive + "s" pluralization in tables.create() · Issue #166 · microsoft/PowerPlatform-DataverseClient-Python
Description: When creating a table, DisplayCollectionName is always set by appending "s" to the label: Code: PowerPlatform-DataverseClient-Python/src/PowerPlatform/Dataverse/data/_odata.py Line 2121 in f81440d "DisplayCollectionName": self._label(tab...
Open Graph Description: When creating a table, DisplayCollectionName is always set by appending "s" to the label: Code: PowerPlatform-DataverseClient-Python/src/PowerPlatform/Dataverse/data/_odata.py Line 2121 in f81440d ...
X Description: When creating a table, DisplayCollectionName is always set by appending "s" to the label: Code: PowerPlatform-DataverseClient-Python/src/PowerPlatform/Dataverse/data/_odata.py Line 2121 i...
Opengraph URL: https://github.com/microsoft/PowerPlatform-DataverseClient-Python/issues/166
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"`DisplayCollectionName` uses naive + \"s\" pluralization in tables.create()","articleBody":"When creating a table, `DisplayCollectionName` is always set by appending `\"s\"` to the label:\n\nCode:\n- https://github.com/microsoft/PowerPlatform-DataverseClient-Python/blob/f81440d0292933d121127f84677d317fd1f08523/src/PowerPlatform/Dataverse/data/_odata.py#L2121\n- https://github.com/microsoft/PowerPlatform-DataverseClient-Python/blob/f81440d0292933d121127f84677d317fd1f08523/src/PowerPlatform/Dataverse/data/_odata.py#L1020\n\nwhere `label` is either the provided `display_name` or falls back to the table schema name. Both paths are affected. Examples of incorrect results:\n\n| `display_name` | Current result | Expected |\n|---|---|---|\n| `\"Person\"` | `\"Persons\"` | `\"People\"` |\n| `\"Category\"` | `\"Categorys\"` | `\"Categories\"` |\n| `\"new_Person\"` (schema fallback) | `\"new_Persons\"` | `\"new_People\"` |\n\n**Location:** `src/PowerPlatform/Dataverse/data/_odata.py`, `_build_create_entity()` (also `_create_table()` which delegates to it)\n\n**Proposed fix:** Evaluate and consider a lightweight pluralization library (e.g. `inflect`).\n","author":{"url":"https://github.com/abelmilash-msft","@type":"Person","name":"abelmilash-msft"},"datePublished":"2026-04-23T06:54:30.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/166/PowerPlatform-DataverseClient-Python/issues/166"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:322426a1-a302-8a70-198e-6a2b6cf56dbb |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | CA84:391A54:14C6C55:1CE37FE:6A4DEFE8 |
| html-safe-nonce | 4434b9328367366d1430adb0bb1f7b3eaad4b2e1af1c8264e1f3513505def6e6 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDQTg0OjM5MUE1NDoxNEM2QzU1OjFDRTM3RkU6NkE0REVGRTgiLCJ2aXNpdG9yX2lkIjoiMzUyMjYyNTE0NzM3NzY3NjI2NCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 970f6952d8a3fce058b126e56cfb73e86fcac29ce63b57016f4e89cb658d8f10 |
| hovercard-subject-tag | issue:4314108697 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/microsoft/PowerPlatform-DataverseClient-Python/166/issue_layout |
| twitter:image | https://opengraph.githubassets.com/4ea686d8e3755921acfc0a7f89aad9c6c24d4688e32f067b0fbb522ae0505674/microsoft/PowerPlatform-DataverseClient-Python/issues/166 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/4ea686d8e3755921acfc0a7f89aad9c6c24d4688e32f067b0fbb522ae0505674/microsoft/PowerPlatform-DataverseClient-Python/issues/166 |
| og:image:alt | When creating a table, DisplayCollectionName is always set by appending "s" to the label: Code: PowerPlatform-DataverseClient-Python/src/PowerPlatform/Dataverse/data/_odata.py Line 2121 in f81440d ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | abelmilash-msft |
| hostname | github.com |
| expected-hostname | github.com |
| None | 5818716c93c6a2925b815402541a32814e43a7b1261c322b0c2df75224289566 |
| turbo-cache-control | no-preview |
| go-import | github.com/microsoft/PowerPlatform-DataverseClient-Python git https://github.com/microsoft/PowerPlatform-DataverseClient-Python.git |
| octolytics-dimension-user_id | 6154722 |
| octolytics-dimension-user_login | microsoft |
| octolytics-dimension-repository_id | 1042273116 |
| octolytics-dimension-repository_nwo | microsoft/PowerPlatform-DataverseClient-Python |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 1042273116 |
| octolytics-dimension-repository_network_root_nwo | microsoft/PowerPlatform-DataverseClient-Python |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | f4bb89367ca678f057d79b1abc45d6675b1bd5b2 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width