mirror of
https://github.com/Skyvern-AI/skyvern.git
synced 2025-09-16 10:19:42 +00:00
add wati block (#1254)
This commit is contained in:
parent
303153b305
commit
284fba0aba
5 changed files with 60 additions and 0 deletions
|
@ -278,6 +278,11 @@ class LoginBlockYAML(BlockYAML):
|
|||
cache_actions: bool = False
|
||||
|
||||
|
||||
class WaitBlockYAML(BlockYAML):
|
||||
block_type: Literal[BlockType.WAIT] = BlockType.WAIT # type: ignore
|
||||
wait_sec: int = 0
|
||||
|
||||
|
||||
PARAMETER_YAML_SUBCLASSES = (
|
||||
AWSSecretParameterYAML
|
||||
| BitwardenLoginCredentialParameterYAML
|
||||
|
@ -303,6 +308,7 @@ BLOCK_YAML_SUBCLASSES = (
|
|||
| NavigationBlockYAML
|
||||
| ExtractionBlockYAML
|
||||
| LoginBlockYAML
|
||||
| WaitBlockYAML
|
||||
)
|
||||
BLOCK_YAML_TYPES = Annotated[BLOCK_YAML_SUBCLASSES, Field(discriminator="block_type")]
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue