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

Avoid None for empty results #202

Open
diethard-at-alation opened this issue Oct 18, 2024 · 0 comments
Open

Avoid None for empty results #202

diethard-at-alation opened this issue Oct 18, 2024 · 0 comments

Comments

@diethard-at-alation
Copy link

Sometimes GET requests won't return data. Currently in quite a few cases we are just returning None, which is not very convenient (e.g. get_data_quality_values).

Proposed solution: Even if no results could be fetched, return the same data type as if actual results are available. Example: for get_data_quality_values we would return an empty list.
Make this consistent across the board.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant