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

Fixed wrong data type #20

Merged
merged 1 commit into from
Jan 23, 2025
Merged

Fixed wrong data type #20

merged 1 commit into from
Jan 23, 2025

Conversation

SDS1234
Copy link
Contributor

@SDS1234 SDS1234 commented Jan 23, 2025

This pull request includes a change to the apyefa/client.py file to improve the type hinting for the location_by_coord method.
@alex-jung Maybe change the naming scheme because of the not existing plural and singular difference?

Type hinting improvement:

  • apyefa/client.py: Modified the return type of the location_by_coord method from Location to list[Location].

Location → list[Location]
@alex-jung
Copy link
Owner

Hi, you are right, the correct return value is list[Location] -> approved.

I will update documentation accordingly

@alex-jung alex-jung merged commit 875a86b into alex-jung:master Jan 23, 2025
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants