Skip to content

Commit

Permalink
Use composite type whenever possible
Browse files Browse the repository at this point in the history
  • Loading branch information
chrismeyersfsu committed Nov 20, 2024
1 parent 5b4a72f commit 1a7611e
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions _type_stubs/awx/main/models/credential.pyi
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
from typing import Callable

from awx_plugins.interfaces._temporary_private_api import ( # noqa: WPS436
from awx_plugins.interfaces._temporary_private_credential_api import ( # noqa: WPS436
Credential,
GenericOptionalPrimitiveType,
)


Expand All @@ -14,5 +15,5 @@ class ManagedCredentialType:
inputs: dict[str, list[dict[str, bool | str] | str]],
injectors: dict[str, dict[str, str]] | None = None,
managed: bool = False,
custom_injector: Callable[[Credential, dict[str, bool | str | int | float | None], str], str | None] | None = None,
custom_injector: Callable[[Credential, dict[str, GenericOptionalPrimitiveType], str], str | None] | None = None,
): ...

0 comments on commit 1a7611e

Please sign in to comment.