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

Schema; exworkflows does nothing #670

Open
MetRonnie opened this issue Feb 27, 2025 · 1 comment
Open

Schema; exworkflows does nothing #670

MetRonnie opened this issue Feb 27, 2025 · 1 comment
Labels
bug Something isn't working small
Milestone

Comments

@MetRonnie
Copy link
Member

MetRonnie commented Feb 27, 2025

kwargs['exworkflows'] = [
Tokens(w_id) for w_id in kwargs['exworkflows']]
return await list_elements(kwargs)
async def list_elements(args):
if not args['workflows']:
raise Exception('At least one workflow must be provided.')
elements = []
for workflow in args['workflows']:

exworkflows is a list of workflows to exclude. However we are not doing any filtering here based on the value of exworkflows.

E.g. see the workflow_filter function in https://github.com/cylc/cylc-flow/blob/0e5fa06a7267772d94024761ca9ac20b6b11339c/cylc/flow/network/resolvers.py#L178

@MetRonnie MetRonnie added the bug Something isn't working label Feb 27, 2025
@MetRonnie MetRonnie added this to the pending milestone Feb 27, 2025
@oliver-sanders
Copy link
Member

Note, we aren't actually using this and don't have a use case in mind for it in the future.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working small
Projects
None yet
Development

No branches or pull requests

2 participants