Skip to content

question about for-loops on mappings #21

@janesser

Description

@janesser

i am trying to get a for loop over a dict (not a list)

is there some best-practice function that would e.g. unfold dict.keys() to a visitable list ?

snapcraft.yaml.template:24:10:
  'Expression' object has no attribute 'visited':
   $_.epackages[$_.version][$_.name].keys()
Finished with errors.

thanks in advance

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions