Jiri Klein
04/14/2023, 3:21 PMprefect deployment inspect flow_name/deployment_name
for my deployment, I can see the parameters in the returned JSON.
Additionally, this means that I can’t override the Deployment parameters for ad-hoc runs of my flows.
Is this an expected behaviour in any of the Prefect Cloud UIs?Milou Van Cau
04/16/2023, 6:14 PMTim Galvin
04/20/2023, 1:52 AMDaskTaskRunner
on a SLURM
based cluster. When my workflow starts a dask schedular is also started, which has an address I could connect my browser to to see a pretty comprehensive overview of the real-time compute usage. In my situation with the SLURM
cluster there are a few hurdles to get the schedular, ultimately amounting to some port forwarded ssh connections to get to the listening port of the compute node that is hosting the dashboard.
So, the 'pie in the sky' question - is it feasible to integrate into the prefect UI a panel to present the dask schedular that is servicing each flow as they are running? Essentially, adding to the DaskTaskRunner
to forward the schedular dashboard to a designated resource on the prefect server that can then be matched to the flow run and presented?Kirill Egorov
04/20/2023, 10:14 AMMichał Augoff
04/20/2023, 9:54 PMEvan Curtin
04/21/2023, 1:48 PMList[str]
and the UI is a bit confusing, Ideally for me it would be individual str
rows, with the ability to +
and add more / delete
• Nesting: I have structs that are somewhat nested 3/4 levels, it looks like after a few levels it just gives up and prompts me for JSON, this is ok, but it means I have to lookup the schema of the fields in the codebase, is there a workaround, or even a way to get a popup showing which fields are expected?Michał Augoff
04/21/2023, 6:10 PMYaron Levi
04/24/2023, 9:22 AMTim-Oliver
04/24/2023, 3:49 PMTejaswi Bhangi
04/27/2023, 1:44 AMViktor Moyseyenko
04/27/2023, 10:39 AM@flow
def params_test(
show_prefect_version: bool = False,
show_python_version: bool = False,
):
logger = get_run_logger()
if show_prefect_version:
version = prefect.__version__
<http://logger.info|logger.info>(f":rocket: Prefect = {version}, API = {API}.")
if show_python_version:
<http://logger.info|logger.info>(f":snake: Python = {python_version()}.")
...
2. I've deployed this flow with both parameters set to True (see attached image #1).
3. During the Custom I set both parameters to False using toggle sliders (attached image #2).
During the flow run I can see that both parameters are set incorrectly - I see all changes done are ignored and only values set during deployment creation are being kept (both are True again):
• _show_prefect_version_ set to True
• _show_python_version_ set to True
(see attached image #3)
Please suggest - am I using/understand parameters incorrectly or is this some kind of an issue/bug with ignoring setting of parameters in Custom run?
@nicholas - can this be related to the issues you are working on?Michał Augoff
04/27/2023, 4:46 PMDaniel Sloan
05/01/2023, 4:35 PMTaylor Babin
05/02/2023, 7:24 PM{
"match": {
"prefect.resource.id": "prefect.flow-run.*"
},
"match_related": {
"prefect.resource.id": "prefect.deployment.70cb25fe-e33d-4f96-b1bc-74aa4e50b761",
"prefect.resource.role": "deployment"
},
"for_each": [
"prefect.resource.id"
],
"after": [],
"expect": [
"prefect.flow-run.Completed"
],
"posture": "Reactive",
"threshold": 2,
"within": 10
}
Brandon Reid
05/03/2023, 6:17 PMBrandon Reid
05/03/2023, 6:18 PMBrandon Reid
05/03/2023, 6:18 PMBrandon Reid
05/03/2023, 6:19 PMBrandon Reid
05/03/2023, 6:19 PMBrandon Reid
05/03/2023, 6:19 PMBrandon Reid
05/03/2023, 6:19 PMBrandon Reid
05/03/2023, 6:19 PMflapili
05/03/2023, 8:15 PMJV
05/04/2023, 6:21 PMMichał Augoff
05/04/2023, 8:49 PMRachel H
05/05/2023, 2:30 AMDeceivious
05/05/2023, 10:14 AMAbhinav Chordia
05/05/2023, 1:11 PMYaron Levi
05/06/2023, 6:31 PMYaron Levi
05/06/2023, 6:31 PM