Back to bricks list
Introduction
Getting Started
Developer guide
Release
Architecture
CLI
Technical documentations
Version

InPort

IntPort class representing input port

Attributes
name: str
Functions
__INIT__

Initialize self. See help(type(self)) for accurate signature.

Name : str
spec : IOSpecDTO
GET_DEFAULT_RESOURCE_TYPE
Return type : Type
GET_HUMAN_NAME
Return type : str
GET_RESOURCE
new_instance : bool - False
Return type : Resource
GET_RESOURCE_MODEL
Return type : Optional
GET_RESOURCE_MODEL_ID
Return type : Optional
RESET
RESOURCE_TYPE_IS_COMPATIBLE

Sets the resource of the port.

resource_type : Type
Return type : bool
SET_RESOURCE_MODEL
resource_model : Optional
SET_RESOURCE_MODEL_ID

Sets the resource of the port.

resource_id : Optional
TO_DTO
Return type : PortDTO
CLASSNAME - @classmethod

Returns the name of the class

slugify : bool - False
True to slugify the class name if True
snakefy : bool - False
True to snakefy the class name if True
replace_uppercase : bool - False
Replace upper cases by "-" if True
Return type : str
FULL_CLASSNAME - @classmethod

Returns the full name of the class

slugify : bool - False
Slugify the returned class name if True
snakefy : bool - False
Snakefy the returned class name if True
Return type : str
INHERITORS - @classmethod

Get all the classes that inherit this class

Return type : List
LOAD_FROM_DTO - @classmethod
dto : PortDTO
Name : str
Return type : PortType