Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Browse files
ARIA-349 get_attribute is not calculated at runtime
  • Loading branch information
mxmrlv committed Aug 15, 2017
1 parent df2b916 commit 8981791a10f91cb4f99ff8c01fd6b130b470ffae
Showing 2 changed files with 6 additions and 2 deletions.
@@ -185,7 +185,7 @@ def resume(execution_id,
logger.info("Can't resume execution {execution.id} - "
"execution is in status {execution.status}. "
"Can only resume executions in status {valid_status}"
.format(execution=execution, valid_status=execution.status.CANCELLED))
.format(execution=execution, valid_status=execution.CANCELLED))
return

workflow_runner = \
@@ -131,7 +131,11 @@ def merge_parameter_values(provided_values, declared_parameters, model_cls=None)
value=value)
else:
# Copy default value from declaration
model_parameters[declared_parameter_name] = model_cls(**declared_parameter.as_raw)
model_parameters[declared_parameter_name] = model_cls(
value=declared_parameter._value,
name=declared_parameter.name,
type_name=declared_parameter.type_name,
description=declared_parameter.description)

if provided_values_of_wrong_type:
error_message = StringIO()

0 comments on commit 8981791

Please sign in to comment.