Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add exception-on-error mode to python client #1507

Open
melange396 opened this issue Jul 26, 2024 · 0 comments
Open

Add exception-on-error mode to python client #1507

melange396 opened this issue Jul 26, 2024 · 0 comments
Labels
data quality python client changes the Python client user experience things that affect users of our software or services

Comments

@melange396
Copy link
Collaborator

Add a "mode" to the delphi-epidata python client that enables behavior in the ._request() method that will raise an exception when the row limit is encountered (result code 2). This can make it easier for users to know when they are missing data that they otherwise expected to receive.

possibly of note: the Epidata.check() method does something similar (raise an exception on anything but result==1) though it is seemingly unused except for in a few of our ancient/abandoned repos.

@melange396 melange396 added python client changes the Python client data quality user experience things that affect users of our software or services labels Jul 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
data quality python client changes the Python client user experience things that affect users of our software or services
Projects
None yet
Development

No branches or pull requests

1 participant