tested 1pass backend and vars (#2690)

Co-authored-by: Shuchang Zheng <wintonzheng0325@gmail.com>
This commit is contained in:
Prakash Maheshwaran 2025-06-12 04:20:27 -04:00 committed by GitHub
parent b5bf9d291f
commit 9868750de3
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
15 changed files with 590 additions and 25 deletions

View file

@ -86,6 +86,12 @@ class BitwardenCreditCardDataParameterYAML(ParameterYAML):
bitwarden_item_id: str
class OnePasswordCredentialParameterYAML(ParameterYAML):
parameter_type: Literal[ParameterType.ONEPASSWORD] = ParameterType.ONEPASSWORD # type: ignore
vault_id: str
item_id: str
class WorkflowParameterYAML(ParameterYAML):
# There is a mypy bug with Literal. Without the type: ignore, mypy will raise an error:
# Parameter 1 of Literal[...] cannot be of type "Any"
@ -370,6 +376,7 @@ PARAMETER_YAML_SUBCLASSES = (
| BitwardenLoginCredentialParameterYAML
| BitwardenSensitiveInformationParameterYAML
| BitwardenCreditCardDataParameterYAML
| OnePasswordCredentialParameterYAML
| WorkflowParameterYAML
| ContextParameterYAML
| OutputParameterYAML