1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2026-02-04 07:51:50 +00:00

Use Literal type for TomlParams.state field

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
Jose Drowne 2026-01-27 19:54:18 -05:00
parent c24ef4988e
commit cc8b32ae2a

View file

@ -317,7 +317,7 @@ class TomlParams:
"integer", "hex_integer", "octal_integer", "binary_integer", "integer", "hex_integer", "octal_integer", "binary_integer",
"float", "boolean", "datetime", "date", "time", "array", "inline_table", "float", "boolean", "datetime", "date", "time", "array", "inline_table",
] ]
state: str state: t.Literal["absent", "present"]
backup: bool backup: bool
create: bool create: bool
follow: bool follow: bool