syrtis-python-orm 4.0.1__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- syrtis_python_orm/__init__.py +7 -0
- syrtis_python_orm/common/__init__.py +0 -0
- syrtis_python_orm/common/generated_entities.py +117 -0
- syrtis_python_orm/common/generated_repositories.py +137 -0
- syrtis_python_orm/common/orm_repositories_manager.py +24 -0
- syrtis_python_orm/data/__init__.py +0 -0
- syrtis_python_orm/data/entity/__init__.py +0 -0
- syrtis_python_orm/data/entity/artifact.json +261 -0
- syrtis_python_orm/data/entity/card.json +468 -0
- syrtis_python_orm/data/entity/card_message.json +139 -0
- syrtis_python_orm/data/entity/card_relation.json +163 -0
- syrtis_python_orm/data/entity/chunk.json +219 -0
- syrtis_python_orm/data/entity/content_type.json +235 -0
- syrtis_python_orm/data/entity/credential.json +175 -0
- syrtis_python_orm/data/entity/credential_parameter.json +166 -0
- syrtis_python_orm/data/entity/dashboard.json +213 -0
- syrtis_python_orm/data/entity/directory.json +125 -0
- syrtis_python_orm/data/entity/document.json +321 -0
- syrtis_python_orm/data/entity/document_directory.json +139 -0
- syrtis_python_orm/data/entity/embedding.json +192 -0
- syrtis_python_orm/data/entity/environment.json +90 -0
- syrtis_python_orm/data/entity/extension.json +203 -0
- syrtis_python_orm/data/entity/instruction.json +211 -0
- syrtis_python_orm/data/entity/job.json +317 -0
- syrtis_python_orm/data/entity/layer.json +96 -0
- syrtis_python_orm/data/entity/log.json +642 -0
- syrtis_python_orm/data/entity/message.json +623 -0
- syrtis_python_orm/data/entity/message_stamp.json +140 -0
- syrtis_python_orm/data/entity/model.json +226 -0
- syrtis_python_orm/data/entity/node.json +90 -0
- syrtis_python_orm/data/entity/operator.json +149 -0
- syrtis_python_orm/data/entity/operator_port.json +220 -0
- syrtis_python_orm/data/entity/panel.json +450 -0
- syrtis_python_orm/data/entity/panel_stamp.json +116 -0
- syrtis_python_orm/data/entity/pipeline.json +357 -0
- syrtis_python_orm/data/entity/pipeline_operator.json +28 -0
- syrtis_python_orm/data/entity/pipeline_projection.json +163 -0
- syrtis_python_orm/data/entity/project.json +213 -0
- syrtis_python_orm/data/entity/project_access.json +161 -0
- syrtis_python_orm/data/entity/projection.json +349 -0
- syrtis_python_orm/data/entity/projection_config.json +237 -0
- syrtis_python_orm/data/entity/projection_relation.json +261 -0
- syrtis_python_orm/data/entity/prompt.json +495 -0
- syrtis_python_orm/data/entity/request.json +495 -0
- syrtis_python_orm/data/entity/scenario.json +461 -0
- syrtis_python_orm/data/entity/schema.json +63 -0
- syrtis_python_orm/data/entity/session.json +364 -0
- syrtis_python_orm/data/entity/session_group.json +196 -0
- syrtis_python_orm/data/entity/slot.json +407 -0
- syrtis_python_orm/data/entity/slot_config.json +164 -0
- syrtis_python_orm/data/entity/slot_message.json +536 -0
- syrtis_python_orm/data/entity/slot_message_stamp.json +120 -0
- syrtis_python_orm/data/entity/slot_relation.json +191 -0
- syrtis_python_orm/data/entity/source.json +187 -0
- syrtis_python_orm/data/entity/storage.json +140 -0
- syrtis_python_orm/data/entity/storage_content_type.json +139 -0
- syrtis_python_orm/data/entity/template.json +188 -0
- syrtis_python_orm/data/entity/timezone.json +66 -0
- syrtis_python_orm/data/entity/token.json +116 -0
- syrtis_python_orm/data/entity/trigger.json +90 -0
- syrtis_python_orm/data/entity/trigger_config.json +138 -0
- syrtis_python_orm/data/entity/user.json +268 -0
- syrtis_python_orm/data/entity/user_config.json +193 -0
- syrtis_python_orm/entity/__init__.py +0 -0
- syrtis_python_orm/entity/artifact.py +11 -0
- syrtis_python_orm/entity/card.py +11 -0
- syrtis_python_orm/entity/card_message.py +13 -0
- syrtis_python_orm/entity/card_relation.py +13 -0
- syrtis_python_orm/entity/chunk.py +11 -0
- syrtis_python_orm/entity/content_type.py +13 -0
- syrtis_python_orm/entity/credential.py +11 -0
- syrtis_python_orm/entity/credential_parameter.py +13 -0
- syrtis_python_orm/entity/dashboard.py +11 -0
- syrtis_python_orm/entity/directory.py +11 -0
- syrtis_python_orm/entity/document.py +11 -0
- syrtis_python_orm/entity/document_directory.py +13 -0
- syrtis_python_orm/entity/embedding.py +11 -0
- syrtis_python_orm/entity/environment.py +13 -0
- syrtis_python_orm/entity/extension.py +11 -0
- syrtis_python_orm/entity/generated/__init__.py +0 -0
- syrtis_python_orm/entity/generated/artifact_generated.py +39 -0
- syrtis_python_orm/entity/generated/card_generated.py +48 -0
- syrtis_python_orm/entity/generated/card_message_generated.py +23 -0
- syrtis_python_orm/entity/generated/card_relation_generated.py +27 -0
- syrtis_python_orm/entity/generated/chunk_generated.py +30 -0
- syrtis_python_orm/entity/generated/content_type_generated.py +36 -0
- syrtis_python_orm/entity/generated/credential_generated.py +23 -0
- syrtis_python_orm/entity/generated/credential_parameter_generated.py +27 -0
- syrtis_python_orm/entity/generated/dashboard_generated.py +33 -0
- syrtis_python_orm/entity/generated/directory_generated.py +17 -0
- syrtis_python_orm/entity/generated/document_directory_generated.py +23 -0
- syrtis_python_orm/entity/generated/document_generated.py +42 -0
- syrtis_python_orm/entity/generated/embedding_generated.py +30 -0
- syrtis_python_orm/entity/generated/environment_generated.py +17 -0
- syrtis_python_orm/entity/generated/extension_generated.py +29 -0
- syrtis_python_orm/entity/generated/instruction_generated.py +33 -0
- syrtis_python_orm/entity/generated/job_generated.py +42 -0
- syrtis_python_orm/entity/generated/layer_generated.py +17 -0
- syrtis_python_orm/entity/generated/log_generated.py +84 -0
- syrtis_python_orm/entity/generated/message_generated.py +78 -0
- syrtis_python_orm/entity/generated/message_stamp_generated.py +24 -0
- syrtis_python_orm/entity/generated/model_generated.py +32 -0
- syrtis_python_orm/entity/generated/node_generated.py +17 -0
- syrtis_python_orm/entity/generated/operator_generated.py +20 -0
- syrtis_python_orm/entity/generated/operator_port_generated.py +30 -0
- syrtis_python_orm/entity/generated/panel_generated.py +57 -0
- syrtis_python_orm/entity/generated/panel_stamp_generated.py +21 -0
- syrtis_python_orm/entity/generated/pipeline_generated.py +45 -0
- syrtis_python_orm/entity/generated/pipeline_operator_generated.py +7 -0
- syrtis_python_orm/entity/generated/pipeline_projection_generated.py +27 -0
- syrtis_python_orm/entity/generated/project_access_generated.py +27 -0
- syrtis_python_orm/entity/generated/project_generated.py +33 -0
- syrtis_python_orm/entity/generated/projection_config_generated.py +36 -0
- syrtis_python_orm/entity/generated/projection_generated.py +33 -0
- syrtis_python_orm/entity/generated/projection_relation_generated.py +39 -0
- syrtis_python_orm/entity/generated/prompt_generated.py +66 -0
- syrtis_python_orm/entity/generated/request_generated.py +60 -0
- syrtis_python_orm/entity/generated/scenario_generated.py +57 -0
- syrtis_python_orm/entity/generated/schema_generated.py +14 -0
- syrtis_python_orm/entity/generated/session_generated.py +45 -0
- syrtis_python_orm/entity/generated/session_group_generated.py +27 -0
- syrtis_python_orm/entity/generated/slot_config_generated.py +27 -0
- syrtis_python_orm/entity/generated/slot_generated.py +39 -0
- syrtis_python_orm/entity/generated/slot_message_generated.py +66 -0
- syrtis_python_orm/entity/generated/slot_message_stamp_generated.py +21 -0
- syrtis_python_orm/entity/generated/slot_relation_generated.py +30 -0
- syrtis_python_orm/entity/generated/source_generated.py +30 -0
- syrtis_python_orm/entity/generated/storage_content_type_generated.py +23 -0
- syrtis_python_orm/entity/generated/storage_generated.py +24 -0
- syrtis_python_orm/entity/generated/template_generated.py +30 -0
- syrtis_python_orm/entity/generated/timezone_generated.py +14 -0
- syrtis_python_orm/entity/generated/token_generated.py +21 -0
- syrtis_python_orm/entity/generated/trigger_config_generated.py +23 -0
- syrtis_python_orm/entity/generated/trigger_generated.py +17 -0
- syrtis_python_orm/entity/generated/user_config_generated.py +30 -0
- syrtis_python_orm/entity/generated/user_generated.py +38 -0
- syrtis_python_orm/entity/instruction.py +13 -0
- syrtis_python_orm/entity/job.py +11 -0
- syrtis_python_orm/entity/layer.py +11 -0
- syrtis_python_orm/entity/log.py +11 -0
- syrtis_python_orm/entity/message.py +11 -0
- syrtis_python_orm/entity/message_stamp.py +13 -0
- syrtis_python_orm/entity/model.py +11 -0
- syrtis_python_orm/entity/node.py +11 -0
- syrtis_python_orm/entity/operator.py +11 -0
- syrtis_python_orm/entity/operator_port.py +26 -0
- syrtis_python_orm/entity/panel.py +11 -0
- syrtis_python_orm/entity/panel_stamp.py +11 -0
- syrtis_python_orm/entity/pipeline.py +11 -0
- syrtis_python_orm/entity/pipeline_operator.py +13 -0
- syrtis_python_orm/entity/pipeline_projection.py +13 -0
- syrtis_python_orm/entity/project.py +11 -0
- syrtis_python_orm/entity/project_access.py +13 -0
- syrtis_python_orm/entity/projection.py +11 -0
- syrtis_python_orm/entity/projection_config.py +13 -0
- syrtis_python_orm/entity/projection_relation.py +13 -0
- syrtis_python_orm/entity/prompt.py +11 -0
- syrtis_python_orm/entity/request.py +11 -0
- syrtis_python_orm/entity/scenario.py +11 -0
- syrtis_python_orm/entity/schema.py +11 -0
- syrtis_python_orm/entity/session.py +11 -0
- syrtis_python_orm/entity/session_group.py +13 -0
- syrtis_python_orm/entity/slot.py +11 -0
- syrtis_python_orm/entity/slot_config.py +11 -0
- syrtis_python_orm/entity/slot_message.py +13 -0
- syrtis_python_orm/entity/slot_message_stamp.py +13 -0
- syrtis_python_orm/entity/slot_relation.py +13 -0
- syrtis_python_orm/entity/source.py +11 -0
- syrtis_python_orm/entity/storage.py +11 -0
- syrtis_python_orm/entity/storage_content_type.py +13 -0
- syrtis_python_orm/entity/template.py +11 -0
- syrtis_python_orm/entity/timezone.py +11 -0
- syrtis_python_orm/entity/token.py +11 -0
- syrtis_python_orm/entity/trigger.py +11 -0
- syrtis_python_orm/entity/trigger_config.py +13 -0
- syrtis_python_orm/entity/user.py +11 -0
- syrtis_python_orm/entity/user_config.py +11 -0
- syrtis_python_orm/py.typed +0 -0
- syrtis_python_orm/repository/__init__.py +0 -0
- syrtis_python_orm/repository/artifact_repository.py +18 -0
- syrtis_python_orm/repository/card_message_repository.py +11 -0
- syrtis_python_orm/repository/card_relation_repository.py +11 -0
- syrtis_python_orm/repository/card_repository.py +11 -0
- syrtis_python_orm/repository/chunk_repository.py +11 -0
- syrtis_python_orm/repository/content_type_repository.py +11 -0
- syrtis_python_orm/repository/credential_parameter_repository.py +11 -0
- syrtis_python_orm/repository/credential_repository.py +11 -0
- syrtis_python_orm/repository/dashboard_repository.py +11 -0
- syrtis_python_orm/repository/directory_repository.py +11 -0
- syrtis_python_orm/repository/document_directory_repository.py +11 -0
- syrtis_python_orm/repository/document_repository.py +11 -0
- syrtis_python_orm/repository/embedding_repository.py +11 -0
- syrtis_python_orm/repository/environment_repository.py +11 -0
- syrtis_python_orm/repository/extension_repository.py +11 -0
- syrtis_python_orm/repository/generated/__init__.py +0 -0
- syrtis_python_orm/repository/generated/artifact_repository_generated.py +11 -0
- syrtis_python_orm/repository/generated/card_message_repository_generated.py +11 -0
- syrtis_python_orm/repository/generated/card_relation_repository_generated.py +11 -0
- syrtis_python_orm/repository/generated/card_repository_generated.py +11 -0
- syrtis_python_orm/repository/generated/chunk_repository_generated.py +11 -0
- syrtis_python_orm/repository/generated/content_type_repository_generated.py +11 -0
- syrtis_python_orm/repository/generated/credential_parameter_repository_generated.py +11 -0
- syrtis_python_orm/repository/generated/credential_repository_generated.py +11 -0
- syrtis_python_orm/repository/generated/dashboard_repository_generated.py +11 -0
- syrtis_python_orm/repository/generated/directory_repository_generated.py +11 -0
- syrtis_python_orm/repository/generated/document_directory_repository_generated.py +11 -0
- syrtis_python_orm/repository/generated/document_repository_generated.py +11 -0
- syrtis_python_orm/repository/generated/embedding_repository_generated.py +11 -0
- syrtis_python_orm/repository/generated/environment_repository_generated.py +11 -0
- syrtis_python_orm/repository/generated/extension_repository_generated.py +11 -0
- syrtis_python_orm/repository/generated/instruction_repository_generated.py +11 -0
- syrtis_python_orm/repository/generated/job_repository_generated.py +11 -0
- syrtis_python_orm/repository/generated/layer_repository_generated.py +11 -0
- syrtis_python_orm/repository/generated/log_repository_generated.py +11 -0
- syrtis_python_orm/repository/generated/message_repository_generated.py +11 -0
- syrtis_python_orm/repository/generated/message_stamp_repository_generated.py +11 -0
- syrtis_python_orm/repository/generated/model_repository_generated.py +11 -0
- syrtis_python_orm/repository/generated/node_repository_generated.py +11 -0
- syrtis_python_orm/repository/generated/operator_port_repository_generated.py +11 -0
- syrtis_python_orm/repository/generated/operator_repository_generated.py +11 -0
- syrtis_python_orm/repository/generated/panel_repository_generated.py +11 -0
- syrtis_python_orm/repository/generated/panel_stamp_repository_generated.py +11 -0
- syrtis_python_orm/repository/generated/pipeline_operator_repository_generated.py +11 -0
- syrtis_python_orm/repository/generated/pipeline_projection_repository_generated.py +11 -0
- syrtis_python_orm/repository/generated/pipeline_repository_generated.py +11 -0
- syrtis_python_orm/repository/generated/project_access_repository_generated.py +11 -0
- syrtis_python_orm/repository/generated/project_repository_generated.py +11 -0
- syrtis_python_orm/repository/generated/projection_config_repository_generated.py +11 -0
- syrtis_python_orm/repository/generated/projection_relation_repository_generated.py +11 -0
- syrtis_python_orm/repository/generated/projection_repository_generated.py +11 -0
- syrtis_python_orm/repository/generated/prompt_repository_generated.py +11 -0
- syrtis_python_orm/repository/generated/request_repository_generated.py +11 -0
- syrtis_python_orm/repository/generated/scenario_repository_generated.py +11 -0
- syrtis_python_orm/repository/generated/schema_repository_generated.py +11 -0
- syrtis_python_orm/repository/generated/session_group_repository_generated.py +11 -0
- syrtis_python_orm/repository/generated/session_repository_generated.py +11 -0
- syrtis_python_orm/repository/generated/slot_config_repository_generated.py +11 -0
- syrtis_python_orm/repository/generated/slot_message_repository_generated.py +11 -0
- syrtis_python_orm/repository/generated/slot_message_stamp_repository_generated.py +11 -0
- syrtis_python_orm/repository/generated/slot_relation_repository_generated.py +11 -0
- syrtis_python_orm/repository/generated/slot_repository_generated.py +11 -0
- syrtis_python_orm/repository/generated/source_repository_generated.py +11 -0
- syrtis_python_orm/repository/generated/storage_content_type_repository_generated.py +11 -0
- syrtis_python_orm/repository/generated/storage_repository_generated.py +11 -0
- syrtis_python_orm/repository/generated/template_repository_generated.py +11 -0
- syrtis_python_orm/repository/generated/timezone_repository_generated.py +11 -0
- syrtis_python_orm/repository/generated/token_repository_generated.py +11 -0
- syrtis_python_orm/repository/generated/trigger_config_repository_generated.py +11 -0
- syrtis_python_orm/repository/generated/trigger_repository_generated.py +11 -0
- syrtis_python_orm/repository/generated/user_config_repository_generated.py +11 -0
- syrtis_python_orm/repository/generated/user_repository_generated.py +11 -0
- syrtis_python_orm/repository/instruction_repository.py +11 -0
- syrtis_python_orm/repository/job_repository.py +11 -0
- syrtis_python_orm/repository/layer_repository.py +11 -0
- syrtis_python_orm/repository/log_repository.py +11 -0
- syrtis_python_orm/repository/message_repository.py +11 -0
- syrtis_python_orm/repository/message_stamp_repository.py +11 -0
- syrtis_python_orm/repository/model_repository.py +11 -0
- syrtis_python_orm/repository/node_repository.py +11 -0
- syrtis_python_orm/repository/operator_port_repository.py +11 -0
- syrtis_python_orm/repository/operator_repository.py +11 -0
- syrtis_python_orm/repository/panel_repository.py +11 -0
- syrtis_python_orm/repository/panel_stamp_repository.py +11 -0
- syrtis_python_orm/repository/pipeline_operator_repository.py +11 -0
- syrtis_python_orm/repository/pipeline_projection_repository.py +11 -0
- syrtis_python_orm/repository/pipeline_repository.py +11 -0
- syrtis_python_orm/repository/project_access_repository.py +11 -0
- syrtis_python_orm/repository/project_repository.py +11 -0
- syrtis_python_orm/repository/projection_config_repository.py +11 -0
- syrtis_python_orm/repository/projection_relation_repository.py +11 -0
- syrtis_python_orm/repository/projection_repository.py +11 -0
- syrtis_python_orm/repository/prompt_repository.py +11 -0
- syrtis_python_orm/repository/request_repository.py +11 -0
- syrtis_python_orm/repository/scenario_repository.py +11 -0
- syrtis_python_orm/repository/schema_repository.py +11 -0
- syrtis_python_orm/repository/session_group_repository.py +11 -0
- syrtis_python_orm/repository/session_repository.py +11 -0
- syrtis_python_orm/repository/slot_config_repository.py +11 -0
- syrtis_python_orm/repository/slot_message_repository.py +11 -0
- syrtis_python_orm/repository/slot_message_stamp_repository.py +11 -0
- syrtis_python_orm/repository/slot_relation_repository.py +11 -0
- syrtis_python_orm/repository/slot_repository.py +11 -0
- syrtis_python_orm/repository/source_repository.py +11 -0
- syrtis_python_orm/repository/storage_content_type_repository.py +11 -0
- syrtis_python_orm/repository/storage_repository.py +11 -0
- syrtis_python_orm/repository/template_repository.py +11 -0
- syrtis_python_orm/repository/timezone_repository.py +11 -0
- syrtis_python_orm/repository/token_repository.py +11 -0
- syrtis_python_orm/repository/trigger_config_repository.py +11 -0
- syrtis_python_orm/repository/trigger_repository.py +11 -0
- syrtis_python_orm/repository/user_config_repository.py +11 -0
- syrtis_python_orm/repository/user_repository.py +11 -0
- syrtis_python_orm-4.0.1.dist-info/METADATA +108 -0
- syrtis_python_orm-4.0.1.dist-info/RECORD +298 -0
- syrtis_python_orm-4.0.1.dist-info/WHEEL +4 -0
- syrtis_python_orm-4.0.1.dist-info/entry_points.txt +4 -0
- syrtis_syrtis_python_orm/__init__.py +0 -0
- syrtis_syrtis_python_orm/py.typed +0 -0
|
File without changes
|
|
@@ -0,0 +1,117 @@
|
|
|
1
|
+
from __future__ import annotations
|
|
2
|
+
|
|
3
|
+
from syrtis_python_orm.entity.artifact import Artifact
|
|
4
|
+
from syrtis_python_orm.entity.card import Card
|
|
5
|
+
from syrtis_python_orm.entity.card_message import CardMessage
|
|
6
|
+
from syrtis_python_orm.entity.card_relation import CardRelation
|
|
7
|
+
from syrtis_python_orm.entity.chunk import Chunk
|
|
8
|
+
from syrtis_python_orm.entity.content_type import ContentType
|
|
9
|
+
from syrtis_python_orm.entity.credential import Credential
|
|
10
|
+
from syrtis_python_orm.entity.credential_parameter import CredentialParameter
|
|
11
|
+
from syrtis_python_orm.entity.dashboard import Dashboard
|
|
12
|
+
from syrtis_python_orm.entity.directory import Directory
|
|
13
|
+
from syrtis_python_orm.entity.document import Document
|
|
14
|
+
from syrtis_python_orm.entity.document_directory import DocumentDirectory
|
|
15
|
+
from syrtis_python_orm.entity.embedding import Embedding
|
|
16
|
+
from syrtis_python_orm.entity.environment import Environment
|
|
17
|
+
from syrtis_python_orm.entity.extension import Extension
|
|
18
|
+
from syrtis_python_orm.entity.instruction import Instruction
|
|
19
|
+
from syrtis_python_orm.entity.job import Job
|
|
20
|
+
from syrtis_python_orm.entity.layer import Layer
|
|
21
|
+
from syrtis_python_orm.entity.log import Log
|
|
22
|
+
from syrtis_python_orm.entity.message import Message
|
|
23
|
+
from syrtis_python_orm.entity.message_stamp import MessageStamp
|
|
24
|
+
from syrtis_python_orm.entity.model import Model
|
|
25
|
+
from syrtis_python_orm.entity.node import Node
|
|
26
|
+
from syrtis_python_orm.entity.operator import Operator
|
|
27
|
+
from syrtis_python_orm.entity.operator_port import OperatorPort
|
|
28
|
+
from syrtis_python_orm.entity.panel import Panel
|
|
29
|
+
from syrtis_python_orm.entity.panel_stamp import PanelStamp
|
|
30
|
+
from syrtis_python_orm.entity.pipeline import Pipeline
|
|
31
|
+
from syrtis_python_orm.entity.pipeline_operator import PipelineOperator
|
|
32
|
+
from syrtis_python_orm.entity.pipeline_projection import PipelineProjection
|
|
33
|
+
from syrtis_python_orm.entity.project import Project
|
|
34
|
+
from syrtis_python_orm.entity.project_access import ProjectAccess
|
|
35
|
+
from syrtis_python_orm.entity.projection import Projection
|
|
36
|
+
from syrtis_python_orm.entity.projection_config import ProjectionConfig
|
|
37
|
+
from syrtis_python_orm.entity.projection_relation import ProjectionRelation
|
|
38
|
+
from syrtis_python_orm.entity.prompt import Prompt
|
|
39
|
+
from syrtis_python_orm.entity.request import Request
|
|
40
|
+
from syrtis_python_orm.entity.scenario import Scenario
|
|
41
|
+
from syrtis_python_orm.entity.schema import Schema
|
|
42
|
+
from syrtis_python_orm.entity.session import Session
|
|
43
|
+
from syrtis_python_orm.entity.session_group import SessionGroup
|
|
44
|
+
from syrtis_python_orm.entity.slot import Slot
|
|
45
|
+
from syrtis_python_orm.entity.slot_config import SlotConfig
|
|
46
|
+
from syrtis_python_orm.entity.slot_message import SlotMessage
|
|
47
|
+
from syrtis_python_orm.entity.slot_message_stamp import SlotMessageStamp
|
|
48
|
+
from syrtis_python_orm.entity.slot_relation import SlotRelation
|
|
49
|
+
from syrtis_python_orm.entity.source import Source
|
|
50
|
+
from syrtis_python_orm.entity.storage import Storage
|
|
51
|
+
from syrtis_python_orm.entity.storage_content_type import StorageContentType
|
|
52
|
+
from syrtis_python_orm.entity.template import Template
|
|
53
|
+
from syrtis_python_orm.entity.timezone import Timezone
|
|
54
|
+
from syrtis_python_orm.entity.token import Token
|
|
55
|
+
from syrtis_python_orm.entity.trigger import Trigger
|
|
56
|
+
from syrtis_python_orm.entity.trigger_config import TriggerConfig
|
|
57
|
+
from syrtis_python_orm.entity.user import User
|
|
58
|
+
from syrtis_python_orm.entity.user_config import UserConfig
|
|
59
|
+
|
|
60
|
+
generated_entities = [
|
|
61
|
+
Artifact,
|
|
62
|
+
Card,
|
|
63
|
+
CardMessage,
|
|
64
|
+
CardRelation,
|
|
65
|
+
Chunk,
|
|
66
|
+
ContentType,
|
|
67
|
+
Credential,
|
|
68
|
+
CredentialParameter,
|
|
69
|
+
Dashboard,
|
|
70
|
+
Directory,
|
|
71
|
+
Document,
|
|
72
|
+
DocumentDirectory,
|
|
73
|
+
Embedding,
|
|
74
|
+
Environment,
|
|
75
|
+
Extension,
|
|
76
|
+
Instruction,
|
|
77
|
+
Job,
|
|
78
|
+
Layer,
|
|
79
|
+
Log,
|
|
80
|
+
Message,
|
|
81
|
+
MessageStamp,
|
|
82
|
+
Model,
|
|
83
|
+
Node,
|
|
84
|
+
Operator,
|
|
85
|
+
OperatorPort,
|
|
86
|
+
Panel,
|
|
87
|
+
PanelStamp,
|
|
88
|
+
Pipeline,
|
|
89
|
+
PipelineOperator,
|
|
90
|
+
PipelineProjection,
|
|
91
|
+
Project,
|
|
92
|
+
ProjectAccess,
|
|
93
|
+
Projection,
|
|
94
|
+
ProjectionConfig,
|
|
95
|
+
ProjectionRelation,
|
|
96
|
+
Prompt,
|
|
97
|
+
Request,
|
|
98
|
+
Scenario,
|
|
99
|
+
Schema,
|
|
100
|
+
Session,
|
|
101
|
+
SessionGroup,
|
|
102
|
+
Slot,
|
|
103
|
+
SlotConfig,
|
|
104
|
+
SlotMessage,
|
|
105
|
+
SlotMessageStamp,
|
|
106
|
+
SlotRelation,
|
|
107
|
+
Source,
|
|
108
|
+
Storage,
|
|
109
|
+
StorageContentType,
|
|
110
|
+
Template,
|
|
111
|
+
Timezone,
|
|
112
|
+
Token,
|
|
113
|
+
Trigger,
|
|
114
|
+
TriggerConfig,
|
|
115
|
+
User,
|
|
116
|
+
UserConfig,
|
|
117
|
+
]
|
|
@@ -0,0 +1,137 @@
|
|
|
1
|
+
from __future__ import annotations
|
|
2
|
+
|
|
3
|
+
from syrtis_python_orm.repository.artifact_repository import ArtifactRepository
|
|
4
|
+
from syrtis_python_orm.repository.card_message_repository import CardMessageRepository
|
|
5
|
+
from syrtis_python_orm.repository.card_relation_repository import CardRelationRepository
|
|
6
|
+
from syrtis_python_orm.repository.card_repository import CardRepository
|
|
7
|
+
from syrtis_python_orm.repository.chunk_repository import ChunkRepository
|
|
8
|
+
from syrtis_python_orm.repository.content_type_repository import ContentTypeRepository
|
|
9
|
+
from syrtis_python_orm.repository.credential_parameter_repository import (
|
|
10
|
+
CredentialParameterRepository,
|
|
11
|
+
)
|
|
12
|
+
from syrtis_python_orm.repository.credential_repository import CredentialRepository
|
|
13
|
+
from syrtis_python_orm.repository.dashboard_repository import DashboardRepository
|
|
14
|
+
from syrtis_python_orm.repository.directory_repository import DirectoryRepository
|
|
15
|
+
from syrtis_python_orm.repository.document_directory_repository import (
|
|
16
|
+
DocumentDirectoryRepository,
|
|
17
|
+
)
|
|
18
|
+
from syrtis_python_orm.repository.document_repository import DocumentRepository
|
|
19
|
+
from syrtis_python_orm.repository.embedding_repository import EmbeddingRepository
|
|
20
|
+
from syrtis_python_orm.repository.environment_repository import EnvironmentRepository
|
|
21
|
+
from syrtis_python_orm.repository.extension_repository import ExtensionRepository
|
|
22
|
+
from syrtis_python_orm.repository.instruction_repository import InstructionRepository
|
|
23
|
+
from syrtis_python_orm.repository.job_repository import JobRepository
|
|
24
|
+
from syrtis_python_orm.repository.layer_repository import LayerRepository
|
|
25
|
+
from syrtis_python_orm.repository.log_repository import LogRepository
|
|
26
|
+
from syrtis_python_orm.repository.message_repository import MessageRepository
|
|
27
|
+
from syrtis_python_orm.repository.message_stamp_repository import MessageStampRepository
|
|
28
|
+
from syrtis_python_orm.repository.model_repository import ModelRepository
|
|
29
|
+
from syrtis_python_orm.repository.node_repository import NodeRepository
|
|
30
|
+
from syrtis_python_orm.repository.operator_port_repository import OperatorPortRepository
|
|
31
|
+
from syrtis_python_orm.repository.operator_repository import OperatorRepository
|
|
32
|
+
from syrtis_python_orm.repository.panel_repository import PanelRepository
|
|
33
|
+
from syrtis_python_orm.repository.panel_stamp_repository import PanelStampRepository
|
|
34
|
+
from syrtis_python_orm.repository.pipeline_operator_repository import (
|
|
35
|
+
PipelineOperatorRepository,
|
|
36
|
+
)
|
|
37
|
+
from syrtis_python_orm.repository.pipeline_projection_repository import (
|
|
38
|
+
PipelineProjectionRepository,
|
|
39
|
+
)
|
|
40
|
+
from syrtis_python_orm.repository.pipeline_repository import PipelineRepository
|
|
41
|
+
from syrtis_python_orm.repository.project_access_repository import (
|
|
42
|
+
ProjectAccessRepository,
|
|
43
|
+
)
|
|
44
|
+
from syrtis_python_orm.repository.project_repository import ProjectRepository
|
|
45
|
+
from syrtis_python_orm.repository.projection_config_repository import (
|
|
46
|
+
ProjectionConfigRepository,
|
|
47
|
+
)
|
|
48
|
+
from syrtis_python_orm.repository.projection_relation_repository import (
|
|
49
|
+
ProjectionRelationRepository,
|
|
50
|
+
)
|
|
51
|
+
from syrtis_python_orm.repository.projection_repository import ProjectionRepository
|
|
52
|
+
from syrtis_python_orm.repository.prompt_repository import PromptRepository
|
|
53
|
+
from syrtis_python_orm.repository.request_repository import RequestRepository
|
|
54
|
+
from syrtis_python_orm.repository.scenario_repository import ScenarioRepository
|
|
55
|
+
from syrtis_python_orm.repository.schema_repository import SchemaRepository
|
|
56
|
+
from syrtis_python_orm.repository.session_group_repository import SessionGroupRepository
|
|
57
|
+
from syrtis_python_orm.repository.session_repository import SessionRepository
|
|
58
|
+
from syrtis_python_orm.repository.slot_config_repository import SlotConfigRepository
|
|
59
|
+
from syrtis_python_orm.repository.slot_message_repository import SlotMessageRepository
|
|
60
|
+
from syrtis_python_orm.repository.slot_message_stamp_repository import (
|
|
61
|
+
SlotMessageStampRepository,
|
|
62
|
+
)
|
|
63
|
+
from syrtis_python_orm.repository.slot_relation_repository import SlotRelationRepository
|
|
64
|
+
from syrtis_python_orm.repository.slot_repository import SlotRepository
|
|
65
|
+
from syrtis_python_orm.repository.source_repository import SourceRepository
|
|
66
|
+
from syrtis_python_orm.repository.storage_content_type_repository import (
|
|
67
|
+
StorageContentTypeRepository,
|
|
68
|
+
)
|
|
69
|
+
from syrtis_python_orm.repository.storage_repository import StorageRepository
|
|
70
|
+
from syrtis_python_orm.repository.template_repository import TemplateRepository
|
|
71
|
+
from syrtis_python_orm.repository.timezone_repository import TimezoneRepository
|
|
72
|
+
from syrtis_python_orm.repository.token_repository import TokenRepository
|
|
73
|
+
from syrtis_python_orm.repository.trigger_config_repository import (
|
|
74
|
+
TriggerConfigRepository,
|
|
75
|
+
)
|
|
76
|
+
from syrtis_python_orm.repository.trigger_repository import TriggerRepository
|
|
77
|
+
from syrtis_python_orm.repository.user_config_repository import UserConfigRepository
|
|
78
|
+
from syrtis_python_orm.repository.user_repository import UserRepository
|
|
79
|
+
|
|
80
|
+
generated_repositories = [
|
|
81
|
+
ArtifactRepository,
|
|
82
|
+
CardMessageRepository,
|
|
83
|
+
CardRelationRepository,
|
|
84
|
+
CardRepository,
|
|
85
|
+
ChunkRepository,
|
|
86
|
+
ContentTypeRepository,
|
|
87
|
+
CredentialParameterRepository,
|
|
88
|
+
CredentialRepository,
|
|
89
|
+
DashboardRepository,
|
|
90
|
+
DirectoryRepository,
|
|
91
|
+
DocumentDirectoryRepository,
|
|
92
|
+
DocumentRepository,
|
|
93
|
+
EmbeddingRepository,
|
|
94
|
+
EnvironmentRepository,
|
|
95
|
+
ExtensionRepository,
|
|
96
|
+
InstructionRepository,
|
|
97
|
+
JobRepository,
|
|
98
|
+
LayerRepository,
|
|
99
|
+
LogRepository,
|
|
100
|
+
MessageRepository,
|
|
101
|
+
MessageStampRepository,
|
|
102
|
+
ModelRepository,
|
|
103
|
+
NodeRepository,
|
|
104
|
+
OperatorPortRepository,
|
|
105
|
+
OperatorRepository,
|
|
106
|
+
PanelRepository,
|
|
107
|
+
PanelStampRepository,
|
|
108
|
+
PipelineOperatorRepository,
|
|
109
|
+
PipelineProjectionRepository,
|
|
110
|
+
PipelineRepository,
|
|
111
|
+
ProjectAccessRepository,
|
|
112
|
+
ProjectRepository,
|
|
113
|
+
ProjectionConfigRepository,
|
|
114
|
+
ProjectionRelationRepository,
|
|
115
|
+
ProjectionRepository,
|
|
116
|
+
PromptRepository,
|
|
117
|
+
RequestRepository,
|
|
118
|
+
ScenarioRepository,
|
|
119
|
+
SchemaRepository,
|
|
120
|
+
SessionGroupRepository,
|
|
121
|
+
SessionRepository,
|
|
122
|
+
SlotConfigRepository,
|
|
123
|
+
SlotMessageRepository,
|
|
124
|
+
SlotMessageStampRepository,
|
|
125
|
+
SlotRelationRepository,
|
|
126
|
+
SlotRepository,
|
|
127
|
+
SourceRepository,
|
|
128
|
+
StorageContentTypeRepository,
|
|
129
|
+
StorageRepository,
|
|
130
|
+
TemplateRepository,
|
|
131
|
+
TimezoneRepository,
|
|
132
|
+
TokenRepository,
|
|
133
|
+
TriggerConfigRepository,
|
|
134
|
+
TriggerRepository,
|
|
135
|
+
UserConfigRepository,
|
|
136
|
+
UserRepository,
|
|
137
|
+
]
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
from __future__ import annotations
|
|
2
|
+
|
|
3
|
+
from wexample_helpers.decorator.base_class import base_class
|
|
4
|
+
from wexample_orm.common.abstract_repositories_manager import (
|
|
5
|
+
AbstractRepositoriesManager,
|
|
6
|
+
)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
@base_class
|
|
10
|
+
class OrmRepositoriesManager(AbstractRepositoriesManager):
|
|
11
|
+
"""Syrtis-flavored repositories manager.
|
|
12
|
+
|
|
13
|
+
Inherits all behavior (get / get_by_table_name / get_classes) from
|
|
14
|
+
`wexample_orm.AbstractRepositoriesManager`. Only extra responsibility:
|
|
15
|
+
auto-load `generated_repositories` when the caller doesn't provide a list.
|
|
16
|
+
"""
|
|
17
|
+
|
|
18
|
+
def __attrs_post_init__(self) -> None:
|
|
19
|
+
if not self.repository_classes:
|
|
20
|
+
from syrtis_python_orm.common.generated_repositories import (
|
|
21
|
+
generated_repositories,
|
|
22
|
+
)
|
|
23
|
+
|
|
24
|
+
self.repository_classes = list(generated_repositories)
|
|
File without changes
|
|
File without changes
|
|
@@ -0,0 +1,261 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "artifact",
|
|
3
|
+
"properties": [
|
|
4
|
+
{
|
|
5
|
+
"name": "id",
|
|
6
|
+
"type": "mixed",
|
|
7
|
+
"default": null,
|
|
8
|
+
"orm": {
|
|
9
|
+
"kind": "field",
|
|
10
|
+
"column": "id",
|
|
11
|
+
"type": "integer",
|
|
12
|
+
"nullable": false,
|
|
13
|
+
"unique": false,
|
|
14
|
+
"id": true,
|
|
15
|
+
"generated": false
|
|
16
|
+
}
|
|
17
|
+
},
|
|
18
|
+
{
|
|
19
|
+
"name": "secureId",
|
|
20
|
+
"type": "string",
|
|
21
|
+
"orm": {
|
|
22
|
+
"kind": "field",
|
|
23
|
+
"column": "secure_id",
|
|
24
|
+
"type": "string",
|
|
25
|
+
"nullable": false,
|
|
26
|
+
"unique": false,
|
|
27
|
+
"id": false,
|
|
28
|
+
"generated": false,
|
|
29
|
+
"length": 255
|
|
30
|
+
}
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
"name": "contentType",
|
|
34
|
+
"type": "relation",
|
|
35
|
+
"nullable": true,
|
|
36
|
+
"default": null,
|
|
37
|
+
"target": "content_type",
|
|
38
|
+
"orm": {
|
|
39
|
+
"kind": "association",
|
|
40
|
+
"association_type": "many_to_one",
|
|
41
|
+
"target_entity": "App\\Entity\\ContentType",
|
|
42
|
+
"target": "content_type",
|
|
43
|
+
"mapped_by": null,
|
|
44
|
+
"inversed_by": null,
|
|
45
|
+
"is_owning_side": true,
|
|
46
|
+
"orphan_removal": false,
|
|
47
|
+
"cascade": {},
|
|
48
|
+
"fetch": 2,
|
|
49
|
+
"join_columns": [
|
|
50
|
+
{
|
|
51
|
+
"name": "content_type_id",
|
|
52
|
+
"referenced_column_name": "id",
|
|
53
|
+
"nullable": false,
|
|
54
|
+
"unique": false,
|
|
55
|
+
"on_delete": null
|
|
56
|
+
}
|
|
57
|
+
]
|
|
58
|
+
}
|
|
59
|
+
},
|
|
60
|
+
{
|
|
61
|
+
"name": "storage",
|
|
62
|
+
"type": "relation",
|
|
63
|
+
"nullable": true,
|
|
64
|
+
"default": null,
|
|
65
|
+
"target": "storage",
|
|
66
|
+
"orm": {
|
|
67
|
+
"kind": "association",
|
|
68
|
+
"association_type": "many_to_one",
|
|
69
|
+
"target_entity": "App\\Entity\\Storage",
|
|
70
|
+
"target": "storage",
|
|
71
|
+
"mapped_by": null,
|
|
72
|
+
"inversed_by": null,
|
|
73
|
+
"is_owning_side": true,
|
|
74
|
+
"orphan_removal": false,
|
|
75
|
+
"cascade": {},
|
|
76
|
+
"fetch": 2,
|
|
77
|
+
"join_columns": [
|
|
78
|
+
{
|
|
79
|
+
"name": "storage_id",
|
|
80
|
+
"referenced_column_name": "id",
|
|
81
|
+
"nullable": false,
|
|
82
|
+
"unique": false,
|
|
83
|
+
"on_delete": null
|
|
84
|
+
}
|
|
85
|
+
]
|
|
86
|
+
}
|
|
87
|
+
},
|
|
88
|
+
{
|
|
89
|
+
"name": "projection",
|
|
90
|
+
"type": "relation",
|
|
91
|
+
"nullable": true,
|
|
92
|
+
"default": null,
|
|
93
|
+
"target": "projection",
|
|
94
|
+
"orm": {
|
|
95
|
+
"kind": "association",
|
|
96
|
+
"association_type": "many_to_one",
|
|
97
|
+
"target_entity": "App\\Entity\\Projection",
|
|
98
|
+
"target": "projection",
|
|
99
|
+
"mapped_by": null,
|
|
100
|
+
"inversed_by": "artifacts",
|
|
101
|
+
"is_owning_side": true,
|
|
102
|
+
"orphan_removal": false,
|
|
103
|
+
"cascade": {},
|
|
104
|
+
"fetch": 2,
|
|
105
|
+
"join_columns": [
|
|
106
|
+
{
|
|
107
|
+
"name": "projection_id",
|
|
108
|
+
"referenced_column_name": "id",
|
|
109
|
+
"nullable": false,
|
|
110
|
+
"unique": false,
|
|
111
|
+
"on_delete": null
|
|
112
|
+
}
|
|
113
|
+
]
|
|
114
|
+
}
|
|
115
|
+
},
|
|
116
|
+
{
|
|
117
|
+
"name": "operatorPort",
|
|
118
|
+
"type": "relation",
|
|
119
|
+
"nullable": true,
|
|
120
|
+
"default": null,
|
|
121
|
+
"target": "operator_port",
|
|
122
|
+
"orm": {
|
|
123
|
+
"kind": "association",
|
|
124
|
+
"association_type": "many_to_one",
|
|
125
|
+
"target_entity": "App\\Entity\\OperatorPort",
|
|
126
|
+
"target": "operator_port",
|
|
127
|
+
"mapped_by": null,
|
|
128
|
+
"inversed_by": null,
|
|
129
|
+
"is_owning_side": true,
|
|
130
|
+
"orphan_removal": false,
|
|
131
|
+
"cascade": {},
|
|
132
|
+
"fetch": 2,
|
|
133
|
+
"join_columns": [
|
|
134
|
+
{
|
|
135
|
+
"name": "operator_port_id",
|
|
136
|
+
"referenced_column_name": "id",
|
|
137
|
+
"nullable": false,
|
|
138
|
+
"unique": false,
|
|
139
|
+
"on_delete": null
|
|
140
|
+
}
|
|
141
|
+
]
|
|
142
|
+
}
|
|
143
|
+
}
|
|
144
|
+
],
|
|
145
|
+
"orm": {
|
|
146
|
+
"class": "App\\Entity\\Artifact",
|
|
147
|
+
"table": "artifact",
|
|
148
|
+
"identifier": [
|
|
149
|
+
"id"
|
|
150
|
+
],
|
|
151
|
+
"indexes": {},
|
|
152
|
+
"unique_constraints": {},
|
|
153
|
+
"fields": {
|
|
154
|
+
"id": {
|
|
155
|
+
"kind": "field",
|
|
156
|
+
"column": "id",
|
|
157
|
+
"type": "integer",
|
|
158
|
+
"nullable": false,
|
|
159
|
+
"unique": false,
|
|
160
|
+
"id": true,
|
|
161
|
+
"generated": false
|
|
162
|
+
},
|
|
163
|
+
"secureId": {
|
|
164
|
+
"kind": "field",
|
|
165
|
+
"column": "secure_id",
|
|
166
|
+
"type": "string",
|
|
167
|
+
"nullable": false,
|
|
168
|
+
"unique": false,
|
|
169
|
+
"id": false,
|
|
170
|
+
"generated": false,
|
|
171
|
+
"length": 255
|
|
172
|
+
}
|
|
173
|
+
},
|
|
174
|
+
"associations": {
|
|
175
|
+
"projection": {
|
|
176
|
+
"kind": "association",
|
|
177
|
+
"association_type": "many_to_one",
|
|
178
|
+
"target_entity": "App\\Entity\\Projection",
|
|
179
|
+
"target": "projection",
|
|
180
|
+
"mapped_by": null,
|
|
181
|
+
"inversed_by": "artifacts",
|
|
182
|
+
"is_owning_side": true,
|
|
183
|
+
"orphan_removal": false,
|
|
184
|
+
"cascade": {},
|
|
185
|
+
"fetch": 2,
|
|
186
|
+
"join_columns": [
|
|
187
|
+
{
|
|
188
|
+
"name": "projection_id",
|
|
189
|
+
"referenced_column_name": "id",
|
|
190
|
+
"nullable": false,
|
|
191
|
+
"unique": false,
|
|
192
|
+
"on_delete": null
|
|
193
|
+
}
|
|
194
|
+
]
|
|
195
|
+
},
|
|
196
|
+
"operatorPort": {
|
|
197
|
+
"kind": "association",
|
|
198
|
+
"association_type": "many_to_one",
|
|
199
|
+
"target_entity": "App\\Entity\\OperatorPort",
|
|
200
|
+
"target": "operator_port",
|
|
201
|
+
"mapped_by": null,
|
|
202
|
+
"inversed_by": null,
|
|
203
|
+
"is_owning_side": true,
|
|
204
|
+
"orphan_removal": false,
|
|
205
|
+
"cascade": {},
|
|
206
|
+
"fetch": 2,
|
|
207
|
+
"join_columns": [
|
|
208
|
+
{
|
|
209
|
+
"name": "operator_port_id",
|
|
210
|
+
"referenced_column_name": "id",
|
|
211
|
+
"nullable": false,
|
|
212
|
+
"unique": false,
|
|
213
|
+
"on_delete": null
|
|
214
|
+
}
|
|
215
|
+
]
|
|
216
|
+
},
|
|
217
|
+
"contentType": {
|
|
218
|
+
"kind": "association",
|
|
219
|
+
"association_type": "many_to_one",
|
|
220
|
+
"target_entity": "App\\Entity\\ContentType",
|
|
221
|
+
"target": "content_type",
|
|
222
|
+
"mapped_by": null,
|
|
223
|
+
"inversed_by": null,
|
|
224
|
+
"is_owning_side": true,
|
|
225
|
+
"orphan_removal": false,
|
|
226
|
+
"cascade": {},
|
|
227
|
+
"fetch": 2,
|
|
228
|
+
"join_columns": [
|
|
229
|
+
{
|
|
230
|
+
"name": "content_type_id",
|
|
231
|
+
"referenced_column_name": "id",
|
|
232
|
+
"nullable": false,
|
|
233
|
+
"unique": false,
|
|
234
|
+
"on_delete": null
|
|
235
|
+
}
|
|
236
|
+
]
|
|
237
|
+
},
|
|
238
|
+
"storage": {
|
|
239
|
+
"kind": "association",
|
|
240
|
+
"association_type": "many_to_one",
|
|
241
|
+
"target_entity": "App\\Entity\\Storage",
|
|
242
|
+
"target": "storage",
|
|
243
|
+
"mapped_by": null,
|
|
244
|
+
"inversed_by": null,
|
|
245
|
+
"is_owning_side": true,
|
|
246
|
+
"orphan_removal": false,
|
|
247
|
+
"cascade": {},
|
|
248
|
+
"fetch": 2,
|
|
249
|
+
"join_columns": [
|
|
250
|
+
{
|
|
251
|
+
"name": "storage_id",
|
|
252
|
+
"referenced_column_name": "id",
|
|
253
|
+
"nullable": false,
|
|
254
|
+
"unique": false,
|
|
255
|
+
"on_delete": null
|
|
256
|
+
}
|
|
257
|
+
]
|
|
258
|
+
}
|
|
259
|
+
}
|
|
260
|
+
}
|
|
261
|
+
}
|