Open API type of `sorts` parameter for `PublicObjectSearchRequest` should be mapped to a class
@alzheltkovskiy-hubspot 已经在做这个了。
开始于 2024年12月17日。
评估
这个 Issue 还没有评估数据。
描述
The sorts parameter of the PublicObjectSearchRequest class (all CRM objects) is mapped to the Open API type list[str]. However, the HubSpot API accepts sorts as an array of objects:
sorts = [
{
"propertyName": "hs_lastmodifieddate",
"direction": "DESCENDING",
}
]
Similar to the filter_groups parameter, the sorts parameter should be mapped to a Sort class with the appropriate attributes.
Example:
openapi_types = {"filter_groups": "list[FilterGroup]", "sorts": "list[Sort]", "query": "str", "properties": "list[str]", "limit": "int", "after": "int"}
- 主要语言
- Python
- 星标
- 434
- 派生
- 126
- PR 合并指标
- 30 天内没有已合并 PR
贡献指南
这个仓库没有索引到贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
HubSpot/hubspot-api-python 的其他 Issue
-
难度 2/5 1-3 小时 新手友好度 65/100
HubSpot/hubspot-api-python#497 ·
-
难度 3/5 1-2 天 新手友好度 58/100
HubSpot/hubspot-api-python#498 · 1 条评论 ·
-
难度 4/5 3-5 天 新手友好度 52/100
HubSpot/hubspot-api-python#496 ·
-
难度 4/5 3-5 天 新手友好度 35/100
HubSpot/hubspot-api-python#495 · 1 条评论 · 2 个 reaction ·
-
难度 4/5 3-5 天 新手友好度 52/100
HubSpot/hubspot-api-python#494 ·
查看 HubSpot/hubspot-api-python 的全部 Issue
相似的 Issue
-
area: harness bug status: needs-triage
难度 2/5 1-3 小时 新手友好度 75/100
Human-Agent-Society/reef#625 ·
-
难度 2/5 1-3 小时 新手友好度 70/100
-
难度 1/5 1 小时以内 新手友好度 80/100
learningequality/kolibri#15351 · 2 条评论 ·
-
难度 2/5 1-3 小时 新手友好度 75/100
-
Name consistency 未关闭
难度 2/5 1-3 小时 新手友好度 75/100
eellak/triplestore#65 · 1 条评论 ·