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:
parent
c24ef4988e
commit
cc8b32ae2a
1 changed files with 1 additions and 1 deletions
|
|
@ -317,7 +317,7 @@ class TomlParams:
|
|||
"integer", "hex_integer", "octal_integer", "binary_integer",
|
||||
"float", "boolean", "datetime", "date", "time", "array", "inline_table",
|
||||
]
|
||||
state: str
|
||||
state: t.Literal["absent", "present"]
|
||||
backup: bool
|
||||
create: bool
|
||||
follow: bool
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue