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

Convert list of dict items to list of string items #331

Open
martinm82 opened this issue Mar 24, 2023 · 0 comments
Open

Convert list of dict items to list of string items #331

martinm82 opened this issue Mar 24, 2023 · 0 comments

Comments

@martinm82
Copy link

Hi,
first of all thanks a lot for this create library. It saved me a lot of time.

I have the following problem where I need to remap a list of dict into a list of strings.

apps:
  - slug: abc
  - slug: def

should be converted to

apps:
  - abc
  - def

In general this an easy task if the dict is flat but in my case I have a nested dict and never can know when the list apps is located.

I tried several things with remap and enter but cannot get it working.

Any ideas would be appreciated.

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

1 participant