Skip to content

Conversation

@madsmtm
Copy link
Member

@madsmtm madsmtm commented Mar 6, 2019

Move code from client.py -> _client.py, models.py -> _models.py and graphql.py -> _graphql.py. This is done so that we have an overview of the public API, and can take steps to gradually limit it.

This PR looks really huge on first sight, but that's because git-diff doesn't like creating a file with the same name as a moved file. If you look at each commit separately, the changes are really simple!

I haven't considered imports as part of the public API, if someone relied on those, their code would break! But I think this privatization is gonna be an iterative process, and personally, I'd much rather have to fix an import, than redo my entire codebase, just because the library got updated.

@madsmtm madsmtm self-assigned this Mar 6, 2019
@madsmtm madsmtm merged commit 94c30a2 into master Mar 10, 2019
@madsmtm madsmtm deleted the private-api branch May 8, 2019 16:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants