Skip to content

Efficient dataset variables for cube#86

Merged
jjdelc merged 9 commits into
masterfrom
fetch-cubes-performance
Jun 6, 2025
Merged

Efficient dataset variables for cube#86
jjdelc merged 9 commits into
masterfrom
fetch-cubes-performance

Conversation

@tiagocoutinho

Copy link
Copy Markdown
Contributor
  • lazy fetch variables
  • use cached variables when need to access dataset variables

@tiagocoutinho tiagocoutinho force-pushed the fetch-cubes-performance branch from 7ddf49e to 419fcc3 Compare June 5, 2025 14:25
@tiagocoutinho tiagocoutinho force-pushed the fetch-cubes-performance branch from b3776cf to 3517fd5 Compare June 5, 2025 14:52
Comment thread tests/test_http.py
@classmethod
def setUpClass(cls):
cls.s = Session("not an email", "not a password", site_url="https://app.crunch.io/api/")
cls.r = cls.s.get("http://httpbin.org/headers")

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

We shouldn't rely on httpbin.org being online and replying with the answer we need.
I got multiple failures both locally and on github actions because the site was not online

@tiagocoutinho tiagocoutinho requested a review from jjdelc June 6, 2025 09:02
@jjdelc jjdelc merged commit cb29bb9 into master Jun 6, 2025
7 checks passed
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