anomaly / anomaly/gallagher

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

Offen
#20 3 Kommentare 0 Reaktionen 1 zugewiesene Person Beansprucht von @devraj Auf GitHub ansehen
invalid
Vorherrschende Sprache
Python
Sterne
17
Forks
2
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

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.

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.