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,13 @@
|
|
|
1
|
+
from __future__ import annotations
|
|
2
|
+
|
|
3
|
+
from syrtis_python_client.repository.abstract_api_repository import (
|
|
4
|
+
AbstractApiRepository,
|
|
5
|
+
)
|
|
6
|
+
|
|
7
|
+
from syrtis_python_client_internal.entity.internal_sample import InternalSample
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
class InternalSampleRepository(AbstractApiRepository[InternalSample]):
|
|
11
|
+
@classmethod
|
|
12
|
+
def get_entity_type(cls) -> type[InternalSample]:
|
|
13
|
+
return InternalSample
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
from __future__ import annotations
|
|
2
|
+
|
|
3
|
+
from syrtis_python_client.repository.abstract_api_repository import (
|
|
4
|
+
AbstractApiRepository,
|
|
5
|
+
)
|
|
6
|
+
|
|
7
|
+
from syrtis_python_client_internal.entity.layer import Layer
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
class LayerRepository(AbstractApiRepository[Layer]):
|
|
11
|
+
@classmethod
|
|
12
|
+
def get_entity_type(cls) -> type[Layer]:
|
|
13
|
+
return Layer
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
from __future__ import annotations
|
|
2
|
+
|
|
3
|
+
from syrtis_python_client.repository.abstract_api_repository import (
|
|
4
|
+
AbstractApiRepository,
|
|
5
|
+
)
|
|
6
|
+
|
|
7
|
+
from syrtis_python_client_internal.entity.log import Log
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
class LogRepository(AbstractApiRepository[Log]):
|
|
11
|
+
@classmethod
|
|
12
|
+
def get_entity_type(cls) -> type[Log]:
|
|
13
|
+
return Log
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
from __future__ import annotations
|
|
2
|
+
|
|
3
|
+
from syrtis_python_client.repository.abstract_api_repository import (
|
|
4
|
+
AbstractApiRepository,
|
|
5
|
+
)
|
|
6
|
+
|
|
7
|
+
from syrtis_python_client_internal.entity.model import Model
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
class ModelRepository(AbstractApiRepository[Model]):
|
|
11
|
+
@classmethod
|
|
12
|
+
def get_entity_type(cls) -> type[Model]:
|
|
13
|
+
return Model
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
from __future__ import annotations
|
|
2
|
+
|
|
3
|
+
from syrtis_python_client.repository.abstract_api_repository import (
|
|
4
|
+
AbstractApiRepository,
|
|
5
|
+
)
|
|
6
|
+
|
|
7
|
+
from syrtis_python_client_internal.entity.operator_port import OperatorPort
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
class OperatorPortRepository(AbstractApiRepository[OperatorPort]):
|
|
11
|
+
@classmethod
|
|
12
|
+
def get_entity_type(cls) -> type[OperatorPort]:
|
|
13
|
+
return OperatorPort
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
from __future__ import annotations
|
|
2
|
+
|
|
3
|
+
from syrtis_python_client.repository.abstract_api_repository import (
|
|
4
|
+
AbstractApiRepository,
|
|
5
|
+
)
|
|
6
|
+
|
|
7
|
+
from syrtis_python_client_internal.entity.operator import Operator
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
class OperatorRepository(AbstractApiRepository[Operator]):
|
|
11
|
+
@classmethod
|
|
12
|
+
def get_entity_type(cls) -> type[Operator]:
|
|
13
|
+
return Operator
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
from __future__ import annotations
|
|
2
|
+
|
|
3
|
+
from syrtis_python_client.repository.abstract_api_repository import (
|
|
4
|
+
AbstractApiRepository,
|
|
5
|
+
)
|
|
6
|
+
|
|
7
|
+
from syrtis_python_client_internal.entity.panel import Panel
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
class PanelRepository(AbstractApiRepository[Panel]):
|
|
11
|
+
@classmethod
|
|
12
|
+
def get_entity_type(cls) -> type[Panel]:
|
|
13
|
+
return Panel
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
from __future__ import annotations
|
|
2
|
+
|
|
3
|
+
from syrtis_python_client.repository.abstract_api_repository import (
|
|
4
|
+
AbstractApiRepository,
|
|
5
|
+
)
|
|
6
|
+
|
|
7
|
+
from syrtis_python_client_internal.entity.panel_stamp import PanelStamp
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
class PanelStampRepository(AbstractApiRepository[PanelStamp]):
|
|
11
|
+
@classmethod
|
|
12
|
+
def get_entity_type(cls) -> type[PanelStamp]:
|
|
13
|
+
return PanelStamp
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
from __future__ import annotations
|
|
2
|
+
|
|
3
|
+
from syrtis_python_client.repository.abstract_api_repository import (
|
|
4
|
+
AbstractApiRepository,
|
|
5
|
+
)
|
|
6
|
+
|
|
7
|
+
from syrtis_python_client_internal.entity.pipeline_operator import PipelineOperator
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
class PipelineOperatorRepository(AbstractApiRepository[PipelineOperator]):
|
|
11
|
+
@classmethod
|
|
12
|
+
def get_entity_type(cls) -> type[PipelineOperator]:
|
|
13
|
+
return PipelineOperator
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
from __future__ import annotations
|
|
2
|
+
|
|
3
|
+
from syrtis_python_client.repository.abstract_api_repository import (
|
|
4
|
+
AbstractApiRepository,
|
|
5
|
+
)
|
|
6
|
+
|
|
7
|
+
from syrtis_python_client_internal.entity.pipeline_projection import PipelineProjection
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
class PipelineProjectionRepository(AbstractApiRepository[PipelineProjection]):
|
|
11
|
+
@classmethod
|
|
12
|
+
def get_entity_type(cls) -> type[PipelineProjection]:
|
|
13
|
+
return PipelineProjection
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
from __future__ import annotations
|
|
2
|
+
|
|
3
|
+
from syrtis_python_client.repository.abstract_api_repository import (
|
|
4
|
+
AbstractApiRepository,
|
|
5
|
+
)
|
|
6
|
+
|
|
7
|
+
from syrtis_python_client_internal.entity.pipeline import Pipeline
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
class PipelineRepository(AbstractApiRepository[Pipeline]):
|
|
11
|
+
@classmethod
|
|
12
|
+
def get_entity_type(cls) -> type[Pipeline]:
|
|
13
|
+
return Pipeline
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
from __future__ import annotations
|
|
2
|
+
|
|
3
|
+
from syrtis_python_client.repository.abstract_api_repository import (
|
|
4
|
+
AbstractApiRepository,
|
|
5
|
+
)
|
|
6
|
+
|
|
7
|
+
from syrtis_python_client_internal.entity.project_access import ProjectAccess
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
class ProjectAccessRepository(AbstractApiRepository[ProjectAccess]):
|
|
11
|
+
@classmethod
|
|
12
|
+
def get_entity_type(cls) -> type[ProjectAccess]:
|
|
13
|
+
return ProjectAccess
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
from __future__ import annotations
|
|
2
|
+
|
|
3
|
+
from syrtis_python_client.repository.abstract_api_repository import (
|
|
4
|
+
AbstractApiRepository,
|
|
5
|
+
)
|
|
6
|
+
|
|
7
|
+
from syrtis_python_client_internal.entity.project import Project
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
class ProjectRepository(AbstractApiRepository[Project]):
|
|
11
|
+
@classmethod
|
|
12
|
+
def get_entity_type(cls) -> type[Project]:
|
|
13
|
+
return Project
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
from __future__ import annotations
|
|
2
|
+
|
|
3
|
+
from syrtis_python_client.repository.abstract_api_repository import (
|
|
4
|
+
AbstractApiRepository,
|
|
5
|
+
)
|
|
6
|
+
|
|
7
|
+
from syrtis_python_client_internal.entity.projection_config import ProjectionConfig
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
class ProjectionConfigRepository(AbstractApiRepository[ProjectionConfig]):
|
|
11
|
+
@classmethod
|
|
12
|
+
def get_entity_type(cls) -> type[ProjectionConfig]:
|
|
13
|
+
return ProjectionConfig
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
from __future__ import annotations
|
|
2
|
+
|
|
3
|
+
from syrtis_python_client.repository.abstract_api_repository import (
|
|
4
|
+
AbstractApiRepository,
|
|
5
|
+
)
|
|
6
|
+
|
|
7
|
+
from syrtis_python_client_internal.entity.projection_relation import ProjectionRelation
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
class ProjectionRelationRepository(AbstractApiRepository[ProjectionRelation]):
|
|
11
|
+
@classmethod
|
|
12
|
+
def get_entity_type(cls) -> type[ProjectionRelation]:
|
|
13
|
+
return ProjectionRelation
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
from __future__ import annotations
|
|
2
|
+
|
|
3
|
+
from syrtis_python_client.repository.abstract_api_repository import (
|
|
4
|
+
AbstractApiRepository,
|
|
5
|
+
)
|
|
6
|
+
|
|
7
|
+
from syrtis_python_client_internal.entity.projection import Projection
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
class ProjectionRepository(AbstractApiRepository[Projection]):
|
|
11
|
+
@classmethod
|
|
12
|
+
def get_entity_type(cls) -> type[Projection]:
|
|
13
|
+
return Projection
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
from __future__ import annotations
|
|
2
|
+
|
|
3
|
+
from syrtis_python_client.repository.abstract_api_repository import (
|
|
4
|
+
AbstractApiRepository,
|
|
5
|
+
)
|
|
6
|
+
|
|
7
|
+
from syrtis_python_client_internal.entity.prompt import Prompt
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
class PromptRepository(AbstractApiRepository[Prompt]):
|
|
11
|
+
@classmethod
|
|
12
|
+
def get_entity_type(cls) -> type[Prompt]:
|
|
13
|
+
return Prompt
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
from __future__ import annotations
|
|
2
|
+
|
|
3
|
+
from syrtis_python_client.repository.abstract_api_repository import (
|
|
4
|
+
AbstractApiRepository,
|
|
5
|
+
)
|
|
6
|
+
|
|
7
|
+
from syrtis_python_client_internal.entity.schema import Schema
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
class SchemaRepository(AbstractApiRepository[Schema]):
|
|
11
|
+
@classmethod
|
|
12
|
+
def get_entity_type(cls) -> type[Schema]:
|
|
13
|
+
return Schema
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
from __future__ import annotations
|
|
2
|
+
|
|
3
|
+
from syrtis_python_client.repository.abstract_api_repository import (
|
|
4
|
+
AbstractApiRepository,
|
|
5
|
+
)
|
|
6
|
+
|
|
7
|
+
from syrtis_python_client_internal.entity.session_group import SessionGroup
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
class SessionGroupRepository(AbstractApiRepository[SessionGroup]):
|
|
11
|
+
@classmethod
|
|
12
|
+
def get_entity_type(cls) -> type[SessionGroup]:
|
|
13
|
+
return SessionGroup
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
from __future__ import annotations
|
|
2
|
+
|
|
3
|
+
from syrtis_python_client.repository.abstract_api_repository import (
|
|
4
|
+
AbstractApiRepository,
|
|
5
|
+
)
|
|
6
|
+
|
|
7
|
+
from syrtis_python_client_internal.entity.source import Source
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
class SourceRepository(AbstractApiRepository[Source]):
|
|
11
|
+
@classmethod
|
|
12
|
+
def get_entity_type(cls) -> type[Source]:
|
|
13
|
+
return Source
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
from __future__ import annotations
|
|
2
|
+
|
|
3
|
+
from syrtis_python_client.repository.abstract_api_repository import (
|
|
4
|
+
AbstractApiRepository,
|
|
5
|
+
)
|
|
6
|
+
|
|
7
|
+
from syrtis_python_client_internal.entity.storage_content_type import StorageContentType
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
class StorageContentTypeRepository(AbstractApiRepository[StorageContentType]):
|
|
11
|
+
@classmethod
|
|
12
|
+
def get_entity_type(cls) -> type[StorageContentType]:
|
|
13
|
+
return StorageContentType
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
from __future__ import annotations
|
|
2
|
+
|
|
3
|
+
from syrtis_python_client.repository.abstract_api_repository import (
|
|
4
|
+
AbstractApiRepository,
|
|
5
|
+
)
|
|
6
|
+
|
|
7
|
+
from syrtis_python_client_internal.entity.storage import Storage
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
class StorageRepository(AbstractApiRepository[Storage]):
|
|
11
|
+
@classmethod
|
|
12
|
+
def get_entity_type(cls) -> type[Storage]:
|
|
13
|
+
return Storage
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
from __future__ import annotations
|
|
2
|
+
|
|
3
|
+
from syrtis_python_client.repository.abstract_api_repository import (
|
|
4
|
+
AbstractApiRepository,
|
|
5
|
+
)
|
|
6
|
+
|
|
7
|
+
from syrtis_python_client_internal.entity.token import Token
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
class TokenRepository(AbstractApiRepository[Token]):
|
|
11
|
+
@classmethod
|
|
12
|
+
def get_entity_type(cls) -> type[Token]:
|
|
13
|
+
return Token
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
from __future__ import annotations
|
|
2
|
+
|
|
3
|
+
from syrtis_python_client.repository.abstract_api_repository import (
|
|
4
|
+
AbstractApiRepository,
|
|
5
|
+
)
|
|
6
|
+
|
|
7
|
+
from syrtis_python_client_internal.entity.trigger_config import TriggerConfig
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
class TriggerConfigRepository(AbstractApiRepository[TriggerConfig]):
|
|
11
|
+
@classmethod
|
|
12
|
+
def get_entity_type(cls) -> type[TriggerConfig]:
|
|
13
|
+
return TriggerConfig
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
from __future__ import annotations
|
|
2
|
+
|
|
3
|
+
from syrtis_python_client.repository.abstract_api_repository import (
|
|
4
|
+
AbstractApiRepository,
|
|
5
|
+
)
|
|
6
|
+
|
|
7
|
+
from syrtis_python_client_internal.entity.trigger import Trigger
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
class TriggerRepository(AbstractApiRepository[Trigger]):
|
|
11
|
+
@classmethod
|
|
12
|
+
def get_entity_type(cls) -> type[Trigger]:
|
|
13
|
+
return Trigger
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
from __future__ import annotations
|
|
2
|
+
|
|
3
|
+
from syrtis_python_client.repository.abstract_api_repository import (
|
|
4
|
+
AbstractApiRepository,
|
|
5
|
+
)
|
|
6
|
+
|
|
7
|
+
from syrtis_python_client_internal.entity.user_config import UserConfig
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
class UserConfigRepository(AbstractApiRepository[UserConfig]):
|
|
11
|
+
@classmethod
|
|
12
|
+
def get_entity_type(cls) -> type[UserConfig]:
|
|
13
|
+
return UserConfig
|
|
@@ -0,0 +1,107 @@
|
|
|
1
|
+
Metadata-Version: 2.1
|
|
2
|
+
Name: syrtis-python-client-internal
|
|
3
|
+
Version: 1.0.0
|
|
4
|
+
Author-Email: weeger <contact@syrtis.ai>
|
|
5
|
+
License: MIT
|
|
6
|
+
Classifier: Programming Language :: Python :: 3
|
|
7
|
+
Classifier: License :: OSI Approved :: MIT License
|
|
8
|
+
Classifier: Operating System :: OS Independent
|
|
9
|
+
Requires-Python: >=3.10
|
|
10
|
+
Requires-Dist: syrtis-python-client>=9.0.0
|
|
11
|
+
Provides-Extra: dev
|
|
12
|
+
Requires-Dist: pytest; extra == "dev"
|
|
13
|
+
Requires-Dist: pytest-cov; extra == "dev"
|
|
14
|
+
Description-Content-Type: text/markdown
|
|
15
|
+
|
|
16
|
+
# python_client_internal
|
|
17
|
+
|
|
18
|
+
Version: 1.0.0
|
|
19
|
+
|
|
20
|
+
## Table of Contents
|
|
21
|
+
|
|
22
|
+
- [Install](#install)
|
|
23
|
+
- [Tests](#tests)
|
|
24
|
+
- [Roadmap](#roadmap)
|
|
25
|
+
- [Status Compatibility](#status-compatibility)
|
|
26
|
+
- [Useful Links](#useful-links)
|
|
27
|
+
|
|
28
|
+
## Installation
|
|
29
|
+
|
|
30
|
+
```bash
|
|
31
|
+
pip install syrtis-python-client-internal
|
|
32
|
+
```
|
|
33
|
+
|
|
34
|
+
Requires Python >=3.10.
|
|
35
|
+
|
|
36
|
+
## Tests
|
|
37
|
+
|
|
38
|
+
This project uses `pytest` for testing and `pytest-cov` for code coverage analysis.
|
|
39
|
+
|
|
40
|
+
### Installation
|
|
41
|
+
|
|
42
|
+
First, install the required testing dependencies:
|
|
43
|
+
```bash
|
|
44
|
+
.venv/bin/python -m pip install pytest pytest-cov
|
|
45
|
+
```
|
|
46
|
+
|
|
47
|
+
### Basic Usage
|
|
48
|
+
|
|
49
|
+
Run all tests with coverage:
|
|
50
|
+
```bash
|
|
51
|
+
.venv/bin/python -m pytest --cov --cov-report=html
|
|
52
|
+
```
|
|
53
|
+
|
|
54
|
+
### Common Commands
|
|
55
|
+
```bash
|
|
56
|
+
# Run tests with coverage for a specific module
|
|
57
|
+
.venv/bin/python -m pytest --cov=your_module
|
|
58
|
+
|
|
59
|
+
# Show which lines are not covered
|
|
60
|
+
.venv/bin/python -m pytest --cov=your_module --cov-report=term-missing
|
|
61
|
+
|
|
62
|
+
# Generate an HTML coverage report
|
|
63
|
+
.venv/bin/python -m pytest --cov=your_module --cov-report=html
|
|
64
|
+
|
|
65
|
+
# Combine terminal and HTML reports
|
|
66
|
+
.venv/bin/python -m pytest --cov=your_module --cov-report=term-missing --cov-report=html
|
|
67
|
+
|
|
68
|
+
# Run specific test file with coverage
|
|
69
|
+
.venv/bin/python -m pytest tests/test_file.py --cov=your_module --cov-report=term-missing
|
|
70
|
+
```
|
|
71
|
+
|
|
72
|
+
### Viewing HTML Reports
|
|
73
|
+
|
|
74
|
+
After generating an HTML report, open `htmlcov/index.html` in your browser to view detailed line-by-line coverage information.
|
|
75
|
+
|
|
76
|
+
### Coverage Threshold
|
|
77
|
+
|
|
78
|
+
To enforce a minimum coverage percentage:
|
|
79
|
+
```bash
|
|
80
|
+
.venv/bin/python -m pytest --cov=your_module --cov-fail-under=80
|
|
81
|
+
```
|
|
82
|
+
|
|
83
|
+
This will cause the test suite to fail if coverage drops below 80%.
|
|
84
|
+
|
|
85
|
+
## Known Limitations & Roadmap
|
|
86
|
+
|
|
87
|
+
Current limitations and planned features are tracked in the GitHub issues.
|
|
88
|
+
|
|
89
|
+
See the [project roadmap](https://github.com/wexample/python-python_client_internal/issues) for upcoming features and improvements.
|
|
90
|
+
|
|
91
|
+
## Status & Compatibility
|
|
92
|
+
|
|
93
|
+
**Maturity**: Production-ready
|
|
94
|
+
|
|
95
|
+
**Python Support**: >=3.10
|
|
96
|
+
|
|
97
|
+
**OS Support**: Linux, macOS, Windows
|
|
98
|
+
|
|
99
|
+
**Status**: Actively maintained
|
|
100
|
+
|
|
101
|
+
## Useful Links
|
|
102
|
+
|
|
103
|
+
- **Homepage**: https://github.com/wexample/python-python-client-internal
|
|
104
|
+
- **Documentation**: [docs.wexample.com](https://docs.wexample.com)
|
|
105
|
+
- **Issue Tracker**: https://github.com/wexample/python-python-client-internal/issues
|
|
106
|
+
- **Discussions**: https://github.com/wexample/python-python-client-internal/discussions
|
|
107
|
+
- **PyPI**: [pypi.org/project/python_client_internal](https://pypi.org/project/python_client_internal/)
|