anomaly / anomaly/gallagher

Support retrieving partial responses from endpoints (refactor for pydantic `2.10`)

Aperta
#20 3 commenti 0 reazioni 1 assegnatario Rivendicata da @devraj Vedi su GitHub
invalid
Lingua principale
Python
Stelle
17
Fork
2
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

Endpoint such as searches allow providing a parameters called `fields` which is an `enum` of fields which the response ends up returning e.g `href, id, name, type, division, serverDisplayName, notes`

> The string must not contain any spaces. Just alphanumerics, underscores, commas, and dots.

This would mean we would have to make all fields in our `Response` objects optional.

We should also validate that the input is in fact an acceptable response field name.

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.