core
core ¶
Defines inputs
ArrayInput
pydantic-model
¶
Bases: Input
Show JSON schema:
{
"$defs": {
"ScalarInput": {
"additionalProperties": true,
"description": "Defines a numeric input. Behaves as a numeric value per \nthe [emulating numeric types](https://docs.python.org/3/reference/datamodel.html#object.__int__)\ndocumentation.\n\nAttributes:\n name (str): Name of the input\n value (float|int|bool): Scalar input value",
"properties": {
"name": {
"title": "Name",
"type": "string"
},
"value": {
"anyOf": [
{
"type": "number"
},
{
"type": "integer"
},
{
"type": "boolean"
}
],
"title": "Value"
}
},
"required": [
"name",
"value"
],
"title": "ScalarInput",
"type": "object"
}
},
"additionalProperties": true,
"description": " ",
"properties": {
"name": {
"title": "Name",
"type": "string"
},
"value": {
"dtype": "process_manager.inputs.core.ScalarInput",
"items": {
"$ref": "#/$defs/ScalarInput"
},
"title": "Value",
"type": "array"
}
},
"required": [
"name",
"value"
],
"title": "ArrayInput",
"type": "object"
}
Fields:
-
value
(NDArray[Shape['*'], ScalarInput]
)
Input
pydantic-model
¶
Inputs
pydantic-model
¶
Bases: BaseModel
Contains inputs
Show JSON schema:
{
"$defs": {
"Input": {
"additionalProperties": true,
"description": "Base class for `process_manager` inputs\n\nAttributes:\n name (str): Name of the input",
"properties": {
"name": {
"title": "Name",
"type": "string"
}
},
"required": [
"name"
],
"title": "Input",
"type": "object"
}
},
"description": "Contains inputs",
"properties": {
"inputs": {
"items": {
"$ref": "#/$defs/Input"
},
"title": "Inputs",
"type": "array"
}
},
"required": [
"inputs"
],
"title": "Inputs",
"type": "object"
}
Fields:
ScalarInput
pydantic-model
¶
Bases: Input
Defines a numeric input. Behaves as a numeric value per the emulating numeric types documentation.
Attributes:
Name | Type | Description |
---|---|---|
name |
str
|
Name of the input |
value |
float | int | bool
|
Scalar input value |
Show JSON schema:
{
"additionalProperties": true,
"description": "Defines a numeric input. Behaves as a numeric value per \nthe [emulating numeric types](https://docs.python.org/3/reference/datamodel.html#object.__int__)\ndocumentation.\n\nAttributes:\n name (str): Name of the input\n value (float|int|bool): Scalar input value",
"properties": {
"name": {
"title": "Name",
"type": "string"
},
"value": {
"anyOf": [
{
"type": "number"
},
{
"type": "integer"
},
{
"type": "boolean"
}
],
"title": "Value"
}
},
"required": [
"name",
"value"
],
"title": "ScalarInput",
"type": "object"
}
Config:
arbitrary_types_allowed
:True
extra
:'allow'
Fields:
__abs__ ¶
__add__ ¶
__and__ ¶
__divmod__ ¶
__floordiv__ ¶
__iadd__ ¶
__iand__ ¶
__ifloordiv__ ¶
__ilshift__ ¶
__imatmul__ ¶
__imod__ ¶
__imul__ ¶
__invert__ ¶
__ior__ ¶
__irshift__ ¶
__isub__ ¶
__itruediv__ ¶
__ixor__ ¶
__lshift__ ¶
__lshift__(other: int | ScalarInput)
__matmul__ ¶
__mod__ ¶
__mul__ ¶
__neg__ ¶
__or__ ¶
__pos__ ¶
__pow__ ¶
__pow__(other, modulo: int | ScalarInput | None = None)
__radd__ ¶
__rand__ ¶
__rdivmod__ ¶
__rfloordiv__ ¶
__rlshift__ ¶
__rmatmul__ ¶
__rmod__ ¶
__rmul__ ¶
__ror__ ¶
__rpow__ ¶
__rpow__(other, modulo: int | ScalarInput | None = None)