syrtis-python-client-internal 1.0.0__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_client_internal/__init__.py +17 -0
- syrtis_python_client_internal/common/__init__.py +0 -0
- syrtis_python_client_internal/common/entity_schemas.py +11 -0
- syrtis_python_client_internal/common/generated_entities.py +83 -0
- syrtis_python_client_internal/common/generated_entity_schemas.py +54 -0
- syrtis_python_client_internal/common/generated_external_relations.py +18 -0
- syrtis_python_client_internal/common/generated_repositories.py +76 -0
- syrtis_python_client_internal/common/syrtis_client.py +31 -0
- syrtis_python_client_internal/data/__init__.py +0 -0
- syrtis_python_client_internal/data/entity/__init__.py +0 -0
- syrtis_python_client_internal/data/entity/artifact.json +261 -0
- syrtis_python_client_internal/data/entity/content_type.json +235 -0
- syrtis_python_client_internal/data/entity/credential.json +175 -0
- syrtis_python_client_internal/data/entity/credential_parameter.json +166 -0
- syrtis_python_client_internal/data/entity/dashboard.json +213 -0
- syrtis_python_client_internal/data/entity/directory.json +125 -0
- syrtis_python_client_internal/data/entity/document_directory.json +139 -0
- syrtis_python_client_internal/data/entity/embedding.json +192 -0
- syrtis_python_client_internal/data/entity/extension.json +203 -0
- syrtis_python_client_internal/data/entity/instruction.json +213 -0
- syrtis_python_client_internal/data/entity/internal_sample.json +10 -0
- syrtis_python_client_internal/data/entity/layer.json +96 -0
- syrtis_python_client_internal/data/entity/log.json +642 -0
- syrtis_python_client_internal/data/entity/model.json +226 -0
- syrtis_python_client_internal/data/entity/operator.json +149 -0
- syrtis_python_client_internal/data/entity/operator_port.json +220 -0
- syrtis_python_client_internal/data/entity/panel.json +450 -0
- syrtis_python_client_internal/data/entity/panel_stamp.json +116 -0
- syrtis_python_client_internal/data/entity/pipeline.json +357 -0
- syrtis_python_client_internal/data/entity/pipeline_operator.json +28 -0
- syrtis_python_client_internal/data/entity/pipeline_projection.json +163 -0
- syrtis_python_client_internal/data/entity/project.json +213 -0
- syrtis_python_client_internal/data/entity/project_access.json +161 -0
- syrtis_python_client_internal/data/entity/projection.json +349 -0
- syrtis_python_client_internal/data/entity/projection_config.json +237 -0
- syrtis_python_client_internal/data/entity/projection_relation.json +261 -0
- syrtis_python_client_internal/data/entity/prompt.json +491 -0
- syrtis_python_client_internal/data/entity/schema.json +63 -0
- syrtis_python_client_internal/data/entity/session_group.json +196 -0
- syrtis_python_client_internal/data/entity/source.json +187 -0
- syrtis_python_client_internal/data/entity/storage.json +140 -0
- syrtis_python_client_internal/data/entity/storage_content_type.json +139 -0
- syrtis_python_client_internal/data/entity/token.json +116 -0
- syrtis_python_client_internal/data/entity/trigger.json +90 -0
- syrtis_python_client_internal/data/entity/trigger_config.json +138 -0
- syrtis_python_client_internal/data/entity/user_config.json +193 -0
- syrtis_python_client_internal/database/__init__.py +0 -0
- syrtis_python_client_internal/database/database_repositories_manager.py +21 -0
- syrtis_python_client_internal/database/generated_repositories.py +120 -0
- syrtis_python_client_internal/database/repository/__init__.py +0 -0
- syrtis_python_client_internal/database/repository/artifact_repository.py +11 -0
- syrtis_python_client_internal/database/repository/card_message_repository.py +11 -0
- syrtis_python_client_internal/database/repository/card_relation_repository.py +11 -0
- syrtis_python_client_internal/database/repository/card_repository.py +11 -0
- syrtis_python_client_internal/database/repository/chunk_repository.py +11 -0
- syrtis_python_client_internal/database/repository/content_type_repository.py +11 -0
- syrtis_python_client_internal/database/repository/credential_parameter_repository.py +11 -0
- syrtis_python_client_internal/database/repository/credential_repository.py +11 -0
- syrtis_python_client_internal/database/repository/dashboard_repository.py +11 -0
- syrtis_python_client_internal/database/repository/directory_repository.py +11 -0
- syrtis_python_client_internal/database/repository/document_directory_repository.py +11 -0
- syrtis_python_client_internal/database/repository/document_repository.py +11 -0
- syrtis_python_client_internal/database/repository/embedding_repository.py +11 -0
- syrtis_python_client_internal/database/repository/environment_repository.py +11 -0
- syrtis_python_client_internal/database/repository/extension_repository.py +11 -0
- syrtis_python_client_internal/database/repository/generated/__init__.py +0 -0
- syrtis_python_client_internal/database/repository/generated/artifact_repository_generated.py +11 -0
- syrtis_python_client_internal/database/repository/generated/card_message_repository_generated.py +11 -0
- syrtis_python_client_internal/database/repository/generated/card_relation_repository_generated.py +11 -0
- syrtis_python_client_internal/database/repository/generated/card_repository_generated.py +11 -0
- syrtis_python_client_internal/database/repository/generated/chunk_repository_generated.py +11 -0
- syrtis_python_client_internal/database/repository/generated/content_type_repository_generated.py +11 -0
- syrtis_python_client_internal/database/repository/generated/credential_parameter_repository_generated.py +11 -0
- syrtis_python_client_internal/database/repository/generated/credential_repository_generated.py +11 -0
- syrtis_python_client_internal/database/repository/generated/dashboard_repository_generated.py +11 -0
- syrtis_python_client_internal/database/repository/generated/directory_repository_generated.py +11 -0
- syrtis_python_client_internal/database/repository/generated/document_directory_repository_generated.py +11 -0
- syrtis_python_client_internal/database/repository/generated/document_repository_generated.py +11 -0
- syrtis_python_client_internal/database/repository/generated/embedding_repository_generated.py +11 -0
- syrtis_python_client_internal/database/repository/generated/environment_repository_generated.py +11 -0
- syrtis_python_client_internal/database/repository/generated/extension_repository_generated.py +11 -0
- syrtis_python_client_internal/database/repository/generated/instruction_repository_generated.py +11 -0
- syrtis_python_client_internal/database/repository/generated/internal_sample_repository_generated.py +11 -0
- syrtis_python_client_internal/database/repository/generated/job_repository_generated.py +11 -0
- syrtis_python_client_internal/database/repository/generated/layer_repository_generated.py +11 -0
- syrtis_python_client_internal/database/repository/generated/log_repository_generated.py +11 -0
- syrtis_python_client_internal/database/repository/generated/message_repository_generated.py +11 -0
- syrtis_python_client_internal/database/repository/generated/message_stamp_repository_generated.py +11 -0
- syrtis_python_client_internal/database/repository/generated/model_repository_generated.py +11 -0
- syrtis_python_client_internal/database/repository/generated/node_repository_generated.py +11 -0
- syrtis_python_client_internal/database/repository/generated/operator_port_repository_generated.py +11 -0
- syrtis_python_client_internal/database/repository/generated/operator_repository_generated.py +11 -0
- syrtis_python_client_internal/database/repository/generated/panel_repository_generated.py +11 -0
- syrtis_python_client_internal/database/repository/generated/panel_stamp_repository_generated.py +11 -0
- syrtis_python_client_internal/database/repository/generated/pipeline_operator_repository_generated.py +11 -0
- syrtis_python_client_internal/database/repository/generated/pipeline_projection_repository_generated.py +11 -0
- syrtis_python_client_internal/database/repository/generated/pipeline_repository_generated.py +11 -0
- syrtis_python_client_internal/database/repository/generated/project_access_repository_generated.py +11 -0
- syrtis_python_client_internal/database/repository/generated/project_repository_generated.py +11 -0
- syrtis_python_client_internal/database/repository/generated/projection_config_repository_generated.py +11 -0
- syrtis_python_client_internal/database/repository/generated/projection_relation_repository_generated.py +11 -0
- syrtis_python_client_internal/database/repository/generated/projection_repository_generated.py +11 -0
- syrtis_python_client_internal/database/repository/generated/prompt_repository_generated.py +11 -0
- syrtis_python_client_internal/database/repository/generated/request_repository_generated.py +11 -0
- syrtis_python_client_internal/database/repository/generated/scenario_repository_generated.py +11 -0
- syrtis_python_client_internal/database/repository/generated/schema_repository_generated.py +11 -0
- syrtis_python_client_internal/database/repository/generated/session_group_repository_generated.py +11 -0
- syrtis_python_client_internal/database/repository/generated/session_repository_generated.py +11 -0
- syrtis_python_client_internal/database/repository/generated/slot_config_repository_generated.py +11 -0
- syrtis_python_client_internal/database/repository/generated/slot_message_repository_generated.py +11 -0
- syrtis_python_client_internal/database/repository/generated/slot_message_stamp_repository_generated.py +11 -0
- syrtis_python_client_internal/database/repository/generated/slot_relation_repository_generated.py +11 -0
- syrtis_python_client_internal/database/repository/generated/slot_repository_generated.py +11 -0
- syrtis_python_client_internal/database/repository/generated/source_repository_generated.py +11 -0
- syrtis_python_client_internal/database/repository/generated/storage_content_type_repository_generated.py +11 -0
- syrtis_python_client_internal/database/repository/generated/storage_repository_generated.py +11 -0
- syrtis_python_client_internal/database/repository/generated/template_repository_generated.py +11 -0
- syrtis_python_client_internal/database/repository/generated/timezone_repository_generated.py +11 -0
- syrtis_python_client_internal/database/repository/generated/token_repository_generated.py +11 -0
- syrtis_python_client_internal/database/repository/generated/trigger_config_repository_generated.py +11 -0
- syrtis_python_client_internal/database/repository/generated/trigger_repository_generated.py +11 -0
- syrtis_python_client_internal/database/repository/generated/user_config_repository_generated.py +11 -0
- syrtis_python_client_internal/database/repository/generated/user_repository_generated.py +11 -0
- syrtis_python_client_internal/database/repository/instruction_repository.py +11 -0
- syrtis_python_client_internal/database/repository/internal_sample_repository.py +11 -0
- syrtis_python_client_internal/database/repository/job_repository.py +11 -0
- syrtis_python_client_internal/database/repository/layer_repository.py +11 -0
- syrtis_python_client_internal/database/repository/log_repository.py +11 -0
- syrtis_python_client_internal/database/repository/message_repository.py +11 -0
- syrtis_python_client_internal/database/repository/message_stamp_repository.py +11 -0
- syrtis_python_client_internal/database/repository/model_repository.py +11 -0
- syrtis_python_client_internal/database/repository/node_repository.py +11 -0
- syrtis_python_client_internal/database/repository/operator_port_repository.py +11 -0
- syrtis_python_client_internal/database/repository/operator_repository.py +11 -0
- syrtis_python_client_internal/database/repository/panel_repository.py +11 -0
- syrtis_python_client_internal/database/repository/panel_stamp_repository.py +11 -0
- syrtis_python_client_internal/database/repository/pipeline_operator_repository.py +11 -0
- syrtis_python_client_internal/database/repository/pipeline_projection_repository.py +11 -0
- syrtis_python_client_internal/database/repository/pipeline_repository.py +11 -0
- syrtis_python_client_internal/database/repository/project_access_repository.py +11 -0
- syrtis_python_client_internal/database/repository/project_repository.py +11 -0
- syrtis_python_client_internal/database/repository/projection_config_repository.py +11 -0
- syrtis_python_client_internal/database/repository/projection_relation_repository.py +11 -0
- syrtis_python_client_internal/database/repository/projection_repository.py +11 -0
- syrtis_python_client_internal/database/repository/prompt_repository.py +11 -0
- syrtis_python_client_internal/database/repository/request_repository.py +11 -0
- syrtis_python_client_internal/database/repository/scenario_repository.py +11 -0
- syrtis_python_client_internal/database/repository/schema_repository.py +11 -0
- syrtis_python_client_internal/database/repository/session_group_repository.py +11 -0
- syrtis_python_client_internal/database/repository/session_repository.py +11 -0
- syrtis_python_client_internal/database/repository/slot_config_repository.py +11 -0
- syrtis_python_client_internal/database/repository/slot_message_repository.py +11 -0
- syrtis_python_client_internal/database/repository/slot_message_stamp_repository.py +11 -0
- syrtis_python_client_internal/database/repository/slot_relation_repository.py +11 -0
- syrtis_python_client_internal/database/repository/slot_repository.py +11 -0
- syrtis_python_client_internal/database/repository/source_repository.py +11 -0
- syrtis_python_client_internal/database/repository/storage_content_type_repository.py +11 -0
- syrtis_python_client_internal/database/repository/storage_repository.py +11 -0
- syrtis_python_client_internal/database/repository/template_repository.py +11 -0
- syrtis_python_client_internal/database/repository/timezone_repository.py +11 -0
- syrtis_python_client_internal/database/repository/token_repository.py +11 -0
- syrtis_python_client_internal/database/repository/trigger_config_repository.py +11 -0
- syrtis_python_client_internal/database/repository/trigger_repository.py +11 -0
- syrtis_python_client_internal/database/repository/user_config_repository.py +11 -0
- syrtis_python_client_internal/database/repository/user_repository.py +11 -0
- syrtis_python_client_internal/entity/__init__.py +0 -0
- syrtis_python_client_internal/entity/artifact.py +13 -0
- syrtis_python_client_internal/entity/content_type.py +13 -0
- syrtis_python_client_internal/entity/credential.py +13 -0
- syrtis_python_client_internal/entity/credential_parameter.py +13 -0
- syrtis_python_client_internal/entity/dashboard.py +13 -0
- syrtis_python_client_internal/entity/directory.py +13 -0
- syrtis_python_client_internal/entity/document_directory.py +13 -0
- syrtis_python_client_internal/entity/embedding.py +13 -0
- syrtis_python_client_internal/entity/extension.py +13 -0
- syrtis_python_client_internal/entity/generated/artifact_generated.py +37 -0
- syrtis_python_client_internal/entity/generated/content_type_generated.py +34 -0
- syrtis_python_client_internal/entity/generated/credential_generated.py +25 -0
- syrtis_python_client_internal/entity/generated/credential_parameter_generated.py +25 -0
- syrtis_python_client_internal/entity/generated/dashboard_generated.py +31 -0
- syrtis_python_client_internal/entity/generated/directory_generated.py +19 -0
- syrtis_python_client_internal/entity/generated/document_directory_generated.py +21 -0
- syrtis_python_client_internal/entity/generated/embedding_generated.py +28 -0
- syrtis_python_client_internal/entity/generated/extension_generated.py +27 -0
- syrtis_python_client_internal/entity/generated/instruction_generated.py +31 -0
- syrtis_python_client_internal/entity/generated/internal_sample_generated.py +7 -0
- syrtis_python_client_internal/entity/generated/layer_generated.py +15 -0
- syrtis_python_client_internal/entity/generated/log_generated.py +82 -0
- syrtis_python_client_internal/entity/generated/model_generated.py +30 -0
- syrtis_python_client_internal/entity/generated/operator_generated.py +22 -0
- syrtis_python_client_internal/entity/generated/operator_port_generated.py +28 -0
- syrtis_python_client_internal/entity/generated/panel_generated.py +58 -0
- syrtis_python_client_internal/entity/generated/panel_stamp_generated.py +19 -0
- syrtis_python_client_internal/entity/generated/pipeline_generated.py +46 -0
- syrtis_python_client_internal/entity/generated/pipeline_operator_generated.py +7 -0
- syrtis_python_client_internal/entity/generated/pipeline_projection_generated.py +25 -0
- syrtis_python_client_internal/entity/generated/project_access_generated.py +25 -0
- syrtis_python_client_internal/entity/generated/project_generated.py +31 -0
- syrtis_python_client_internal/entity/generated/projection_config_generated.py +34 -0
- syrtis_python_client_internal/entity/generated/projection_generated.py +43 -0
- syrtis_python_client_internal/entity/generated/projection_relation_generated.py +37 -0
- syrtis_python_client_internal/entity/generated/prompt_generated.py +64 -0
- syrtis_python_client_internal/entity/generated/schema_generated.py +12 -0
- syrtis_python_client_internal/entity/generated/session_group_generated.py +28 -0
- syrtis_python_client_internal/entity/generated/source_generated.py +28 -0
- syrtis_python_client_internal/entity/generated/storage_content_type_generated.py +21 -0
- syrtis_python_client_internal/entity/generated/storage_generated.py +22 -0
- syrtis_python_client_internal/entity/generated/token_generated.py +19 -0
- syrtis_python_client_internal/entity/generated/trigger_config_generated.py +21 -0
- syrtis_python_client_internal/entity/generated/trigger_generated.py +15 -0
- syrtis_python_client_internal/entity/generated/user_config_generated.py +28 -0
- syrtis_python_client_internal/entity/instruction.py +13 -0
- syrtis_python_client_internal/entity/internal_sample.py +13 -0
- syrtis_python_client_internal/entity/layer.py +13 -0
- syrtis_python_client_internal/entity/log.py +13 -0
- syrtis_python_client_internal/entity/model.py +13 -0
- syrtis_python_client_internal/entity/operator.py +13 -0
- syrtis_python_client_internal/entity/operator_port.py +13 -0
- syrtis_python_client_internal/entity/panel.py +13 -0
- syrtis_python_client_internal/entity/panel_stamp.py +13 -0
- syrtis_python_client_internal/entity/pipeline.py +13 -0
- syrtis_python_client_internal/entity/pipeline_operator.py +13 -0
- syrtis_python_client_internal/entity/pipeline_projection.py +13 -0
- syrtis_python_client_internal/entity/project.py +13 -0
- syrtis_python_client_internal/entity/project_access.py +13 -0
- syrtis_python_client_internal/entity/projection.py +13 -0
- syrtis_python_client_internal/entity/projection_config.py +13 -0
- syrtis_python_client_internal/entity/projection_relation.py +13 -0
- syrtis_python_client_internal/entity/prompt.py +14 -0
- syrtis_python_client_internal/entity/schema.py +13 -0
- syrtis_python_client_internal/entity/session_group.py +13 -0
- syrtis_python_client_internal/entity/source.py +13 -0
- syrtis_python_client_internal/entity/storage.py +13 -0
- syrtis_python_client_internal/entity/storage_content_type.py +13 -0
- syrtis_python_client_internal/entity/token.py +13 -0
- syrtis_python_client_internal/entity/trigger.py +13 -0
- syrtis_python_client_internal/entity/trigger_config.py +13 -0
- syrtis_python_client_internal/entity/user_config.py +13 -0
- syrtis_python_client_internal/py.typed +0 -0
- syrtis_python_client_internal/repository/__init__.py +0 -0
- syrtis_python_client_internal/repository/artifact_repository.py +13 -0
- syrtis_python_client_internal/repository/content_type_repository.py +13 -0
- syrtis_python_client_internal/repository/credential_parameter_repository.py +15 -0
- syrtis_python_client_internal/repository/credential_repository.py +13 -0
- syrtis_python_client_internal/repository/dashboard_repository.py +13 -0
- syrtis_python_client_internal/repository/directory_repository.py +13 -0
- syrtis_python_client_internal/repository/document_directory_repository.py +13 -0
- syrtis_python_client_internal/repository/embedding_repository.py +13 -0
- syrtis_python_client_internal/repository/extension_repository.py +13 -0
- syrtis_python_client_internal/repository/instruction_repository.py +13 -0
- syrtis_python_client_internal/repository/internal_sample_repository.py +13 -0
- syrtis_python_client_internal/repository/layer_repository.py +13 -0
- syrtis_python_client_internal/repository/log_repository.py +13 -0
- syrtis_python_client_internal/repository/model_repository.py +13 -0
- syrtis_python_client_internal/repository/operator_port_repository.py +13 -0
- syrtis_python_client_internal/repository/operator_repository.py +13 -0
- syrtis_python_client_internal/repository/panel_repository.py +13 -0
- syrtis_python_client_internal/repository/panel_stamp_repository.py +13 -0
- syrtis_python_client_internal/repository/pipeline_operator_repository.py +13 -0
- syrtis_python_client_internal/repository/pipeline_projection_repository.py +13 -0
- syrtis_python_client_internal/repository/pipeline_repository.py +13 -0
- syrtis_python_client_internal/repository/project_access_repository.py +13 -0
- syrtis_python_client_internal/repository/project_repository.py +13 -0
- syrtis_python_client_internal/repository/projection_config_repository.py +13 -0
- syrtis_python_client_internal/repository/projection_relation_repository.py +13 -0
- syrtis_python_client_internal/repository/projection_repository.py +13 -0
- syrtis_python_client_internal/repository/prompt_repository.py +13 -0
- syrtis_python_client_internal/repository/schema_repository.py +13 -0
- syrtis_python_client_internal/repository/session_group_repository.py +13 -0
- syrtis_python_client_internal/repository/source_repository.py +13 -0
- syrtis_python_client_internal/repository/storage_content_type_repository.py +13 -0
- syrtis_python_client_internal/repository/storage_repository.py +13 -0
- syrtis_python_client_internal/repository/token_repository.py +13 -0
- syrtis_python_client_internal/repository/trigger_config_repository.py +13 -0
- syrtis_python_client_internal/repository/trigger_repository.py +13 -0
- syrtis_python_client_internal/repository/user_config_repository.py +13 -0
- syrtis_python_client_internal-1.0.0.dist-info/METADATA +107 -0
- syrtis_python_client_internal-1.0.0.dist-info/RECORD +282 -0
- syrtis_python_client_internal-1.0.0.dist-info/WHEEL +4 -0
- syrtis_python_client_internal-1.0.0.dist-info/entry_points.txt +4 -0
- syrtis_syrtis_python_client_internal/__init__.py +0 -0
- syrtis_syrtis_python_client_internal/py.typed +0 -0
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
from __future__ import annotations
|
|
2
|
+
|
|
3
|
+
from syrtis_python_client_internal.database.repository.generated.slot_relation_repository_generated import (
|
|
4
|
+
SlotRelationRepositoryGenerated,
|
|
5
|
+
)
|
|
6
|
+
|
|
7
|
+
__all__ = ["SlotRelationRepository"]
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
class SlotRelationRepository(SlotRelationRepositoryGenerated):
|
|
11
|
+
pass
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
from __future__ import annotations
|
|
2
|
+
|
|
3
|
+
from syrtis_python_client_internal.database.repository.generated.slot_repository_generated import (
|
|
4
|
+
SlotRepositoryGenerated,
|
|
5
|
+
)
|
|
6
|
+
|
|
7
|
+
__all__ = ["SlotRepository"]
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
class SlotRepository(SlotRepositoryGenerated):
|
|
11
|
+
pass
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
from __future__ import annotations
|
|
2
|
+
|
|
3
|
+
from syrtis_python_client_internal.database.repository.generated.source_repository_generated import (
|
|
4
|
+
SourceRepositoryGenerated,
|
|
5
|
+
)
|
|
6
|
+
|
|
7
|
+
__all__ = ["SourceRepository"]
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
class SourceRepository(SourceRepositoryGenerated):
|
|
11
|
+
pass
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
from __future__ import annotations
|
|
2
|
+
|
|
3
|
+
from syrtis_python_client_internal.database.repository.generated.storage_content_type_repository_generated import (
|
|
4
|
+
StorageContentTypeRepositoryGenerated,
|
|
5
|
+
)
|
|
6
|
+
|
|
7
|
+
__all__ = ["StorageContentTypeRepository"]
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
class StorageContentTypeRepository(StorageContentTypeRepositoryGenerated):
|
|
11
|
+
pass
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
from __future__ import annotations
|
|
2
|
+
|
|
3
|
+
from syrtis_python_client_internal.database.repository.generated.storage_repository_generated import (
|
|
4
|
+
StorageRepositoryGenerated,
|
|
5
|
+
)
|
|
6
|
+
|
|
7
|
+
__all__ = ["StorageRepository"]
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
class StorageRepository(StorageRepositoryGenerated):
|
|
11
|
+
pass
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
from __future__ import annotations
|
|
2
|
+
|
|
3
|
+
from syrtis_python_client_internal.database.repository.generated.template_repository_generated import (
|
|
4
|
+
TemplateRepositoryGenerated,
|
|
5
|
+
)
|
|
6
|
+
|
|
7
|
+
__all__ = ["TemplateRepository"]
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
class TemplateRepository(TemplateRepositoryGenerated):
|
|
11
|
+
pass
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
from __future__ import annotations
|
|
2
|
+
|
|
3
|
+
from syrtis_python_client_internal.database.repository.generated.timezone_repository_generated import (
|
|
4
|
+
TimezoneRepositoryGenerated,
|
|
5
|
+
)
|
|
6
|
+
|
|
7
|
+
__all__ = ["TimezoneRepository"]
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
class TimezoneRepository(TimezoneRepositoryGenerated):
|
|
11
|
+
pass
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
from __future__ import annotations
|
|
2
|
+
|
|
3
|
+
from syrtis_python_client_internal.database.repository.generated.token_repository_generated import (
|
|
4
|
+
TokenRepositoryGenerated,
|
|
5
|
+
)
|
|
6
|
+
|
|
7
|
+
__all__ = ["TokenRepository"]
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
class TokenRepository(TokenRepositoryGenerated):
|
|
11
|
+
pass
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
from __future__ import annotations
|
|
2
|
+
|
|
3
|
+
from syrtis_python_client_internal.database.repository.generated.trigger_config_repository_generated import (
|
|
4
|
+
TriggerConfigRepositoryGenerated,
|
|
5
|
+
)
|
|
6
|
+
|
|
7
|
+
__all__ = ["TriggerConfigRepository"]
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
class TriggerConfigRepository(TriggerConfigRepositoryGenerated):
|
|
11
|
+
pass
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
from __future__ import annotations
|
|
2
|
+
|
|
3
|
+
from syrtis_python_client_internal.database.repository.generated.trigger_repository_generated import (
|
|
4
|
+
TriggerRepositoryGenerated,
|
|
5
|
+
)
|
|
6
|
+
|
|
7
|
+
__all__ = ["TriggerRepository"]
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
class TriggerRepository(TriggerRepositoryGenerated):
|
|
11
|
+
pass
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
from __future__ import annotations
|
|
2
|
+
|
|
3
|
+
from syrtis_python_client_internal.database.repository.generated.user_config_repository_generated import (
|
|
4
|
+
UserConfigRepositoryGenerated,
|
|
5
|
+
)
|
|
6
|
+
|
|
7
|
+
__all__ = ["UserConfigRepository"]
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
class UserConfigRepository(UserConfigRepositoryGenerated):
|
|
11
|
+
pass
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
from __future__ import annotations
|
|
2
|
+
|
|
3
|
+
from syrtis_python_client_internal.database.repository.generated.user_repository_generated import (
|
|
4
|
+
UserRepositoryGenerated,
|
|
5
|
+
)
|
|
6
|
+
|
|
7
|
+
__all__ = ["UserRepository"]
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
class UserRepository(UserRepositoryGenerated):
|
|
11
|
+
pass
|
|
File without changes
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
from __future__ import annotations
|
|
2
|
+
|
|
3
|
+
from wexample_orm.entity.abstract_entity import AbstractEntity
|
|
4
|
+
|
|
5
|
+
from syrtis_python_client_internal.entity.generated.artifact_generated import (
|
|
6
|
+
ArtifactGenerated,
|
|
7
|
+
)
|
|
8
|
+
|
|
9
|
+
__all__ = ["Artifact", "ArtifactGenerated"]
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
class Artifact(ArtifactGenerated, AbstractEntity):
|
|
13
|
+
pass
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
from __future__ import annotations
|
|
2
|
+
|
|
3
|
+
from wexample_orm.entity.abstract_entity import AbstractEntity
|
|
4
|
+
|
|
5
|
+
from syrtis_python_client_internal.entity.generated.content_type_generated import (
|
|
6
|
+
ContentTypeGenerated,
|
|
7
|
+
)
|
|
8
|
+
|
|
9
|
+
__all__ = ["ContentType", "ContentTypeGenerated"]
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
class ContentType(ContentTypeGenerated, AbstractEntity):
|
|
13
|
+
pass
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
from __future__ import annotations
|
|
2
|
+
|
|
3
|
+
from wexample_orm.entity.abstract_entity import AbstractEntity
|
|
4
|
+
|
|
5
|
+
from syrtis_python_client_internal.entity.generated.credential_generated import (
|
|
6
|
+
CredentialGenerated,
|
|
7
|
+
)
|
|
8
|
+
|
|
9
|
+
__all__ = ["Credential", "CredentialGenerated"]
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
class Credential(CredentialGenerated, AbstractEntity):
|
|
13
|
+
pass
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
from __future__ import annotations
|
|
2
|
+
|
|
3
|
+
from wexample_orm.entity.abstract_entity import AbstractEntity
|
|
4
|
+
|
|
5
|
+
from syrtis_python_client_internal.entity.generated.credential_parameter_generated import (
|
|
6
|
+
CredentialParameterGenerated,
|
|
7
|
+
)
|
|
8
|
+
|
|
9
|
+
__all__ = ["CredentialParameter", "CredentialParameterGenerated"]
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
class CredentialParameter(CredentialParameterGenerated, AbstractEntity):
|
|
13
|
+
pass
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
from __future__ import annotations
|
|
2
|
+
|
|
3
|
+
from wexample_orm.entity.abstract_entity import AbstractEntity
|
|
4
|
+
|
|
5
|
+
from syrtis_python_client_internal.entity.generated.dashboard_generated import (
|
|
6
|
+
DashboardGenerated,
|
|
7
|
+
)
|
|
8
|
+
|
|
9
|
+
__all__ = ["Dashboard", "DashboardGenerated"]
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
class Dashboard(DashboardGenerated, AbstractEntity):
|
|
13
|
+
pass
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
from __future__ import annotations
|
|
2
|
+
|
|
3
|
+
from wexample_orm.entity.abstract_entity import AbstractEntity
|
|
4
|
+
|
|
5
|
+
from syrtis_python_client_internal.entity.generated.directory_generated import (
|
|
6
|
+
DirectoryGenerated,
|
|
7
|
+
)
|
|
8
|
+
|
|
9
|
+
__all__ = ["Directory", "DirectoryGenerated"]
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
class Directory(DirectoryGenerated, AbstractEntity):
|
|
13
|
+
pass
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
from __future__ import annotations
|
|
2
|
+
|
|
3
|
+
from wexample_orm.entity.abstract_entity import AbstractEntity
|
|
4
|
+
|
|
5
|
+
from syrtis_python_client_internal.entity.generated.document_directory_generated import (
|
|
6
|
+
DocumentDirectoryGenerated,
|
|
7
|
+
)
|
|
8
|
+
|
|
9
|
+
__all__ = ["DocumentDirectory", "DocumentDirectoryGenerated"]
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
class DocumentDirectory(DocumentDirectoryGenerated, AbstractEntity):
|
|
13
|
+
pass
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
from __future__ import annotations
|
|
2
|
+
|
|
3
|
+
from wexample_orm.entity.abstract_entity import AbstractEntity
|
|
4
|
+
|
|
5
|
+
from syrtis_python_client_internal.entity.generated.embedding_generated import (
|
|
6
|
+
EmbeddingGenerated,
|
|
7
|
+
)
|
|
8
|
+
|
|
9
|
+
__all__ = ["Embedding", "EmbeddingGenerated"]
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
class Embedding(EmbeddingGenerated, AbstractEntity):
|
|
13
|
+
pass
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
from __future__ import annotations
|
|
2
|
+
|
|
3
|
+
from wexample_orm.entity.abstract_entity import AbstractEntity
|
|
4
|
+
|
|
5
|
+
from syrtis_python_client_internal.entity.generated.extension_generated import (
|
|
6
|
+
ExtensionGenerated,
|
|
7
|
+
)
|
|
8
|
+
|
|
9
|
+
__all__ = ["Extension", "ExtensionGenerated"]
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
class Extension(ExtensionGenerated, AbstractEntity):
|
|
13
|
+
pass
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
from sqlalchemy import ForeignKey, String, Uuid
|
|
2
|
+
from sqlalchemy.orm import Mapped, declared_attr, mapped_column, relationship
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
class ArtifactGenerated:
|
|
6
|
+
@classmethod
|
|
7
|
+
def get_entity_name(cls) -> str:
|
|
8
|
+
return 'artifact'
|
|
9
|
+
|
|
10
|
+
@declared_attr
|
|
11
|
+
def secureId(cls) -> Mapped[object]:
|
|
12
|
+
return mapped_column('secure_id', String(255), nullable=False)
|
|
13
|
+
|
|
14
|
+
@declared_attr
|
|
15
|
+
def content_type_id(cls) -> Mapped[object]:
|
|
16
|
+
return mapped_column(Uuid, ForeignKey('content_type.id'), nullable=False)
|
|
17
|
+
@declared_attr
|
|
18
|
+
def contentType(cls) -> Mapped[object]:
|
|
19
|
+
return relationship('ContentType', foreign_keys='Artifact.content_type_id', lazy='select')
|
|
20
|
+
@declared_attr
|
|
21
|
+
def storage_id(cls) -> Mapped[object]:
|
|
22
|
+
return mapped_column(Uuid, ForeignKey('storage.id'), nullable=False)
|
|
23
|
+
@declared_attr
|
|
24
|
+
def storage(cls) -> Mapped[object]:
|
|
25
|
+
return relationship('Storage', foreign_keys='Artifact.storage_id', lazy='select')
|
|
26
|
+
@declared_attr
|
|
27
|
+
def projection_id(cls) -> Mapped[object]:
|
|
28
|
+
return mapped_column(Uuid, ForeignKey('projection.id'), nullable=False)
|
|
29
|
+
@declared_attr
|
|
30
|
+
def projection(cls) -> Mapped[object]:
|
|
31
|
+
return relationship('Projection', foreign_keys='Artifact.projection_id', back_populates='artifacts', lazy='select')
|
|
32
|
+
@declared_attr
|
|
33
|
+
def operator_port_id(cls) -> Mapped[object]:
|
|
34
|
+
return mapped_column(Uuid, ForeignKey('operator_port.id'), nullable=False)
|
|
35
|
+
@declared_attr
|
|
36
|
+
def operatorPort(cls) -> Mapped[object]:
|
|
37
|
+
return relationship('OperatorPort', foreign_keys='Artifact.operator_port_id', lazy='select')
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
from sqlalchemy import ForeignKey, JSON, String, Uuid
|
|
2
|
+
from sqlalchemy.orm import Mapped, declared_attr, mapped_column, relationship
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
class ContentTypeGenerated:
|
|
6
|
+
@classmethod
|
|
7
|
+
def get_entity_name(cls) -> str:
|
|
8
|
+
return 'content_type'
|
|
9
|
+
|
|
10
|
+
@declared_attr
|
|
11
|
+
def secureId(cls) -> Mapped[object]:
|
|
12
|
+
return mapped_column('secure_id', String(255), nullable=False)
|
|
13
|
+
@declared_attr
|
|
14
|
+
def name(cls) -> Mapped[object]:
|
|
15
|
+
return mapped_column(String(255), nullable=False)
|
|
16
|
+
@declared_attr
|
|
17
|
+
def title(cls) -> Mapped[object]:
|
|
18
|
+
return mapped_column(String(255), nullable=False)
|
|
19
|
+
@declared_attr
|
|
20
|
+
def schema(cls) -> Mapped[object]:
|
|
21
|
+
return mapped_column(JSON, nullable=True)
|
|
22
|
+
|
|
23
|
+
@declared_attr
|
|
24
|
+
def project_id(cls) -> Mapped[object]:
|
|
25
|
+
return mapped_column(Uuid, ForeignKey('project.id'), nullable=True)
|
|
26
|
+
@declared_attr
|
|
27
|
+
def project(cls) -> Mapped[object]:
|
|
28
|
+
return relationship('Project', foreign_keys='ContentType.project_id', lazy='select')
|
|
29
|
+
@declared_attr
|
|
30
|
+
def extension_id(cls) -> Mapped[object]:
|
|
31
|
+
return mapped_column(Uuid, ForeignKey('extension.id'), nullable=True)
|
|
32
|
+
@declared_attr
|
|
33
|
+
def extension(cls) -> Mapped[object]:
|
|
34
|
+
return relationship('Extension', foreign_keys='ContentType.extension_id', lazy='select')
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
from sqlalchemy import DateTime, String
|
|
2
|
+
from sqlalchemy.orm import Mapped, declared_attr, mapped_column, relationship
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
class CredentialGenerated:
|
|
6
|
+
@classmethod
|
|
7
|
+
def get_entity_name(cls) -> str:
|
|
8
|
+
return 'credential'
|
|
9
|
+
|
|
10
|
+
@declared_attr
|
|
11
|
+
def title(cls) -> Mapped[object]:
|
|
12
|
+
return mapped_column(String(255), nullable=False)
|
|
13
|
+
@declared_attr
|
|
14
|
+
def dateCreated(cls) -> Mapped[object]:
|
|
15
|
+
return mapped_column('date_created', DateTime, nullable=False)
|
|
16
|
+
@declared_attr
|
|
17
|
+
def type(cls) -> Mapped[object]:
|
|
18
|
+
return mapped_column(String(120), nullable=False)
|
|
19
|
+
@declared_attr
|
|
20
|
+
def secureId(cls) -> Mapped[object]:
|
|
21
|
+
return mapped_column('secure_id', String(255), nullable=False)
|
|
22
|
+
|
|
23
|
+
@declared_attr
|
|
24
|
+
def credentialParameters(cls) -> Mapped[list['CredentialParameter']]:
|
|
25
|
+
return relationship('CredentialParameter', foreign_keys='CredentialParameter.credential_id', back_populates='credential', lazy='select')
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
from sqlalchemy import ForeignKey, String, Uuid
|
|
2
|
+
from sqlalchemy.orm import Mapped, declared_attr, mapped_column, relationship
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
class CredentialParameterGenerated:
|
|
6
|
+
@classmethod
|
|
7
|
+
def get_entity_name(cls) -> str:
|
|
8
|
+
return 'credential_parameter'
|
|
9
|
+
|
|
10
|
+
@declared_attr
|
|
11
|
+
def name(cls) -> Mapped[object]:
|
|
12
|
+
return mapped_column(String(255), nullable=False)
|
|
13
|
+
@declared_attr
|
|
14
|
+
def value(cls) -> Mapped[object]:
|
|
15
|
+
return mapped_column(String(255), nullable=True)
|
|
16
|
+
@declared_attr
|
|
17
|
+
def secureId(cls) -> Mapped[object]:
|
|
18
|
+
return mapped_column('secure_id', String(255), nullable=False)
|
|
19
|
+
|
|
20
|
+
@declared_attr
|
|
21
|
+
def credential_id(cls) -> Mapped[object]:
|
|
22
|
+
return mapped_column(Uuid, ForeignKey('credential.id'), nullable=False)
|
|
23
|
+
@declared_attr
|
|
24
|
+
def credential(cls) -> Mapped[object]:
|
|
25
|
+
return relationship('Credential', foreign_keys='CredentialParameter.credential_id', back_populates='credentialParameters', lazy='select')
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
from sqlalchemy import DateTime, ForeignKey, String, Uuid
|
|
2
|
+
from sqlalchemy.orm import Mapped, declared_attr, mapped_column, relationship
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
class DashboardGenerated:
|
|
6
|
+
@classmethod
|
|
7
|
+
def get_entity_name(cls) -> str:
|
|
8
|
+
return 'dashboard'
|
|
9
|
+
|
|
10
|
+
@declared_attr
|
|
11
|
+
def secureId(cls) -> Mapped[object]:
|
|
12
|
+
return mapped_column('secure_id', String(255), nullable=False)
|
|
13
|
+
@declared_attr
|
|
14
|
+
def title(cls) -> Mapped[object]:
|
|
15
|
+
return mapped_column(String(255), nullable=False)
|
|
16
|
+
@declared_attr
|
|
17
|
+
def dateCreated(cls) -> Mapped[object]:
|
|
18
|
+
return mapped_column('date_created', DateTime, nullable=False)
|
|
19
|
+
|
|
20
|
+
@declared_attr
|
|
21
|
+
def scenario_id(cls) -> Mapped[object]:
|
|
22
|
+
return mapped_column(Uuid, ForeignKey('scenario.id'), nullable=False)
|
|
23
|
+
@declared_attr
|
|
24
|
+
def scenario(cls) -> Mapped[object]:
|
|
25
|
+
return relationship('Scenario', foreign_keys='Dashboard.scenario_id', lazy='select')
|
|
26
|
+
@declared_attr
|
|
27
|
+
def user_id(cls) -> Mapped[object]:
|
|
28
|
+
return mapped_column(Uuid, ForeignKey('user.id'), nullable=False)
|
|
29
|
+
@declared_attr
|
|
30
|
+
def user(cls) -> Mapped[object]:
|
|
31
|
+
return relationship('User', foreign_keys='Dashboard.user_id', lazy='select')
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
from sqlalchemy import String
|
|
2
|
+
from sqlalchemy.orm import Mapped, declared_attr, mapped_column, relationship
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
class DirectoryGenerated:
|
|
6
|
+
@classmethod
|
|
7
|
+
def get_entity_name(cls) -> str:
|
|
8
|
+
return 'directory'
|
|
9
|
+
|
|
10
|
+
@declared_attr
|
|
11
|
+
def secureId(cls) -> Mapped[object]:
|
|
12
|
+
return mapped_column('secure_id', String(255), nullable=False)
|
|
13
|
+
@declared_attr
|
|
14
|
+
def name(cls) -> Mapped[object]:
|
|
15
|
+
return mapped_column(String(255), nullable=False)
|
|
16
|
+
|
|
17
|
+
@declared_attr
|
|
18
|
+
def documentDirectories(cls) -> Mapped[list['DocumentDirectory']]:
|
|
19
|
+
return relationship('DocumentDirectory', foreign_keys='DocumentDirectory.directory_id', back_populates='directory', lazy='select')
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
from sqlalchemy import ForeignKey, Uuid
|
|
2
|
+
from sqlalchemy.orm import Mapped, declared_attr, mapped_column, relationship
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
class DocumentDirectoryGenerated:
|
|
6
|
+
@classmethod
|
|
7
|
+
def get_entity_name(cls) -> str:
|
|
8
|
+
return 'document_directory'
|
|
9
|
+
|
|
10
|
+
@declared_attr
|
|
11
|
+
def document_id(cls) -> Mapped[object]:
|
|
12
|
+
return mapped_column(Uuid, ForeignKey('document.id'), nullable=False)
|
|
13
|
+
@declared_attr
|
|
14
|
+
def document(cls) -> Mapped[object]:
|
|
15
|
+
return relationship('Document', foreign_keys='DocumentDirectory.document_id', lazy='select')
|
|
16
|
+
@declared_attr
|
|
17
|
+
def directory_id(cls) -> Mapped[object]:
|
|
18
|
+
return mapped_column(Uuid, ForeignKey('directory.id'), nullable=False)
|
|
19
|
+
@declared_attr
|
|
20
|
+
def directory(cls) -> Mapped[object]:
|
|
21
|
+
return relationship('Directory', foreign_keys='DocumentDirectory.directory_id', back_populates='documentDirectories', lazy='select')
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
from sqlalchemy import DateTime, ForeignKey, String, Uuid
|
|
2
|
+
from sqlalchemy.orm import Mapped, declared_attr, mapped_column, relationship
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
class EmbeddingGenerated:
|
|
6
|
+
@classmethod
|
|
7
|
+
def get_entity_name(cls) -> str:
|
|
8
|
+
return 'embedding'
|
|
9
|
+
|
|
10
|
+
@declared_attr
|
|
11
|
+
def dateCreated(cls) -> Mapped[object]:
|
|
12
|
+
return mapped_column('date_created', DateTime, nullable=False)
|
|
13
|
+
@declared_attr
|
|
14
|
+
def embedding(cls) -> Mapped[object]:
|
|
15
|
+
return mapped_column(String, nullable=False)
|
|
16
|
+
|
|
17
|
+
@declared_attr
|
|
18
|
+
def model_id(cls) -> Mapped[object]:
|
|
19
|
+
return mapped_column(Uuid, ForeignKey('model.id'), nullable=False)
|
|
20
|
+
@declared_attr
|
|
21
|
+
def model(cls) -> Mapped[object]:
|
|
22
|
+
return relationship('Model', foreign_keys='Embedding.model_id', lazy='select')
|
|
23
|
+
@declared_attr
|
|
24
|
+
def chunk_id(cls) -> Mapped[object]:
|
|
25
|
+
return mapped_column(Uuid, ForeignKey('chunk.id'), nullable=False)
|
|
26
|
+
@declared_attr
|
|
27
|
+
def chunk(cls) -> Mapped[object]:
|
|
28
|
+
return relationship('Chunk', foreign_keys='Embedding.chunk_id', lazy='select')
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
from sqlalchemy import Integer, String
|
|
2
|
+
from sqlalchemy.orm import Mapped, declared_attr, mapped_column
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
class ExtensionGenerated:
|
|
6
|
+
@classmethod
|
|
7
|
+
def get_entity_name(cls) -> str:
|
|
8
|
+
return 'extension'
|
|
9
|
+
|
|
10
|
+
@declared_attr
|
|
11
|
+
def name(cls) -> Mapped[object]:
|
|
12
|
+
return mapped_column(String(255), nullable=False)
|
|
13
|
+
@declared_attr
|
|
14
|
+
def title(cls) -> Mapped[object]:
|
|
15
|
+
return mapped_column(String(255), nullable=False)
|
|
16
|
+
@declared_attr
|
|
17
|
+
def versionMajor(cls) -> Mapped[object]:
|
|
18
|
+
return mapped_column('version_major', Integer, nullable=False)
|
|
19
|
+
@declared_attr
|
|
20
|
+
def versionMinor(cls) -> Mapped[object]:
|
|
21
|
+
return mapped_column('version_minor', Integer, nullable=False)
|
|
22
|
+
@declared_attr
|
|
23
|
+
def versionPatch(cls) -> Mapped[object]:
|
|
24
|
+
return mapped_column('version_patch', Integer, nullable=False)
|
|
25
|
+
@declared_attr
|
|
26
|
+
def secureId(cls) -> Mapped[object]:
|
|
27
|
+
return mapped_column('secure_id', String(255), nullable=False)
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
from sqlalchemy import DateTime, ForeignKey, String, Text, Uuid
|
|
2
|
+
from sqlalchemy.orm import Mapped, declared_attr, mapped_column, relationship
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
class InstructionGenerated:
|
|
6
|
+
@classmethod
|
|
7
|
+
def get_entity_name(cls) -> str:
|
|
8
|
+
return 'instruction'
|
|
9
|
+
|
|
10
|
+
@declared_attr
|
|
11
|
+
def body(cls) -> Mapped[object]:
|
|
12
|
+
return mapped_column(Text, nullable=True)
|
|
13
|
+
@declared_attr
|
|
14
|
+
def dateCreated(cls) -> Mapped[object]:
|
|
15
|
+
return mapped_column('date_created', DateTime, nullable=False)
|
|
16
|
+
@declared_attr
|
|
17
|
+
def format(cls) -> Mapped[object]:
|
|
18
|
+
return mapped_column(String(255), nullable=False)
|
|
19
|
+
|
|
20
|
+
@declared_attr
|
|
21
|
+
def user_id(cls) -> Mapped[object]:
|
|
22
|
+
return mapped_column(Uuid, ForeignKey('user.id'), nullable=False)
|
|
23
|
+
@declared_attr
|
|
24
|
+
def user(cls) -> Mapped[object]:
|
|
25
|
+
return relationship('User', foreign_keys='Instruction.user_id', lazy='select')
|
|
26
|
+
@declared_attr
|
|
27
|
+
def model_id(cls) -> Mapped[object]:
|
|
28
|
+
return mapped_column(Uuid, ForeignKey('model.id'), nullable=True)
|
|
29
|
+
@declared_attr
|
|
30
|
+
def model(cls) -> Mapped[object]:
|
|
31
|
+
return relationship('Model', foreign_keys='Instruction.model_id', lazy='select')
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
from sqlalchemy import Integer, String
|
|
2
|
+
from sqlalchemy.orm import Mapped, declared_attr, mapped_column
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
class LayerGenerated:
|
|
6
|
+
@classmethod
|
|
7
|
+
def get_entity_name(cls) -> str:
|
|
8
|
+
return 'layer'
|
|
9
|
+
|
|
10
|
+
@declared_attr
|
|
11
|
+
def name(cls) -> Mapped[object]:
|
|
12
|
+
return mapped_column(String(255), nullable=False)
|
|
13
|
+
@declared_attr
|
|
14
|
+
def depth(cls) -> Mapped[object]:
|
|
15
|
+
return mapped_column(Integer, nullable=False)
|