Comments (1)
For others that have run across this issue, one workaround is to use the ui-backend interface (assuming you're using the default outerbounds terraform module), which has much richer server-side filtering features. The original cause of the issue above is that the Metaflow client does a bulk request of all runs from the metadata-service API which lacks filtering features, and then does the filtering client-side.
E.g. to get the latest run for a given flow with given tags:
response = requests.get(f"https://<api_gateway_hostname>/api/runs?_order=-ts_epoch&_limit=30&_group_limit=31&_tags=<tags>&flow_id=<flow_name>&_page=1").json()
if not response['data']:
print(f"No data")
run_id = response['data'][0]['run_id']
run = Run(f"{flow_name}/{run_id}")
Are there any thoughts on making the metadata API adopt the server-side filtering behavior of the UI backend API?
from metaflow-service.
Related Issues (20)
- Configuring metaflow link in README shows `Page Not Found`
- Running metaflow-service and UI locally sees artifacts and DAG not displayable HOT 5
- Schema "public" hardcode in postgres_async_db.py HOT 1
- sslmode customization HOT 1
- IAM Authentication for RDS?
- How to run this project HOT 1
- metaflow ui-service unknow bug HOT 4
- Move on from Python 3.7 before security updates are discontinued. HOT 2
- Improve heartbeat failure messaging
- Metaflow Deployed AWS Batch Job Causes Security Hub To Raise Risk Items HOT 1
- Metaflow UI log ERROR HOT 4
- Missing dependencies for gs datastore HOT 1
- https://admin-docs.metaflow.org/overview/configuring-metaflow cannot access HOT 1
- [Metaflow UI] stdout and stderr logs timeout/fail to load HOT 3
- Bad error handling for big migrations bumps
- Can't start with v2.4.5 in a fresh database
- Latests tag are wrong, its lock to 2.3.0 and not 2.4.5 HOT 1
- From v2.2.4+ SSL connection break
- Should ignore errors when loading run parameters
- [bug] unable to set up ssl connection to AWS rds HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from metaflow-service.