Comments (5)
Hi @wangm23456 could you clarify what you mean?
from ui.
Hi @joshmeek! Maybe he means that there is no information about flow_id in ui. For example, I have a similar situation when I need to run flow through api. In the parameter, if I'm not mistaken, mutate flow_create_run needs to be passed flow_id, and in this case, you first have to get flow_id by the name of flow through the query, and then use it for launch.
from ui.
@bralbral thank you! But how can I get the flow_id by the name? What's the relation between flow_id and flow name?
from ui.
@joshmeek my code:
I don't know where is the flow_id? I can't find it in doc.
flow = Flow("me")
debug = Parameter("debug", default=True)
log_file = Parameter("log_file", default=None)
flow.add_task(base_args)
flow.add_task(me)
miami.set_upstream(base_args, flow=flow)
base_args.bind(debug=debug, log_file=log_file, flow=flow)
me.bind(args=base_args, flow=flow)
flow.register(project_name="me",labels=["me"])
c = Client()
c.create_flow_run(
flow_id=flow.name,
parameters=dict(
debug=self._debug,
log_file=self._run_log_file,))
from ui.
@wangm23456 when you run .register
the flow ID is output to stdout. Otherwise you could query for it using graphql
query {
flow { id }
}
or you can see it in the address bar of the UI on the flow's page. I'm going to transfer this issue to the UI repo because like @bralbral said it isn't easily displayed 🙂
from ui.
Related Issues (20)
- BUG: Keys removed in JSON format are also removed when toggling back to dictionary
- BUG: Web UI looks gets into a stuck page where the initial progress bar keeps running forever. HOT 1
- BUG: UI stops responding after long periods of inactivity
- noIndex logic Bug
- Feature Request: Instructions/Descriptions for Parameters in UI HOT 1
- Investigate Live logs panel - user reports it's broken when using Dask's KubeCluster
- BUG: Azure Marketplace - Unable to create AKS Prefect Agent - Requires API Key HOT 3
- BUG: agent urls redirect to main agent page HOT 1
- BUG: No Update in logs HOT 2
- BUG: Flow Runs stays navbar item stays highlighted when another is selected in Cloud only HOT 1
- BUG: When a task is mapped over a list of iterables the task hierarchy is not correctly displayed. HOT 1
- BUG: docker-container image field default overwritten HOT 1
- BUG: UI strips new-line characters for Secret block HOT 2
- Create Deployments from the UI HOT 2
- Change Default role of "Add User" Panel
- 1.0 BUG: prefect 1.0 API internal error 500 HOT 1
- Sort Deployments by "Last Updated" field
- Add customer timespan filter to dashboard
- Present deployment configuration options on deployment page
- Populate default values on work pools
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 ui.