Skip to content

Instantly share code, notes, and snippets.

@abadger
Last active July 9, 2024 15:33
Show Gist options
  • Save abadger/b26bbd5209862daa64abe30995dec7e7 to your computer and use it in GitHub Desktop.
Save abadger/b26bbd5209862daa64abe30995dec7e7 to your computer and use it in GitHub Desktop.
type_ = fields.List(
fields.Map(
values=fields.Map(
fields.KeyValue(key="name", value=fields.String)
)
)
)
### another layer of abstraction
DracutModule = fields.Map(
values=fields.Map(
fields.KeyValue(key="name", value=fields.String)
)
)
)
type_ = fields.List(DracutModule)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment