Open API type of `sorts` parameter for `PublicObjectSearchRequest` should be mapped to a class
@alzheltkovskiy-hubspot ci sta già lavorando.
Dal 17/12/2024.
Valutazione
Questa issue non è ancora stata valutata.
Descrizione
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"}
- Lingua principale
- Python
- Stelle
- 434
- Fork
- 126
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di HubSpot/hubspot-api-python
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 65/100
HubSpot/hubspot-api-python#497 ·
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 58/100
HubSpot/hubspot-api-python#498 · 1 commento ·
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 52/100
HubSpot/hubspot-api-python#496 ·
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 35/100
HubSpot/hubspot-api-python#495 · 1 commento · 2 reazioni ·
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 52/100
HubSpot/hubspot-api-python#494 ·
Tutte le issue di HubSpot/hubspot-api-python
Issue simili
-
bug confirmed issue
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
open-webui/open-webui#30750 · 1 commento ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
-
enhancement
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
OpenwaterHealth/openmotion-bloodflow-app#604 · 1 commento ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
-
good first issue
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 90/100