1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2026-04-27 22:19:02 +00:00

Fix typing imports (#11603)

Fix typing imports.

(cherry picked from commit c8fe1e571f)
This commit is contained in:
Felix Fontein 2026-03-15 19:47:25 +01:00 committed by patchback[bot]
parent c6ddff0dad
commit 7e855a5d68
2 changed files with 7 additions and 7 deletions

View file

@ -368,7 +368,7 @@ end_state:
import copy
import traceback
from typing import Any
import typing as t
from ansible.module_utils.basic import AnsibleModule
@ -763,8 +763,8 @@ def delete_tmp_swap_flow_if_exists(
kc.delete_authentication_flow_by_id(id=existing_tmp["id"], realm=realm)
def create_authentication_execution_spec_options(depth: int) -> dict[str, Any]:
options: dict[str, Any] = dict(
def create_authentication_execution_spec_options(depth: int) -> dict[str, t.Any]:
options: dict[str, t.Any] = dict(
providerId=dict(type="str", required=depth == 0),
requirement=dict(type="str", required=True, choices=["REQUIRED", "ALTERNATIVE", "DISABLED", "CONDITIONAL"]),
authenticationConfig=dict(