remove cache actions (#4015)
This commit is contained in:
@@ -228,7 +228,6 @@ workflow_definition:
|
||||
parameter_keys: []
|
||||
totp_identifier: null
|
||||
totp_verification_url: null
|
||||
cache_actions: false
|
||||
complete_criterion: ""
|
||||
terminate_criterion: ""
|
||||
include_action_history_in_verification: false
|
||||
@@ -242,7 +241,6 @@ workflow_definition:
|
||||
max_retries: 0
|
||||
max_steps_per_run: null
|
||||
parameter_keys: []
|
||||
cache_actions: false
|
||||
'
|
||||
"""
|
||||
CREATE_WORKFLOW_CODE_SAMPLE_PYTHON = """
|
||||
@@ -305,7 +303,6 @@ workflow_definition = {
|
||||
"parameter_keys": [],
|
||||
"totp_identifier": None,
|
||||
"totp_verification_url": None,
|
||||
"cache_actions": False,
|
||||
"complete_criterion": "",
|
||||
"terminate_criterion": "",
|
||||
"include_action_history_in_verification": False,
|
||||
@@ -321,7 +318,6 @@ workflow_definition = {
|
||||
"max_retries": 0,
|
||||
"max_steps_per_run": None,
|
||||
"parameter_keys": [],
|
||||
"cache_actions": False,
|
||||
},
|
||||
],
|
||||
},
|
||||
@@ -391,7 +387,6 @@ const workflowDefinition = {
|
||||
parameter_keys: [],
|
||||
totp_identifier: null,
|
||||
totp_verification_url: null,
|
||||
cache_actions: false,
|
||||
complete_criterion: "",
|
||||
terminate_criterion: "",
|
||||
include_action_history_in_verification: false
|
||||
@@ -407,7 +402,6 @@ const workflowDefinition = {
|
||||
max_retries: 0,
|
||||
max_steps_per_run: null,
|
||||
parameter_keys: [],
|
||||
cache_actions: false
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -484,7 +478,6 @@ workflow_definition:
|
||||
parameter_keys: []
|
||||
totp_identifier: null
|
||||
totp_verification_url: null
|
||||
cache_actions: false
|
||||
complete_criterion: ""
|
||||
terminate_criterion: ""
|
||||
include_action_history_in_verification: false
|
||||
@@ -498,7 +491,6 @@ workflow_definition:
|
||||
max_retries: 0
|
||||
max_steps_per_run: null
|
||||
parameter_keys: []
|
||||
cache_actions: false
|
||||
'
|
||||
"""
|
||||
UPDATE_WORKFLOW_CODE_SAMPLE_PYTHON = """
|
||||
@@ -560,7 +552,6 @@ updated_workflow_definition = {
|
||||
"parameter_keys": [],
|
||||
"totp_identifier": None,
|
||||
"totp_verification_url": None,
|
||||
"cache_actions": False,
|
||||
"complete_criterion": "",
|
||||
"terminate_criterion": "",
|
||||
"include_action_history_in_verification": False,
|
||||
@@ -576,7 +567,6 @@ updated_workflow_definition = {
|
||||
"max_retries": 0,
|
||||
"max_steps_per_run": None,
|
||||
"parameter_keys": [],
|
||||
"cache_actions": False,
|
||||
},
|
||||
],
|
||||
},
|
||||
@@ -645,7 +635,6 @@ const updatedWorkflowDefinition = {
|
||||
parameter_keys: [],
|
||||
totp_identifier: null,
|
||||
totp_verification_url: null,
|
||||
cache_actions: false,
|
||||
complete_criterion: "",
|
||||
terminate_criterion: "",
|
||||
include_action_history_in_verification: false
|
||||
@@ -660,8 +649,7 @@ const updatedWorkflowDefinition = {
|
||||
data_schema: null,
|
||||
max_retries: 0,
|
||||
max_steps_per_run: null,
|
||||
parameter_keys: [],
|
||||
cache_actions: false
|
||||
parameter_keys: []
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
@@ -458,7 +458,6 @@ class BaseTaskBlock(Block):
|
||||
download_suffix: str | None = None
|
||||
totp_verification_url: str | None = None
|
||||
totp_identifier: str | None = None
|
||||
cache_actions: bool = False
|
||||
complete_verification: bool = True
|
||||
include_action_history_in_verification: bool = False
|
||||
download_timeout: float | None = None # minutes
|
||||
|
||||
@@ -2870,7 +2870,6 @@ class WorkflowService:
|
||||
continue_on_failure=block_yaml.continue_on_failure,
|
||||
totp_verification_url=block_yaml.totp_verification_url,
|
||||
totp_identifier=block_yaml.totp_identifier,
|
||||
cache_actions=block_yaml.cache_actions,
|
||||
disable_cache=block_yaml.disable_cache,
|
||||
complete_criterion=block_yaml.complete_criterion,
|
||||
terminate_criterion=block_yaml.terminate_criterion,
|
||||
@@ -3050,7 +3049,6 @@ class WorkflowService:
|
||||
continue_on_failure=block_yaml.continue_on_failure,
|
||||
totp_verification_url=block_yaml.totp_verification_url,
|
||||
totp_identifier=block_yaml.totp_identifier,
|
||||
cache_actions=block_yaml.cache_actions,
|
||||
disable_cache=block_yaml.disable_cache,
|
||||
# DO NOT run complete verification for action block
|
||||
complete_verification=False,
|
||||
@@ -3080,7 +3078,6 @@ class WorkflowService:
|
||||
continue_on_failure=block_yaml.continue_on_failure,
|
||||
totp_verification_url=block_yaml.totp_verification_url,
|
||||
totp_identifier=block_yaml.totp_identifier,
|
||||
cache_actions=block_yaml.cache_actions,
|
||||
disable_cache=block_yaml.disable_cache,
|
||||
complete_criterion=block_yaml.complete_criterion,
|
||||
terminate_criterion=block_yaml.terminate_criterion,
|
||||
@@ -3122,7 +3119,6 @@ class WorkflowService:
|
||||
max_retries=block_yaml.max_retries,
|
||||
model=block_yaml.model,
|
||||
continue_on_failure=block_yaml.continue_on_failure,
|
||||
cache_actions=block_yaml.cache_actions,
|
||||
disable_cache=block_yaml.disable_cache,
|
||||
complete_verification=False,
|
||||
)
|
||||
@@ -3148,7 +3144,6 @@ class WorkflowService:
|
||||
continue_on_failure=block_yaml.continue_on_failure,
|
||||
totp_verification_url=block_yaml.totp_verification_url,
|
||||
totp_identifier=block_yaml.totp_identifier,
|
||||
cache_actions=block_yaml.cache_actions,
|
||||
disable_cache=block_yaml.disable_cache,
|
||||
complete_criterion=block_yaml.complete_criterion,
|
||||
terminate_criterion=block_yaml.terminate_criterion,
|
||||
@@ -3188,7 +3183,6 @@ class WorkflowService:
|
||||
continue_on_failure=block_yaml.continue_on_failure,
|
||||
totp_verification_url=block_yaml.totp_verification_url,
|
||||
totp_identifier=block_yaml.totp_identifier,
|
||||
cache_actions=block_yaml.cache_actions,
|
||||
disable_cache=block_yaml.disable_cache,
|
||||
complete_on_download=True,
|
||||
complete_verification=True,
|
||||
|
||||
Reference in New Issue
Block a user