Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

205 - Pager/Fetcher all the things!#231

Merged
t8y8 merged 10 commits intotableau:developmenttableau/server-client-python:developmentfrom
t8y8:205-feature-pager-all-the-thingst8y8/server-client-python:205-feature-pager-all-the-thingsCopy head branch name to clipboard
Sep 26, 2017
Merged

205 - Pager/Fetcher all the things!#231
t8y8 merged 10 commits intotableau:developmenttableau/server-client-python:developmentfrom
t8y8:205-feature-pager-all-the-thingst8y8/server-client-python:205-feature-pager-all-the-thingsCopy head branch name to clipboard

Conversation

@t8y8
Copy link
Collaborator

@t8y8 t8y8 commented Sep 23, 2017

Here's a checkpoint PR for where I'm at in concerting all the models to 'fetch-on-demand' after you call populate_XXX on something.

Mostly it's a straight forward conversation but a few places have some interesting caveats so posting here for feedback.

EDIT: I've converted all the endpoints, I believe, so they all have on-demand fetching. WOO.

Also added test coverage where there wasn't any. This covers @grbritz's bug as well

@t8y8 t8y8 changed the title [WIP] 205 - Pager/Fetcher all the things! 205 - Pager/Fetcher all the things! Sep 23, 2017
# Get workbooks for user
@api(version="2.0")
def populate_workbooks(self, user_item, req_options=None):
from .. import Pager
Copy link
Contributor

Choose a reason for hiding this comment

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

Why do this here?

Copy link
Collaborator Author

@t8y8 t8y8 Sep 25, 2017

Choose a reason for hiding this comment

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

I did that on the 'users-in-groups' bugfix and just copied the pattern.

Don't think there's a great reason, just how I did it before.

I can move it to a top-level import

Copy link
Contributor

@graysonarts graysonarts left a comment

Choose a reason for hiding this comment

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

🚀

@t8y8 t8y8 merged commit 71ced7c into tableau:development Sep 26, 2017
@t8y8 t8y8 deleted the 205-feature-pager-all-the-things branch September 26, 2017 21:17
@t8y8 t8y8 mentioned this pull request Sep 26, 2017
bryceglarsen pushed a commit to bryceglarsen/server-client-python that referenced this pull request Dec 28, 2023
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

Morty Proxy This is a proxified and sanitized view of the page, visit original site.