Azure / Azure/azure-sdk-for-python
Purview Entity.get_by_ids batch size limit likely not documented?
- Lingua principale
- Python
- Stelle
- 5.6k
- Fork
- 3.4k
- Merge medio
- 2g 2h
- PR unite (30g)
- 213
Descrizione
- **Package Name**: azure-purview-datamap
- **Package Version**: 1.0.0b1
- **Operating System**: Windows
- **Python Version**: 3.11
**Describe the bug**
I'm running into some issues with the `DataMapClient.entity.get_by_ids(guid=guid_list)` method, which fails when the passed list of guids is large. So far, by testing manually I get a response when I pass 193 or less guids in that list. If I send 194 or more guids in that call I get a `JsonDecodeError` from the API. While it makes sense there are limits, 194 seems like an odd number and I've never seen anything like that in the docs. Also, the JsonDecodeError seems hard to decipher, since I'm not actually getting HTTP codes from the API call.
**To Reproduce**
Steps to reproduce the behavior:
1. fetch a list of more than 194 guids from a Purview instance
2. call DataMapClient.entity.get_by_ids(guid=guid_list)
**Expected behavior**
I'd like to know if there's anyplace in the docs where this is mentioned, and if so, get a clear HTTP response of why the call is failing
Guida per i contributori
Apri la guida per i contributori
Direzione di ricerca
Inizia con DataMapClient.entity.get_by_ids nel pacchetto azure-purview-datamap e riproduci la chiamata con 193 e 194 GUIDs. Analizza il JsonDecodeError restituito e tutta la documentazione disponibile del servizio o dell’SDK; il lavoro è completo quando il limite del batch e la risposta di errore sono documentati chiaramente oppure il problema ha una risoluzione confermata.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- azure, python
- Ambito
- api, documentation
- Tipo di issue
- Bug
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Stato di attività
- Ferma
- Chiarezza
- Abbastanza chiara
- Idoneità per principianti
- 42/100