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

Yaml bases resolve / completion for 'config and pep.config` #433

Open
1 task
iromeo opened this issue Oct 31, 2021 · 0 comments
Open
1 task

Yaml bases resolve / completion for 'config and pep.config` #433

iromeo opened this issue Oct 31, 2021 · 0 comments
Assignees

Comments

@iromeo
Copy link
Contributor

iromeo commented Oct 31, 2021

Yaml keys completion for config and pep.config objects (e.g. see #360 issue)

Expected completion:

  • in python code: config['<..>'], config['key1']["<..>"]

  • in SnakemakeSL: `shell: "echo config[key1][key2]"

  • Completion both for config[] and pep.config[]

  • pepfile and configfile declarations could be missing, e.g. user attach them only on runtime. In this case we need a way how to configure which keys are available for completion. So 2 options:

    • take keys from pepschema (not clear what to do with config) or
    • provide UI in project settings (e.g. in snakemake framework support page) which allows to configure available keys (leaf and intermediate nodes)
  • Subtask: config support, see Resolve/completion for config attrs #5

@iromeo iromeo added this to the next major milestone Oct 31, 2021
@iromeo iromeo modified the milestones: next major, 0.x, next next major Oct 31, 2021
@dakochik dakochik self-assigned this Feb 5, 2022
dakochik pushed a commit that referenced this issue Mar 14, 2022
dakochik pushed a commit that referenced this issue Mar 24, 2022
iromeo added a commit that referenced this issue Oct 8, 2024
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

No branches or pull requests

2 participants