Skip to content

[BUG] publicV2/data.py: Data.get_metrics_animals is missing a return statement #53

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

Closed
ChrisMyers opened this issue Nov 7, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@ChrisMyers
Copy link

Describe the bug
In publicV2/data.py, the method Data.get_metrics_animals() is missing a return statement, and therefore does not return the results of the call to self.api.get(url_suffix, json=params). All the other methods on the Data class appear to correctly return the result of the api call.

Expected behavior
I expect the method to return the result of the api call, but nothing (None) is returned.

@ChrisMyers ChrisMyers added the bug Something isn't working label Nov 7, 2024
@ChrisMyers ChrisMyers changed the title [BUG] publicV2/data.py Data.get_metrics_animals is missing a return statement [BUG] publicV2/data.py: Data.get_metrics_animals is missing a return statement Nov 7, 2024
Mopsgeschwindigkeit added a commit to Mopsgeschwindigkeit/sxapi that referenced this issue Feb 17, 2025
@Mopsgeschwindigkeit
Copy link
Contributor

will be resolved with #52

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants