Skip to content

Improve README and add docstrings #21

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

Merged

Conversation

Cito
Copy link
Member

@Cito Cito commented Apr 5, 2019

Separate between official and internal helper functions. Only the official functions are listed in __all__, and the internal ones are moved to the bottom of the file.

Use json_encode and default_format_error as default values, so they don't need to be imported any more (and have therefore been excluded from __all__. But everything that is now considered internal is still available for import, nothing is broken.

Also, added a script to create docs from the docstrings.

@Cito Cito mentioned this pull request Apr 5, 2019
@Cito Cito force-pushed the improve-readme-and-add-docstrings branch 3 times, most recently from 113287e to 6a904fe Compare April 5, 2019 22:50
Separate between official and internal helper functions.
Only the official functions are listed in __all__, and the
internal ones are moved to the bottom of the file.

Also, added a script to create docs from the docstrings.

Add Python 3.6 and 3.7 as supported Python versions.
@Cito Cito force-pushed the improve-readme-and-add-docstrings branch from 6a904fe to e7b4b04 Compare April 5, 2019 23:06
@ProjectCheshire
Copy link
Member

About 8 months ago I would have killed to have this version. This PR makes me inordinately happy

@ProjectCheshire ProjectCheshire merged commit e0fcd01 into graphql-python:master Apr 30, 2019
@Cito Cito deleted the improve-readme-and-add-docstrings branch April 30, 2019 16:36
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