Skip to content
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

🐛 Deprecate charts.list_charts #3320

Merged
merged 3 commits into from
Sep 20, 2024
Merged

🐛 Deprecate charts.list_charts #3320

merged 3 commits into from
Sep 20, 2024

Conversation

Marigold
Copy link
Collaborator

@Marigold Marigold commented Sep 20, 2024

With the introduction of data catalog, we no longer have a way to get a list of slugs for all charts. This was used in charts.list_charts() function in data catalog.

I don't know how often was this function used. If we want to keep it, we'd have to add an endpoint that would return all charts slugs or call public Datasette.

@Marigold Marigold changed the title 🐛 Deprecate catalog.list_charts 🐛 Deprecate charts.list_charts Sep 20, 2024
@owidbot
Copy link
Contributor

owidbot commented Sep 20, 2024

Quick links (staging server):

Site Admin Wizard

Login: ssh owid@staging-site-deprecate-list-charts

chart-diff: ✅ No charts for review.
data-diff: ✅ No differences found
Legend: +New  ~Modified  -Removed  =Identical  Details
Hint: Run this locally with etl diff REMOTE data/ --include yourdataset --verbose --snippet

Automatically updated datasets matching weekly_wildfires|excess_mortality|covid|fluid|flunet|country_profile|garden/ihme_gbd/2019/gbd_risk are not included

Edited: 2024-09-20 13:27:10 UTC
Execution time: 14.38 seconds

@Marigold Marigold marked this pull request as ready for review September 20, 2024 13:39
@Marigold
Copy link
Collaborator Author

Merging to make ETL CI pass again.

@Marigold Marigold closed this Sep 20, 2024
@Marigold Marigold reopened this Sep 20, 2024
@Marigold Marigold merged commit 7d721b3 into master Sep 20, 2024
16 checks passed
@Marigold Marigold deleted the deprecate-list-charts branch September 20, 2024 13:41
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