Login
Back to bricks list
Introduction Version

DynamicOutputs

Attributes

additionnal_port_spec: OutputSpec

Functions

__INIT__
Parameters:
NameTypeDefault valueDescription
default_specsDict Default specs used when creating the outputs, defaults to none [str, outputspec], optional
additionnal_port_specOutputSpec Force the type of newly created port, defaults to resource type[resource], optional
CHECK_AND_BUILD_OUTPUTS

Method that check if the task outputs

:raises InvalidOutputException: raised if the output are invalid

Parameters:
NameTypeDefault valueDescription
task_outputsDict Outputs to check taskoutputs
Return type:
OutputsCheckResult
GET_ADDITIONAL_INFO
Return type:
dict
GET_DEFAULT_SPEC
Return type:
OutputSpec
GET_FIRST_SPEC
Return type:
IOSpec
GET_SPEC
Parameters:
NameTypeDefault valueDescription
namestr
Return type:
IOSpec
GET_SPECS
Return type:
Dict
GET_TYPE
Return type:
Literal
HAS_SPEC
Parameters:
NameTypeDefault valueDescription
namestr
Return type:
bool
SET_ADDITIONAL_INFO
Parameters:
NameTypeDefault valueDescription
additional_infodict
TO_DTO
Return type:
IOSpecsDTO
FROM_DTO - @classmethod
Parameters:
NameTypeDefault valueDescription
io_specsDict
additional_infodict
Return type:
DynamicOutputs