IntPort class representing input port
Attributes
name: str
Functions
Initialize self. See help(type(self)) for accurate signature.
Parameters:
Name | Type | Default value | Description |
---|---|---|---|
name | str | ||
_resource_spec | IOSpec |
Return type:
Type |
Parameters:
Name | Type | Default value | Description |
---|---|---|---|
new_instance | bool | False |
Return type:
Resource |
Return type:
Optional |
Return type:
Optional |
Sets the resource of the port.
Parameters:
Name | Type | Default value | Description |
---|---|---|---|
resource_type | Type |
Return type:
bool |
Parameters:
Name | Type | Default value | Description |
---|---|---|---|
resource_model | Optional |
Sets the resource of the port.
Parameters:
Name | Type | Default value | Description |
---|---|---|---|
resource_id | Optional |
Return type:
PortDTO |
Returns the name of the class
Parameters:
Name | Type | Default value | Description |
---|---|---|---|
slugify | bool | False | True to slugify the class name if true, defaults to false , optional |
snakefy | bool | False | True to snakefy the class name if true, defaults to false , optional |
replace_uppercase | bool | False | Replace upper cases by "-" if true, defaults to false , optional |
Return type:
str |
Parameters:
Name | Type | Default value | Description |
---|---|---|---|
decorator_name | Any |
Returns the full name of the class
Parameters:
Name | Type | Default value | Description |
---|---|---|---|
slugify | bool | False | Slugify the returned class name if true, defaults to false , optional |
snakefy | bool | False | Snakefy the returned class name if true, defaults to false `` |
Return type:
str |
Get all the classes that inherit this class
Return type:
List |
Parameters:
Name | Type | Default value | Description |
---|---|---|---|
dto | PortDTO | ||
name | str |
Return type:
PortType |
Returns the list of the methods
Return type:
List |
Returns the module name of the class
Return type:
str |
Retrieves the property names
Parameters:
Name | Type | Default value | Description |
---|---|---|---|
instance | type | The s of the properties to retrieve. set `none` to retrieve all. `type` or `union[type]` | |
exclude | type |
Return type:
List |