tisserande.models
Submodules
Classes
Array response model. |
|
Fields used to create an Array. |
|
Class response model. |
|
Fields used to create a Class. |
|
ConfigDictType response model. |
|
Fields used to create a ConfigDictType. |
|
ConfigFileType response model. |
|
Fields used to create a ConfigFileType. |
|
DataFileType response model. |
|
Fields used to create a DataFileType. |
|
Parameter response model. |
|
Fields used to create a Parameter. |
|
Edge response model. |
|
Fields used to create an Edge. |
|
Execution response model. |
|
Fields used to create an Execution. |
|
MemberFunction response model. |
|
Fields used to create a MemberFunction. |
|
PythonFunction response model. |
|
Fields used to create a PythonFunction. |
|
ShellFunction response model. |
|
Fields used to create a ShellFunction. |
|
ArrayNode response model. |
|
Fields used to create an ArrayNode. |
|
ConfigDictNode response model. |
|
Fields used to create a ConfigDictNode. |
|
ConfigFileNode response model. |
|
Fields used to create a ConfigFileNode. |
|
DataFileNode response model. |
|
Fields used to create a DataFileNode. |
|
MemberFunctionNode response model. |
|
Fields used to create a MemberFunctionNode. |
|
Node response model. |
|
Generic node creation model. |
|
ObjectNode response model. |
|
Fields used to create an ObjectNode. |
|
ParameterNode response model. |
|
Fields used to create a ParameterNode. |
|
PythonFunctionNode response model. |
|
Fields used to create a PythonFunctionNode. |
|
ShellFunctionNode response model. |
|
Fields used to create a ShellFunctionNode. |
|
Create a collection of name/value pairs. |
|
Create a collection of name/value pairs. |
Package Contents
- class tisserande.models.Array(/, **data: Any)[source]
Bases:
ArrayBaseArray response model.
- model_config
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class tisserande.models.ArrayCreate(/, **data: Any)[source]
Bases:
ArrayBaseFields used to create an Array.
- class tisserande.models.Class(/, **data: Any)[source]
Bases:
ClassBaseClass response model.
- model_config
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class tisserande.models.ClassCreate(/, **data: Any)[source]
Bases:
ClassBaseFields used to create a Class.
- class tisserande.models.ConfigDictType(/, **data: Any)[source]
Bases:
ConfigDictTypeBaseConfigDictType response model.
- model_config
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class tisserande.models.ConfigDictTypeCreate(/, **data: Any)[source]
Bases:
ConfigDictTypeBaseFields used to create a ConfigDictType.
- class tisserande.models.ConfigFileType(/, **data: Any)[source]
Bases:
ConfigFileTypeBaseConfigFileType response model.
- model_config
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class tisserande.models.ConfigFileTypeCreate(/, **data: Any)[source]
Bases:
ConfigFileTypeBaseFields used to create a ConfigFileType.
- class tisserande.models.DataFileType(/, **data: Any)[source]
Bases:
DataFileTypeBaseDataFileType response model.
- model_config
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class tisserande.models.DataFileTypeCreate(/, **data: Any)[source]
Bases:
DataFileTypeBaseFields used to create a DataFileType.
- class tisserande.models.Parameter(/, **data: Any)[source]
Bases:
ParameterBaseParameter response model.
- model_config
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class tisserande.models.ParameterCreate(/, **data: Any)[source]
Bases:
ParameterBaseFields used to create a Parameter.
- class tisserande.models.Edge(/, **data: Any)[source]
Bases:
EdgeBaseEdge response model.
- model_config
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class tisserande.models.EdgeCreate(/, **data: Any)[source]
Bases:
EdgeBaseFields used to create an Edge.
- class tisserande.models.Execution(/, **data: Any)[source]
Bases:
ExecutionBaseExecution response model.
- model_config
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class tisserande.models.ExecutionCreate(/, **data: Any)[source]
Bases:
ExecutionBaseFields used to create an Execution.
- class tisserande.models.MemberFunction(/, **data: Any)[source]
Bases:
MemberFunctionBaseMemberFunction response model.
- model_config
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class tisserande.models.MemberFunctionCreate(/, **data: Any)[source]
Bases:
MemberFunctionBaseFields used to create a MemberFunction.
- class tisserande.models.PythonFunction(/, **data: Any)[source]
Bases:
PythonFunctionBasePythonFunction response model.
- model_config
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class tisserande.models.PythonFunctionCreate(/, **data: Any)[source]
Bases:
PythonFunctionBaseFields used to create a PythonFunction.
- class tisserande.models.ShellFunction(/, **data: Any)[source]
Bases:
ShellFunctionBaseShellFunction response model.
- model_config
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class tisserande.models.ShellFunctionCreate(/, **data: Any)[source]
Bases:
ShellFunctionBaseFields used to create a ShellFunction.
- class tisserande.models.ArrayNode(/, **data: Any)[source]
Bases:
ArrayNodeBaseArrayNode response model.
- model_config
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class tisserande.models.ArrayNodeCreate(/, **data: Any)[source]
Bases:
ArrayNodeBaseFields used to create an ArrayNode.
- class tisserande.models.ConfigDictNode(/, **data: Any)[source]
Bases:
ConfigDictNodeBaseConfigDictNode response model.
- model_config
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class tisserande.models.ConfigDictNodeCreate(/, **data: Any)[source]
Bases:
ConfigDictNodeBaseFields used to create a ConfigDictNode.
- class tisserande.models.ConfigFileNode(/, **data: Any)[source]
Bases:
ConfigFileNodeBaseConfigFileNode response model.
- model_config
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class tisserande.models.ConfigFileNodeCreate(/, **data: Any)[source]
Bases:
ConfigFileNodeBaseFields used to create a ConfigFileNode.
- class tisserande.models.DataFileNode(/, **data: Any)[source]
Bases:
DataFileNodeBaseDataFileNode response model.
- model_config
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class tisserande.models.DataFileNodeCreate(/, **data: Any)[source]
Bases:
DataFileNodeBaseFields used to create a DataFileNode.
- class tisserande.models.MemberFunctionNode(/, **data: Any)[source]
Bases:
MemberFunctionNodeBaseMemberFunctionNode response model.
- model_config
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class tisserande.models.MemberFunctionNodeCreate(/, **data: Any)[source]
Bases:
MemberFunctionNodeBaseFields used to create a MemberFunctionNode.
- class tisserande.models.Node(/, **data: Any)[source]
Bases:
NodeBaseNode response model.
- model_config
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class tisserande.models.NodeCreate(/, **data: Any)[source]
Bases:
NodeBaseGeneric node creation model.
- class tisserande.models.ObjectNode(/, **data: Any)[source]
Bases:
ObjectNodeBaseObjectNode response model.
- model_config
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class tisserande.models.ObjectNodeCreate(/, **data: Any)[source]
Bases:
ObjectNodeBaseFields used to create an ObjectNode.
- class tisserande.models.ParameterNode(/, **data: Any)[source]
Bases:
ParameterNodeBaseParameterNode response model.
- model_config
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class tisserande.models.ParameterNodeCreate(/, **data: Any)[source]
Bases:
ParameterNodeBaseFields used to create a ParameterNode.
- class tisserande.models.PythonFunctionNode(/, **data: Any)[source]
Bases:
PythonFunctionNodeBasePythonFunctionNode response model.
- model_config
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class tisserande.models.PythonFunctionNodeCreate(/, **data: Any)[source]
Bases:
PythonFunctionNodeBaseFields used to create a PythonFunctionNode.
- class tisserande.models.ShellFunctionNode(/, **data: Any)[source]
Bases:
ShellFunctionNodeBaseShellFunctionNode response model.
- model_config
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class tisserande.models.ShellFunctionNodeCreate(/, **data: Any)[source]
Bases:
ShellFunctionNodeBaseFields used to create a ShellFunctionNode.
- class tisserande.models.ExecutionStatus(*args, **kwds)[source]
Bases:
enum.EnumCreate a collection of name/value pairs.
Example enumeration:
>>> class Color(Enum): ... RED = 1 ... BLUE = 2 ... GREEN = 3
Access them by:
attribute access:
>>> Color.RED <Color.RED: 1>
value lookup:
>>> Color(1) <Color.RED: 1>
name lookup:
>>> Color['RED'] <Color.RED: 1>
Enumerations can be iterated over, and know how many members they have:
>>> len(Color) 3
>>> list(Color) [<Color.RED: 1>, <Color.BLUE: 2>, <Color.GREEN: 3>]
Methods can be added to enumerations, and members can have their own attributes – see the documentation for details.
- PENDING = 'pending'
- RUNNING = 'running'
- SUCCESS = 'success'
- FAILURE = 'failure'
- class tisserande.models.NodeType(*args, **kwds)[source]
Bases:
enum.EnumCreate a collection of name/value pairs.
Example enumeration:
>>> class Color(Enum): ... RED = 1 ... BLUE = 2 ... GREEN = 3
Access them by:
attribute access:
>>> Color.RED <Color.RED: 1>
value lookup:
>>> Color(1) <Color.RED: 1>
name lookup:
>>> Color['RED'] <Color.RED: 1>
Enumerations can be iterated over, and know how many members they have:
>>> len(Color) 3
>>> list(Color) [<Color.RED: 1>, <Color.BLUE: 2>, <Color.GREEN: 3>]
Methods can be added to enumerations, and members can have their own attributes – see the documentation for details.
- DATA_FILE = 'data_file'
- CONFIG_FILE = 'config_file'
- CONFIG_DICT = 'config_dict'
- PARAMETER = 'parameter'
- ARRAY = 'array'
- OBJECT = 'object'
- PYTHON_FUNCTION = 'python_function'
- MEMBER_FUNCTION = 'member_function'
- SHELL_FUNCTION = 'shell_function'