You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is there a way, when using deserialisation (in my case into Pydantic models), to expose and retrieve the underlying response?
My use case is that the API I'm working with enforces pagination for requests that return lists, and exposes the page information (total number, page size etc) in HTTP response headers.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Is there a way, when using deserialisation (in my case into Pydantic models), to expose and retrieve the underlying response?
My use case is that the API I'm working with enforces pagination for requests that return lists, and exposes the page information (total number, page size etc) in HTTP response headers.
Beta Was this translation helpful? Give feedback.
All reactions