`DisplayCollectionName` uses naive + "s" pluralization in tables.create()
@abelmilash-msft 已經在處理了。
開始於 2026年6月25日。
評估
這個 Issue 還沒有評估資料。
描述
When creating a table, DisplayCollectionName is always set by appending "s" to the label:
Code:
- https://github.com/microsoft/PowerPlatform-DataverseClient-Python/blob/f81440d0292933d121127f84677d317fd1f08523/src/PowerPlatform/Dataverse/data/_odata.py#L2121
- https://github.com/microsoft/PowerPlatform-DataverseClient-Python/blob/f81440d0292933d121127f84677d317fd1f08523/src/PowerPlatform/Dataverse/data/_odata.py#L1020
where label is either the provided display_name or falls back to the table schema name. Both paths are affected. Examples of incorrect results:
display_name |
Current result | Expected |
|---|---|---|
"Person" |
"Persons" |
"People" |
"Category" |
"Categorys" |
"Categories" |
"new_Person" (schema fallback) |
"new_Persons" |
"new_People" |
Location: src/PowerPlatform/Dataverse/data/_odata.py, _build_create_entity() (also _create_table() which delegates to it)
Proposed fix: Evaluate and consider a lightweight pluralization library (e.g. inflect).
- 主要語言
- Python
- 星號
- 61
- 分支
- 25
- 平均合併
- 13 小時 53 分鐘
- 30 天內合併 PR
- 3
環境準備
- 沒有 Dockerfile 或 Docker Compose 檔案
- 沒有 Pull Request 範本
- 閱讀貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
microsoft/PowerPlatform-DataverseClient-Python 的其他 Issue
-
Typed column metadata reads via RetrieveMetadataChanges (one request, no @odata.type cast round-trip)可能已有人在做 @arorashivam96 於 5 天前認領。 未關閉enhancement
難度 4/5 3-5 天 新手友好度 55/100
-
tables.update_column / update_columns: update existing column constraints (retrieve -> PUT + @odata.type) -- no metadata-write path exists today可能已有人在做 @arorashivam96 於 5 天前認領。 未關閉enhancement
難度 4/5 3-5 天 新手友好度 68/100
-
feat: make pandas an optional dependency可能已有人在做 @ChaitanyaAIML-lab 於 9 天前認領。 未關閉enhancement
難度 3/5 1-2 天 新手友好度 72/100
-
tables.create / add_columns cannot set column constraints (MaxLength, MinValue/MaxValue, Format, RequiredLevel, DisplayName)可能已有人在做 @arorashivam96 於 14 天前認領。 未關閉bug
microsoft/PowerPlatform-DataverseClient-Python#194 · 已指派 1 人 ·
-
client.dataframe.get() only returns physical columns, not the full logical schema可能重新可做 @sagebree 於 154 天前認領,目前沒有進行中的 PR。 未關閉
microsoft/PowerPlatform-DataverseClient-Python#170 · 已指派 1 人 ·
查看 microsoft/PowerPlatform-DataverseClient-Python 的全部 Issue
相似的 Issue
-
難度 2/5 1-3 小時 新手友好度 68/100
維護者通常 3 天內回覆
-
難度 2/5 1-3 小時 新手友好度 88/100
modelcontextprotocol/python-sdk#3648 ·
維護者通常 1 天內回覆
-
docs good first issue
難度 2/5 1-3 小時 新手友好度 78/100
VenetoStato/giorgio#6 ·
-
難度 1/5 1 小時以內 新手友好度 70/100
EclipseFdn/open-vsx.org#13831 ·
維護者通常 1 天內回覆
-
feature request
難度 2/5 1-3 小時 新手友好度 68/100
維護者通常 2 天內回覆