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

Fix: get_historical_data returns warning and empty dataframe #177

Open
wants to merge 1 commit into
base: dev
Choose a base branch
from

Conversation

hkafrawi
Copy link

@hkafrawi hkafrawi commented Dec 14, 2024

  • Refactor: After a phrase is inputted that is not None but that city isnt found in get_historical_data, it returns a warning instead of an exception and an empty dataframe to avoid crashing the program.

Fixes #174
Resolves #174
Closes #174

- Refactor: returns warning rather than exception if historical information isnt returned in get_historical_data method
- Refactor: explictly adding types-requests version 2.31.0.1 to fix dependency issue in pre commit
Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Awesome work with your first PR for Ozon3! We will review your PR soon :)

@hkafrawi hkafrawi changed the title Solving Issue 174 Fix: get_historical_data returns warning and empty dataframe Dec 14, 2024
@Milind220
Copy link
Collaborator

Will review this today - thanks for putting in the work!

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

Successfully merging this pull request may close these issues.

2 participants