Skip to content

Stubs for geoip2 third party library#3299

Closed
jolaf wants to merge 40 commits intopython:masterfrom
jolaf:geoip2
Closed

Stubs for geoip2 third party library#3299
jolaf wants to merge 40 commits intopython:masterfrom
jolaf:geoip2

Conversation

@jolaf
Copy link
Contributor

@jolaf jolaf commented Oct 3, 2019

Approved by the developer, see maxmind/GeoIP2-python#70

jolaf and others added 30 commits March 11, 2019 15:11
Make vars arguments Optional, as they default to None (#2853)
Missing return values added;
A lot of parameters have been made Optional, according to documentation;
translation() stub improved by using @overload
Sequence replaced with Container

Co-Authored-By: Sebastian Rittau <srittau@rittau.biz>
Sequence replaced with Iterable

Co-Authored-By: Sebastian Rittau <srittau@rittau.biz>
Co-Authored-By: Sebastian Rittau <srittau@rittau.biz>
Copy link
Member

@JelleZijlstra JelleZijlstra left a comment

Choose a reason for hiding this comment

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

Thanks! I have a few minor comments.

Also, any chance these could be moved to 2and3? Probably all that is needed is to use Text instead of str.

@jolaf
Copy link
Contributor Author

jolaf commented Oct 7, 2019

Also, any chance these could be moved to 2and3? Probably all that is needed is to use Text instead of str.
I have no experience with stubs for Python 2, but I'll do as you say.

@jolaf
Copy link
Contributor Author

jolaf commented Oct 7, 2019

I'm closing this in favor of #3317.

@jolaf jolaf closed this Oct 7, 2019
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