-
Notifications
You must be signed in to change notification settings - Fork 111
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
session: rename {query,execute}_inner to %
As {query,execute} methods got the _unpaged prefix, now the inner methods can drop the _inner prefix. This gives us one subtle advantage: users now see "method {query,execute} is private" instead of "{query,execute} method not found", which makes them more likely to think that the API was changed on purpose. Assuming that users see docstrings of private methods when they hover a call to them, this also lets them read the new docstrings of {query,execute} that explain the reasons behind the change and point to proper public methods: {query,execute}_{unpaged,single_page,iter}.
- Loading branch information
Showing
1 changed file
with
6 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters