parse yaml criterion to block (#1383)

This commit is contained in:
LawyZheng 2024-12-13 16:54:48 +08:00 committed by GitHub
parent 01c28e9a4d
commit 31c19938ff
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 12 additions and 0 deletions

View file

@ -131,6 +131,8 @@ class TaskBlockYAML(BlockYAML):
totp_verification_url: str | None = None
totp_identifier: str | None = None
cache_actions: bool = False
complete_criterion: str | None = None
terminate_criterion: str | None = None
class ForLoopBlockYAML(BlockYAML):
@ -253,6 +255,8 @@ class NavigationBlockYAML(BlockYAML):
totp_verification_url: str | None = None
totp_identifier: str | None = None
cache_actions: bool = False
complete_criterion: str | None = None
terminate_criterion: str | None = None
class ExtractionBlockYAML(BlockYAML):
@ -281,6 +285,8 @@ class LoginBlockYAML(BlockYAML):
totp_verification_url: str | None = None
totp_identifier: str | None = None
cache_actions: bool = False
complete_criterion: str | None = None
terminate_criterion: str | None = None
class WaitBlockYAML(BlockYAML):