syrtis-python-client-internal 1.0.0__tar.gz
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-1.0.0/PKG-INFO +107 -0
- syrtis_python_client_internal-1.0.0/README.md +92 -0
- syrtis_python_client_internal-1.0.0/pyproject.toml +80 -0
- syrtis_python_client_internal-1.0.0/src/syrtis_python_client_internal/__init__.py +17 -0
- syrtis_python_client_internal-1.0.0/src/syrtis_python_client_internal/common/__init__.py +0 -0
- syrtis_python_client_internal-1.0.0/src/syrtis_python_client_internal/common/entity_schemas.py +11 -0
- syrtis_python_client_internal-1.0.0/src/syrtis_python_client_internal/common/generated_entities.py +83 -0
- syrtis_python_client_internal-1.0.0/src/syrtis_python_client_internal/common/generated_entity_schemas.py +54 -0
- syrtis_python_client_internal-1.0.0/src/syrtis_python_client_internal/common/generated_external_relations.py +18 -0
- syrtis_python_client_internal-1.0.0/src/syrtis_python_client_internal/common/generated_repositories.py +76 -0
- syrtis_python_client_internal-1.0.0/src/syrtis_python_client_internal/common/syrtis_client.py +31 -0
- syrtis_python_client_internal-1.0.0/src/syrtis_python_client_internal/data/__init__.py +0 -0
- syrtis_python_client_internal-1.0.0/src/syrtis_python_client_internal/data/entity/__init__.py +0 -0
- syrtis_python_client_internal-1.0.0/src/syrtis_python_client_internal/data/entity/artifact.json +261 -0
- syrtis_python_client_internal-1.0.0/src/syrtis_python_client_internal/data/entity/content_type.json +235 -0
- syrtis_python_client_internal-1.0.0/src/syrtis_python_client_internal/data/entity/credential.json +175 -0
- syrtis_python_client_internal-1.0.0/src/syrtis_python_client_internal/data/entity/credential_parameter.json +166 -0
- syrtis_python_client_internal-1.0.0/src/syrtis_python_client_internal/data/entity/dashboard.json +213 -0
- syrtis_python_client_internal-1.0.0/src/syrtis_python_client_internal/data/entity/directory.json +125 -0
- syrtis_python_client_internal-1.0.0/src/syrtis_python_client_internal/data/entity/document_directory.json +139 -0
- syrtis_python_client_internal-1.0.0/src/syrtis_python_client_internal/data/entity/embedding.json +192 -0
- syrtis_python_client_internal-1.0.0/src/syrtis_python_client_internal/data/entity/extension.json +203 -0
- syrtis_python_client_internal-1.0.0/src/syrtis_python_client_internal/data/entity/instruction.json +213 -0
- syrtis_python_client_internal-1.0.0/src/syrtis_python_client_internal/data/entity/internal_sample.json +10 -0
- syrtis_python_client_internal-1.0.0/src/syrtis_python_client_internal/data/entity/layer.json +96 -0
- syrtis_python_client_internal-1.0.0/src/syrtis_python_client_internal/data/entity/log.json +642 -0
- syrtis_python_client_internal-1.0.0/src/syrtis_python_client_internal/data/entity/model.json +226 -0
- syrtis_python_client_internal-1.0.0/src/syrtis_python_client_internal/data/entity/operator.json +149 -0
- syrtis_python_client_internal-1.0.0/src/syrtis_python_client_internal/data/entity/operator_port.json +220 -0
- syrtis_python_client_internal-1.0.0/src/syrtis_python_client_internal/data/entity/panel.json +450 -0
- syrtis_python_client_internal-1.0.0/src/syrtis_python_client_internal/data/entity/panel_stamp.json +116 -0
- syrtis_python_client_internal-1.0.0/src/syrtis_python_client_internal/data/entity/pipeline.json +357 -0
- syrtis_python_client_internal-1.0.0/src/syrtis_python_client_internal/data/entity/pipeline_operator.json +28 -0
- syrtis_python_client_internal-1.0.0/src/syrtis_python_client_internal/data/entity/pipeline_projection.json +163 -0
- syrtis_python_client_internal-1.0.0/src/syrtis_python_client_internal/data/entity/project.json +213 -0
- syrtis_python_client_internal-1.0.0/src/syrtis_python_client_internal/data/entity/project_access.json +161 -0
- syrtis_python_client_internal-1.0.0/src/syrtis_python_client_internal/data/entity/projection.json +349 -0
- syrtis_python_client_internal-1.0.0/src/syrtis_python_client_internal/data/entity/projection_config.json +237 -0
- syrtis_python_client_internal-1.0.0/src/syrtis_python_client_internal/data/entity/projection_relation.json +261 -0
- syrtis_python_client_internal-1.0.0/src/syrtis_python_client_internal/data/entity/prompt.json +491 -0
- syrtis_python_client_internal-1.0.0/src/syrtis_python_client_internal/data/entity/schema.json +63 -0
- syrtis_python_client_internal-1.0.0/src/syrtis_python_client_internal/data/entity/session_group.json +196 -0
- syrtis_python_client_internal-1.0.0/src/syrtis_python_client_internal/data/entity/source.json +187 -0
- syrtis_python_client_internal-1.0.0/src/syrtis_python_client_internal/data/entity/storage.json +140 -0
- syrtis_python_client_internal-1.0.0/src/syrtis_python_client_internal/data/entity/storage_content_type.json +139 -0
- syrtis_python_client_internal-1.0.0/src/syrtis_python_client_internal/data/entity/token.json +116 -0
- syrtis_python_client_internal-1.0.0/src/syrtis_python_client_internal/data/entity/trigger.json +90 -0
- syrtis_python_client_internal-1.0.0/src/syrtis_python_client_internal/data/entity/trigger_config.json +138 -0
- syrtis_python_client_internal-1.0.0/src/syrtis_python_client_internal/data/entity/user_config.json +193 -0
- syrtis_python_client_internal-1.0.0/src/syrtis_python_client_internal/database/__init__.py +0 -0
- syrtis_python_client_internal-1.0.0/src/syrtis_python_client_internal/database/database_repositories_manager.py +21 -0
- syrtis_python_client_internal-1.0.0/src/syrtis_python_client_internal/database/generated_repositories.py +120 -0
- syrtis_python_client_internal-1.0.0/src/syrtis_python_client_internal/database/repository/__init__.py +0 -0
- syrtis_python_client_internal-1.0.0/src/syrtis_python_client_internal/database/repository/artifact_repository.py +11 -0
- syrtis_python_client_internal-1.0.0/src/syrtis_python_client_internal/database/repository/card_message_repository.py +11 -0
- syrtis_python_client_internal-1.0.0/src/syrtis_python_client_internal/database/repository/card_relation_repository.py +11 -0
- syrtis_python_client_internal-1.0.0/src/syrtis_python_client_internal/database/repository/card_repository.py +11 -0
- syrtis_python_client_internal-1.0.0/src/syrtis_python_client_internal/database/repository/chunk_repository.py +11 -0
- syrtis_python_client_internal-1.0.0/src/syrtis_python_client_internal/database/repository/content_type_repository.py +11 -0
- syrtis_python_client_internal-1.0.0/src/syrtis_python_client_internal/database/repository/credential_parameter_repository.py +11 -0
- syrtis_python_client_internal-1.0.0/src/syrtis_python_client_internal/database/repository/credential_repository.py +11 -0
- syrtis_python_client_internal-1.0.0/src/syrtis_python_client_internal/database/repository/dashboard_repository.py +11 -0
- syrtis_python_client_internal-1.0.0/src/syrtis_python_client_internal/database/repository/directory_repository.py +11 -0
- syrtis_python_client_internal-1.0.0/src/syrtis_python_client_internal/database/repository/document_directory_repository.py +11 -0
- syrtis_python_client_internal-1.0.0/src/syrtis_python_client_internal/database/repository/document_repository.py +11 -0
- syrtis_python_client_internal-1.0.0/src/syrtis_python_client_internal/database/repository/embedding_repository.py +11 -0
- syrtis_python_client_internal-1.0.0/src/syrtis_python_client_internal/database/repository/environment_repository.py +11 -0
- syrtis_python_client_internal-1.0.0/src/syrtis_python_client_internal/database/repository/extension_repository.py +11 -0
- syrtis_python_client_internal-1.0.0/src/syrtis_python_client_internal/database/repository/generated/__init__.py +0 -0
- syrtis_python_client_internal-1.0.0/src/syrtis_python_client_internal/database/repository/generated/artifact_repository_generated.py +11 -0
- syrtis_python_client_internal-1.0.0/src/syrtis_python_client_internal/database/repository/generated/card_message_repository_generated.py +11 -0
- syrtis_python_client_internal-1.0.0/src/syrtis_python_client_internal/database/repository/generated/card_relation_repository_generated.py +11 -0
- syrtis_python_client_internal-1.0.0/src/syrtis_python_client_internal/database/repository/generated/card_repository_generated.py +11 -0
- syrtis_python_client_internal-1.0.0/src/syrtis_python_client_internal/database/repository/generated/chunk_repository_generated.py +11 -0
- syrtis_python_client_internal-1.0.0/src/syrtis_python_client_internal/database/repository/generated/content_type_repository_generated.py +11 -0
- syrtis_python_client_internal-1.0.0/src/syrtis_python_client_internal/database/repository/generated/credential_parameter_repository_generated.py +11 -0
- syrtis_python_client_internal-1.0.0/src/syrtis_python_client_internal/database/repository/generated/credential_repository_generated.py +11 -0
- syrtis_python_client_internal-1.0.0/src/syrtis_python_client_internal/database/repository/generated/dashboard_repository_generated.py +11 -0
- syrtis_python_client_internal-1.0.0/src/syrtis_python_client_internal/database/repository/generated/directory_repository_generated.py +11 -0
- syrtis_python_client_internal-1.0.0/src/syrtis_python_client_internal/database/repository/generated/document_directory_repository_generated.py +11 -0
- syrtis_python_client_internal-1.0.0/src/syrtis_python_client_internal/database/repository/generated/document_repository_generated.py +11 -0
- syrtis_python_client_internal-1.0.0/src/syrtis_python_client_internal/database/repository/generated/embedding_repository_generated.py +11 -0
- syrtis_python_client_internal-1.0.0/src/syrtis_python_client_internal/database/repository/generated/environment_repository_generated.py +11 -0
- syrtis_python_client_internal-1.0.0/src/syrtis_python_client_internal/database/repository/generated/extension_repository_generated.py +11 -0
- syrtis_python_client_internal-1.0.0/src/syrtis_python_client_internal/database/repository/generated/instruction_repository_generated.py +11 -0
- syrtis_python_client_internal-1.0.0/src/syrtis_python_client_internal/database/repository/generated/internal_sample_repository_generated.py +11 -0
- syrtis_python_client_internal-1.0.0/src/syrtis_python_client_internal/database/repository/generated/job_repository_generated.py +11 -0
- syrtis_python_client_internal-1.0.0/src/syrtis_python_client_internal/database/repository/generated/layer_repository_generated.py +11 -0
- syrtis_python_client_internal-1.0.0/src/syrtis_python_client_internal/database/repository/generated/log_repository_generated.py +11 -0
- syrtis_python_client_internal-1.0.0/src/syrtis_python_client_internal/database/repository/generated/message_repository_generated.py +11 -0
- syrtis_python_client_internal-1.0.0/src/syrtis_python_client_internal/database/repository/generated/message_stamp_repository_generated.py +11 -0
- syrtis_python_client_internal-1.0.0/src/syrtis_python_client_internal/database/repository/generated/model_repository_generated.py +11 -0
- syrtis_python_client_internal-1.0.0/src/syrtis_python_client_internal/database/repository/generated/node_repository_generated.py +11 -0
- syrtis_python_client_internal-1.0.0/src/syrtis_python_client_internal/database/repository/generated/operator_port_repository_generated.py +11 -0
- syrtis_python_client_internal-1.0.0/src/syrtis_python_client_internal/database/repository/generated/operator_repository_generated.py +11 -0
- syrtis_python_client_internal-1.0.0/src/syrtis_python_client_internal/database/repository/generated/panel_repository_generated.py +11 -0
- syrtis_python_client_internal-1.0.0/src/syrtis_python_client_internal/database/repository/generated/panel_stamp_repository_generated.py +11 -0
- syrtis_python_client_internal-1.0.0/src/syrtis_python_client_internal/database/repository/generated/pipeline_operator_repository_generated.py +11 -0
- syrtis_python_client_internal-1.0.0/src/syrtis_python_client_internal/database/repository/generated/pipeline_projection_repository_generated.py +11 -0
- syrtis_python_client_internal-1.0.0/src/syrtis_python_client_internal/database/repository/generated/pipeline_repository_generated.py +11 -0
- syrtis_python_client_internal-1.0.0/src/syrtis_python_client_internal/database/repository/generated/project_access_repository_generated.py +11 -0
- syrtis_python_client_internal-1.0.0/src/syrtis_python_client_internal/database/repository/generated/project_repository_generated.py +11 -0
- syrtis_python_client_internal-1.0.0/src/syrtis_python_client_internal/database/repository/generated/projection_config_repository_generated.py +11 -0
- syrtis_python_client_internal-1.0.0/src/syrtis_python_client_internal/database/repository/generated/projection_relation_repository_generated.py +11 -0
- syrtis_python_client_internal-1.0.0/src/syrtis_python_client_internal/database/repository/generated/projection_repository_generated.py +11 -0
- syrtis_python_client_internal-1.0.0/src/syrtis_python_client_internal/database/repository/generated/prompt_repository_generated.py +11 -0
- syrtis_python_client_internal-1.0.0/src/syrtis_python_client_internal/database/repository/generated/request_repository_generated.py +11 -0
- syrtis_python_client_internal-1.0.0/src/syrtis_python_client_internal/database/repository/generated/scenario_repository_generated.py +11 -0
- syrtis_python_client_internal-1.0.0/src/syrtis_python_client_internal/database/repository/generated/schema_repository_generated.py +11 -0
- syrtis_python_client_internal-1.0.0/src/syrtis_python_client_internal/database/repository/generated/session_group_repository_generated.py +11 -0
- syrtis_python_client_internal-1.0.0/src/syrtis_python_client_internal/database/repository/generated/session_repository_generated.py +11 -0
- syrtis_python_client_internal-1.0.0/src/syrtis_python_client_internal/database/repository/generated/slot_config_repository_generated.py +11 -0
- syrtis_python_client_internal-1.0.0/src/syrtis_python_client_internal/database/repository/generated/slot_message_repository_generated.py +11 -0
- syrtis_python_client_internal-1.0.0/src/syrtis_python_client_internal/database/repository/generated/slot_message_stamp_repository_generated.py +11 -0
- syrtis_python_client_internal-1.0.0/src/syrtis_python_client_internal/database/repository/generated/slot_relation_repository_generated.py +11 -0
- syrtis_python_client_internal-1.0.0/src/syrtis_python_client_internal/database/repository/generated/slot_repository_generated.py +11 -0
- syrtis_python_client_internal-1.0.0/src/syrtis_python_client_internal/database/repository/generated/source_repository_generated.py +11 -0
- syrtis_python_client_internal-1.0.0/src/syrtis_python_client_internal/database/repository/generated/storage_content_type_repository_generated.py +11 -0
- syrtis_python_client_internal-1.0.0/src/syrtis_python_client_internal/database/repository/generated/storage_repository_generated.py +11 -0
- syrtis_python_client_internal-1.0.0/src/syrtis_python_client_internal/database/repository/generated/template_repository_generated.py +11 -0
- syrtis_python_client_internal-1.0.0/src/syrtis_python_client_internal/database/repository/generated/timezone_repository_generated.py +11 -0
- syrtis_python_client_internal-1.0.0/src/syrtis_python_client_internal/database/repository/generated/token_repository_generated.py +11 -0
- syrtis_python_client_internal-1.0.0/src/syrtis_python_client_internal/database/repository/generated/trigger_config_repository_generated.py +11 -0
- syrtis_python_client_internal-1.0.0/src/syrtis_python_client_internal/database/repository/generated/trigger_repository_generated.py +11 -0
- syrtis_python_client_internal-1.0.0/src/syrtis_python_client_internal/database/repository/generated/user_config_repository_generated.py +11 -0
- syrtis_python_client_internal-1.0.0/src/syrtis_python_client_internal/database/repository/generated/user_repository_generated.py +11 -0
- syrtis_python_client_internal-1.0.0/src/syrtis_python_client_internal/database/repository/instruction_repository.py +11 -0
- syrtis_python_client_internal-1.0.0/src/syrtis_python_client_internal/database/repository/internal_sample_repository.py +11 -0
- syrtis_python_client_internal-1.0.0/src/syrtis_python_client_internal/database/repository/job_repository.py +11 -0
- syrtis_python_client_internal-1.0.0/src/syrtis_python_client_internal/database/repository/layer_repository.py +11 -0
- syrtis_python_client_internal-1.0.0/src/syrtis_python_client_internal/database/repository/log_repository.py +11 -0
- syrtis_python_client_internal-1.0.0/src/syrtis_python_client_internal/database/repository/message_repository.py +11 -0
- syrtis_python_client_internal-1.0.0/src/syrtis_python_client_internal/database/repository/message_stamp_repository.py +11 -0
- syrtis_python_client_internal-1.0.0/src/syrtis_python_client_internal/database/repository/model_repository.py +11 -0
- syrtis_python_client_internal-1.0.0/src/syrtis_python_client_internal/database/repository/node_repository.py +11 -0
- syrtis_python_client_internal-1.0.0/src/syrtis_python_client_internal/database/repository/operator_port_repository.py +11 -0
- syrtis_python_client_internal-1.0.0/src/syrtis_python_client_internal/database/repository/operator_repository.py +11 -0
- syrtis_python_client_internal-1.0.0/src/syrtis_python_client_internal/database/repository/panel_repository.py +11 -0
- syrtis_python_client_internal-1.0.0/src/syrtis_python_client_internal/database/repository/panel_stamp_repository.py +11 -0
- syrtis_python_client_internal-1.0.0/src/syrtis_python_client_internal/database/repository/pipeline_operator_repository.py +11 -0
- syrtis_python_client_internal-1.0.0/src/syrtis_python_client_internal/database/repository/pipeline_projection_repository.py +11 -0
- syrtis_python_client_internal-1.0.0/src/syrtis_python_client_internal/database/repository/pipeline_repository.py +11 -0
- syrtis_python_client_internal-1.0.0/src/syrtis_python_client_internal/database/repository/project_access_repository.py +11 -0
- syrtis_python_client_internal-1.0.0/src/syrtis_python_client_internal/database/repository/project_repository.py +11 -0
- syrtis_python_client_internal-1.0.0/src/syrtis_python_client_internal/database/repository/projection_config_repository.py +11 -0
- syrtis_python_client_internal-1.0.0/src/syrtis_python_client_internal/database/repository/projection_relation_repository.py +11 -0
- syrtis_python_client_internal-1.0.0/src/syrtis_python_client_internal/database/repository/projection_repository.py +11 -0
- syrtis_python_client_internal-1.0.0/src/syrtis_python_client_internal/database/repository/prompt_repository.py +11 -0
- syrtis_python_client_internal-1.0.0/src/syrtis_python_client_internal/database/repository/request_repository.py +11 -0
- syrtis_python_client_internal-1.0.0/src/syrtis_python_client_internal/database/repository/scenario_repository.py +11 -0
- syrtis_python_client_internal-1.0.0/src/syrtis_python_client_internal/database/repository/schema_repository.py +11 -0
- syrtis_python_client_internal-1.0.0/src/syrtis_python_client_internal/database/repository/session_group_repository.py +11 -0
- syrtis_python_client_internal-1.0.0/src/syrtis_python_client_internal/database/repository/session_repository.py +11 -0
- syrtis_python_client_internal-1.0.0/src/syrtis_python_client_internal/database/repository/slot_config_repository.py +11 -0
- syrtis_python_client_internal-1.0.0/src/syrtis_python_client_internal/database/repository/slot_message_repository.py +11 -0
- syrtis_python_client_internal-1.0.0/src/syrtis_python_client_internal/database/repository/slot_message_stamp_repository.py +11 -0
- syrtis_python_client_internal-1.0.0/src/syrtis_python_client_internal/database/repository/slot_relation_repository.py +11 -0
- syrtis_python_client_internal-1.0.0/src/syrtis_python_client_internal/database/repository/slot_repository.py +11 -0
- syrtis_python_client_internal-1.0.0/src/syrtis_python_client_internal/database/repository/source_repository.py +11 -0
- syrtis_python_client_internal-1.0.0/src/syrtis_python_client_internal/database/repository/storage_content_type_repository.py +11 -0
- syrtis_python_client_internal-1.0.0/src/syrtis_python_client_internal/database/repository/storage_repository.py +11 -0
- syrtis_python_client_internal-1.0.0/src/syrtis_python_client_internal/database/repository/template_repository.py +11 -0
- syrtis_python_client_internal-1.0.0/src/syrtis_python_client_internal/database/repository/timezone_repository.py +11 -0
- syrtis_python_client_internal-1.0.0/src/syrtis_python_client_internal/database/repository/token_repository.py +11 -0
- syrtis_python_client_internal-1.0.0/src/syrtis_python_client_internal/database/repository/trigger_config_repository.py +11 -0
- syrtis_python_client_internal-1.0.0/src/syrtis_python_client_internal/database/repository/trigger_repository.py +11 -0
- syrtis_python_client_internal-1.0.0/src/syrtis_python_client_internal/database/repository/user_config_repository.py +11 -0
- syrtis_python_client_internal-1.0.0/src/syrtis_python_client_internal/database/repository/user_repository.py +11 -0
- syrtis_python_client_internal-1.0.0/src/syrtis_python_client_internal/entity/__init__.py +0 -0
- syrtis_python_client_internal-1.0.0/src/syrtis_python_client_internal/entity/artifact.py +13 -0
- syrtis_python_client_internal-1.0.0/src/syrtis_python_client_internal/entity/content_type.py +13 -0
- syrtis_python_client_internal-1.0.0/src/syrtis_python_client_internal/entity/credential.py +13 -0
- syrtis_python_client_internal-1.0.0/src/syrtis_python_client_internal/entity/credential_parameter.py +13 -0
- syrtis_python_client_internal-1.0.0/src/syrtis_python_client_internal/entity/dashboard.py +13 -0
- syrtis_python_client_internal-1.0.0/src/syrtis_python_client_internal/entity/directory.py +13 -0
- syrtis_python_client_internal-1.0.0/src/syrtis_python_client_internal/entity/document_directory.py +13 -0
- syrtis_python_client_internal-1.0.0/src/syrtis_python_client_internal/entity/embedding.py +13 -0
- syrtis_python_client_internal-1.0.0/src/syrtis_python_client_internal/entity/extension.py +13 -0
- syrtis_python_client_internal-1.0.0/src/syrtis_python_client_internal/entity/generated/artifact_generated.py +37 -0
- syrtis_python_client_internal-1.0.0/src/syrtis_python_client_internal/entity/generated/content_type_generated.py +34 -0
- syrtis_python_client_internal-1.0.0/src/syrtis_python_client_internal/entity/generated/credential_generated.py +25 -0
- syrtis_python_client_internal-1.0.0/src/syrtis_python_client_internal/entity/generated/credential_parameter_generated.py +25 -0
- syrtis_python_client_internal-1.0.0/src/syrtis_python_client_internal/entity/generated/dashboard_generated.py +31 -0
- syrtis_python_client_internal-1.0.0/src/syrtis_python_client_internal/entity/generated/directory_generated.py +19 -0
- syrtis_python_client_internal-1.0.0/src/syrtis_python_client_internal/entity/generated/document_directory_generated.py +21 -0
- syrtis_python_client_internal-1.0.0/src/syrtis_python_client_internal/entity/generated/embedding_generated.py +28 -0
- syrtis_python_client_internal-1.0.0/src/syrtis_python_client_internal/entity/generated/extension_generated.py +27 -0
- syrtis_python_client_internal-1.0.0/src/syrtis_python_client_internal/entity/generated/instruction_generated.py +31 -0
- syrtis_python_client_internal-1.0.0/src/syrtis_python_client_internal/entity/generated/internal_sample_generated.py +7 -0
- syrtis_python_client_internal-1.0.0/src/syrtis_python_client_internal/entity/generated/layer_generated.py +15 -0
- syrtis_python_client_internal-1.0.0/src/syrtis_python_client_internal/entity/generated/log_generated.py +82 -0
- syrtis_python_client_internal-1.0.0/src/syrtis_python_client_internal/entity/generated/model_generated.py +30 -0
- syrtis_python_client_internal-1.0.0/src/syrtis_python_client_internal/entity/generated/operator_generated.py +22 -0
- syrtis_python_client_internal-1.0.0/src/syrtis_python_client_internal/entity/generated/operator_port_generated.py +28 -0
- syrtis_python_client_internal-1.0.0/src/syrtis_python_client_internal/entity/generated/panel_generated.py +58 -0
- syrtis_python_client_internal-1.0.0/src/syrtis_python_client_internal/entity/generated/panel_stamp_generated.py +19 -0
- syrtis_python_client_internal-1.0.0/src/syrtis_python_client_internal/entity/generated/pipeline_generated.py +46 -0
- syrtis_python_client_internal-1.0.0/src/syrtis_python_client_internal/entity/generated/pipeline_operator_generated.py +7 -0
- syrtis_python_client_internal-1.0.0/src/syrtis_python_client_internal/entity/generated/pipeline_projection_generated.py +25 -0
- syrtis_python_client_internal-1.0.0/src/syrtis_python_client_internal/entity/generated/project_access_generated.py +25 -0
- syrtis_python_client_internal-1.0.0/src/syrtis_python_client_internal/entity/generated/project_generated.py +31 -0
- syrtis_python_client_internal-1.0.0/src/syrtis_python_client_internal/entity/generated/projection_config_generated.py +34 -0
- syrtis_python_client_internal-1.0.0/src/syrtis_python_client_internal/entity/generated/projection_generated.py +43 -0
- syrtis_python_client_internal-1.0.0/src/syrtis_python_client_internal/entity/generated/projection_relation_generated.py +37 -0
- syrtis_python_client_internal-1.0.0/src/syrtis_python_client_internal/entity/generated/prompt_generated.py +64 -0
- syrtis_python_client_internal-1.0.0/src/syrtis_python_client_internal/entity/generated/schema_generated.py +12 -0
- syrtis_python_client_internal-1.0.0/src/syrtis_python_client_internal/entity/generated/session_group_generated.py +28 -0
- syrtis_python_client_internal-1.0.0/src/syrtis_python_client_internal/entity/generated/source_generated.py +28 -0
- syrtis_python_client_internal-1.0.0/src/syrtis_python_client_internal/entity/generated/storage_content_type_generated.py +21 -0
- syrtis_python_client_internal-1.0.0/src/syrtis_python_client_internal/entity/generated/storage_generated.py +22 -0
- syrtis_python_client_internal-1.0.0/src/syrtis_python_client_internal/entity/generated/token_generated.py +19 -0
- syrtis_python_client_internal-1.0.0/src/syrtis_python_client_internal/entity/generated/trigger_config_generated.py +21 -0
- syrtis_python_client_internal-1.0.0/src/syrtis_python_client_internal/entity/generated/trigger_generated.py +15 -0
- syrtis_python_client_internal-1.0.0/src/syrtis_python_client_internal/entity/generated/user_config_generated.py +28 -0
- syrtis_python_client_internal-1.0.0/src/syrtis_python_client_internal/entity/instruction.py +13 -0
- syrtis_python_client_internal-1.0.0/src/syrtis_python_client_internal/entity/internal_sample.py +13 -0
- syrtis_python_client_internal-1.0.0/src/syrtis_python_client_internal/entity/layer.py +13 -0
- syrtis_python_client_internal-1.0.0/src/syrtis_python_client_internal/entity/log.py +13 -0
- syrtis_python_client_internal-1.0.0/src/syrtis_python_client_internal/entity/model.py +13 -0
- syrtis_python_client_internal-1.0.0/src/syrtis_python_client_internal/entity/operator.py +13 -0
- syrtis_python_client_internal-1.0.0/src/syrtis_python_client_internal/entity/operator_port.py +13 -0
- syrtis_python_client_internal-1.0.0/src/syrtis_python_client_internal/entity/panel.py +13 -0
- syrtis_python_client_internal-1.0.0/src/syrtis_python_client_internal/entity/panel_stamp.py +13 -0
- syrtis_python_client_internal-1.0.0/src/syrtis_python_client_internal/entity/pipeline.py +13 -0
- syrtis_python_client_internal-1.0.0/src/syrtis_python_client_internal/entity/pipeline_operator.py +13 -0
- syrtis_python_client_internal-1.0.0/src/syrtis_python_client_internal/entity/pipeline_projection.py +13 -0
- syrtis_python_client_internal-1.0.0/src/syrtis_python_client_internal/entity/project.py +13 -0
- syrtis_python_client_internal-1.0.0/src/syrtis_python_client_internal/entity/project_access.py +13 -0
- syrtis_python_client_internal-1.0.0/src/syrtis_python_client_internal/entity/projection.py +13 -0
- syrtis_python_client_internal-1.0.0/src/syrtis_python_client_internal/entity/projection_config.py +13 -0
- syrtis_python_client_internal-1.0.0/src/syrtis_python_client_internal/entity/projection_relation.py +13 -0
- syrtis_python_client_internal-1.0.0/src/syrtis_python_client_internal/entity/prompt.py +14 -0
- syrtis_python_client_internal-1.0.0/src/syrtis_python_client_internal/entity/schema.py +13 -0
- syrtis_python_client_internal-1.0.0/src/syrtis_python_client_internal/entity/session_group.py +13 -0
- syrtis_python_client_internal-1.0.0/src/syrtis_python_client_internal/entity/source.py +13 -0
- syrtis_python_client_internal-1.0.0/src/syrtis_python_client_internal/entity/storage.py +13 -0
- syrtis_python_client_internal-1.0.0/src/syrtis_python_client_internal/entity/storage_content_type.py +13 -0
- syrtis_python_client_internal-1.0.0/src/syrtis_python_client_internal/entity/token.py +13 -0
- syrtis_python_client_internal-1.0.0/src/syrtis_python_client_internal/entity/trigger.py +13 -0
- syrtis_python_client_internal-1.0.0/src/syrtis_python_client_internal/entity/trigger_config.py +13 -0
- syrtis_python_client_internal-1.0.0/src/syrtis_python_client_internal/entity/user_config.py +13 -0
- syrtis_python_client_internal-1.0.0/src/syrtis_python_client_internal/py.typed +0 -0
- syrtis_python_client_internal-1.0.0/src/syrtis_python_client_internal/repository/__init__.py +0 -0
- syrtis_python_client_internal-1.0.0/src/syrtis_python_client_internal/repository/artifact_repository.py +13 -0
- syrtis_python_client_internal-1.0.0/src/syrtis_python_client_internal/repository/content_type_repository.py +13 -0
- syrtis_python_client_internal-1.0.0/src/syrtis_python_client_internal/repository/credential_parameter_repository.py +15 -0
- syrtis_python_client_internal-1.0.0/src/syrtis_python_client_internal/repository/credential_repository.py +13 -0
- syrtis_python_client_internal-1.0.0/src/syrtis_python_client_internal/repository/dashboard_repository.py +13 -0
- syrtis_python_client_internal-1.0.0/src/syrtis_python_client_internal/repository/directory_repository.py +13 -0
- syrtis_python_client_internal-1.0.0/src/syrtis_python_client_internal/repository/document_directory_repository.py +13 -0
- syrtis_python_client_internal-1.0.0/src/syrtis_python_client_internal/repository/embedding_repository.py +13 -0
- syrtis_python_client_internal-1.0.0/src/syrtis_python_client_internal/repository/extension_repository.py +13 -0
- syrtis_python_client_internal-1.0.0/src/syrtis_python_client_internal/repository/instruction_repository.py +13 -0
- syrtis_python_client_internal-1.0.0/src/syrtis_python_client_internal/repository/internal_sample_repository.py +13 -0
- syrtis_python_client_internal-1.0.0/src/syrtis_python_client_internal/repository/layer_repository.py +13 -0
- syrtis_python_client_internal-1.0.0/src/syrtis_python_client_internal/repository/log_repository.py +13 -0
- syrtis_python_client_internal-1.0.0/src/syrtis_python_client_internal/repository/model_repository.py +13 -0
- syrtis_python_client_internal-1.0.0/src/syrtis_python_client_internal/repository/operator_port_repository.py +13 -0
- syrtis_python_client_internal-1.0.0/src/syrtis_python_client_internal/repository/operator_repository.py +13 -0
- syrtis_python_client_internal-1.0.0/src/syrtis_python_client_internal/repository/panel_repository.py +13 -0
- syrtis_python_client_internal-1.0.0/src/syrtis_python_client_internal/repository/panel_stamp_repository.py +13 -0
- syrtis_python_client_internal-1.0.0/src/syrtis_python_client_internal/repository/pipeline_operator_repository.py +13 -0
- syrtis_python_client_internal-1.0.0/src/syrtis_python_client_internal/repository/pipeline_projection_repository.py +13 -0
- syrtis_python_client_internal-1.0.0/src/syrtis_python_client_internal/repository/pipeline_repository.py +13 -0
- syrtis_python_client_internal-1.0.0/src/syrtis_python_client_internal/repository/project_access_repository.py +13 -0
- syrtis_python_client_internal-1.0.0/src/syrtis_python_client_internal/repository/project_repository.py +13 -0
- syrtis_python_client_internal-1.0.0/src/syrtis_python_client_internal/repository/projection_config_repository.py +13 -0
- syrtis_python_client_internal-1.0.0/src/syrtis_python_client_internal/repository/projection_relation_repository.py +13 -0
- syrtis_python_client_internal-1.0.0/src/syrtis_python_client_internal/repository/projection_repository.py +13 -0
- syrtis_python_client_internal-1.0.0/src/syrtis_python_client_internal/repository/prompt_repository.py +13 -0
- syrtis_python_client_internal-1.0.0/src/syrtis_python_client_internal/repository/schema_repository.py +13 -0
- syrtis_python_client_internal-1.0.0/src/syrtis_python_client_internal/repository/session_group_repository.py +13 -0
- syrtis_python_client_internal-1.0.0/src/syrtis_python_client_internal/repository/source_repository.py +13 -0
- syrtis_python_client_internal-1.0.0/src/syrtis_python_client_internal/repository/storage_content_type_repository.py +13 -0
- syrtis_python_client_internal-1.0.0/src/syrtis_python_client_internal/repository/storage_repository.py +13 -0
- syrtis_python_client_internal-1.0.0/src/syrtis_python_client_internal/repository/token_repository.py +13 -0
- syrtis_python_client_internal-1.0.0/src/syrtis_python_client_internal/repository/trigger_config_repository.py +13 -0
- syrtis_python_client_internal-1.0.0/src/syrtis_python_client_internal/repository/trigger_repository.py +13 -0
- syrtis_python_client_internal-1.0.0/src/syrtis_python_client_internal/repository/user_config_repository.py +13 -0
- syrtis_python_client_internal-1.0.0/src/syrtis_syrtis_python_client_internal/__init__.py +0 -0
- syrtis_python_client_internal-1.0.0/src/syrtis_syrtis_python_client_internal/py.typed +0 -0
- syrtis_python_client_internal-1.0.0/tests/.gitkeep +0 -0
- syrtis_python_client_internal-1.0.0/tests/fixtures/__init__.py +0 -0
- syrtis_python_client_internal-1.0.0/tests/fixtures/export/__init__.py +0 -0
- syrtis_python_client_internal-1.0.0/tests/fixtures/export/content_type/__init__.py +0 -0
- syrtis_python_client_internal-1.0.0/tests/fixtures/export/content_type/content-type-analysis.json +10 -0
- syrtis_python_client_internal-1.0.0/tests/fixtures/export/content_type/content-type-default.json +10 -0
- syrtis_python_client_internal-1.0.0/tests/fixtures/export/model/__init__.py +0 -0
- syrtis_python_client_internal-1.0.0/tests/fixtures/export/model/model-simple.json +15 -0
- syrtis_python_client_internal-1.0.0/tests/fixtures/export/project/__init__.py +0 -0
- syrtis_python_client_internal-1.0.0/tests/fixtures/export/project/project-simple.json +12 -0
- syrtis_python_client_internal-1.0.0/tests/fixtures/export/session_group/__init__.py +0 -0
- syrtis_python_client_internal-1.0.0/tests/fixtures/export/session_group/session-group-default.json +12 -0
- syrtis_python_client_internal-1.0.0/tests/fixtures/export/session_group/session-group-simple.json +12 -0
- syrtis_python_client_internal-1.0.0/tests/fixtures/export/token/__init__.py +0 -0
- syrtis_python_client_internal-1.0.0/tests/fixtures/export/token/token-simple.json +9 -0
- syrtis_python_client_internal-1.0.0/tests/test_export_fixtures.py +70 -0
- syrtis_python_client_internal-1.0.0/tests/test_generated_entities.py +36 -0
|
@@ -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/)
|
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
# python_client_internal
|
|
2
|
+
|
|
3
|
+
Version: 1.0.0
|
|
4
|
+
|
|
5
|
+
## Table of Contents
|
|
6
|
+
|
|
7
|
+
- [Install](#install)
|
|
8
|
+
- [Tests](#tests)
|
|
9
|
+
- [Roadmap](#roadmap)
|
|
10
|
+
- [Status Compatibility](#status-compatibility)
|
|
11
|
+
- [Useful Links](#useful-links)
|
|
12
|
+
|
|
13
|
+
## Installation
|
|
14
|
+
|
|
15
|
+
```bash
|
|
16
|
+
pip install syrtis-python-client-internal
|
|
17
|
+
```
|
|
18
|
+
|
|
19
|
+
Requires Python >=3.10.
|
|
20
|
+
|
|
21
|
+
## Tests
|
|
22
|
+
|
|
23
|
+
This project uses `pytest` for testing and `pytest-cov` for code coverage analysis.
|
|
24
|
+
|
|
25
|
+
### Installation
|
|
26
|
+
|
|
27
|
+
First, install the required testing dependencies:
|
|
28
|
+
```bash
|
|
29
|
+
.venv/bin/python -m pip install pytest pytest-cov
|
|
30
|
+
```
|
|
31
|
+
|
|
32
|
+
### Basic Usage
|
|
33
|
+
|
|
34
|
+
Run all tests with coverage:
|
|
35
|
+
```bash
|
|
36
|
+
.venv/bin/python -m pytest --cov --cov-report=html
|
|
37
|
+
```
|
|
38
|
+
|
|
39
|
+
### Common Commands
|
|
40
|
+
```bash
|
|
41
|
+
# Run tests with coverage for a specific module
|
|
42
|
+
.venv/bin/python -m pytest --cov=your_module
|
|
43
|
+
|
|
44
|
+
# Show which lines are not covered
|
|
45
|
+
.venv/bin/python -m pytest --cov=your_module --cov-report=term-missing
|
|
46
|
+
|
|
47
|
+
# Generate an HTML coverage report
|
|
48
|
+
.venv/bin/python -m pytest --cov=your_module --cov-report=html
|
|
49
|
+
|
|
50
|
+
# Combine terminal and HTML reports
|
|
51
|
+
.venv/bin/python -m pytest --cov=your_module --cov-report=term-missing --cov-report=html
|
|
52
|
+
|
|
53
|
+
# Run specific test file with coverage
|
|
54
|
+
.venv/bin/python -m pytest tests/test_file.py --cov=your_module --cov-report=term-missing
|
|
55
|
+
```
|
|
56
|
+
|
|
57
|
+
### Viewing HTML Reports
|
|
58
|
+
|
|
59
|
+
After generating an HTML report, open `htmlcov/index.html` in your browser to view detailed line-by-line coverage information.
|
|
60
|
+
|
|
61
|
+
### Coverage Threshold
|
|
62
|
+
|
|
63
|
+
To enforce a minimum coverage percentage:
|
|
64
|
+
```bash
|
|
65
|
+
.venv/bin/python -m pytest --cov=your_module --cov-fail-under=80
|
|
66
|
+
```
|
|
67
|
+
|
|
68
|
+
This will cause the test suite to fail if coverage drops below 80%.
|
|
69
|
+
|
|
70
|
+
## Known Limitations & Roadmap
|
|
71
|
+
|
|
72
|
+
Current limitations and planned features are tracked in the GitHub issues.
|
|
73
|
+
|
|
74
|
+
See the [project roadmap](https://github.com/wexample/python-python_client_internal/issues) for upcoming features and improvements.
|
|
75
|
+
|
|
76
|
+
## Status & Compatibility
|
|
77
|
+
|
|
78
|
+
**Maturity**: Production-ready
|
|
79
|
+
|
|
80
|
+
**Python Support**: >=3.10
|
|
81
|
+
|
|
82
|
+
**OS Support**: Linux, macOS, Windows
|
|
83
|
+
|
|
84
|
+
**Status**: Actively maintained
|
|
85
|
+
|
|
86
|
+
## Useful Links
|
|
87
|
+
|
|
88
|
+
- **Homepage**: https://github.com/wexample/python-python-client-internal
|
|
89
|
+
- **Documentation**: [docs.wexample.com](https://docs.wexample.com)
|
|
90
|
+
- **Issue Tracker**: https://github.com/wexample/python-python-client-internal/issues
|
|
91
|
+
- **Discussions**: https://github.com/wexample/python-python-client-internal/discussions
|
|
92
|
+
- **PyPI**: [pypi.org/project/python_client_internal](https://pypi.org/project/python_client_internal/)
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
[build-system]
|
|
2
|
+
requires = [
|
|
3
|
+
"pdm-backend",
|
|
4
|
+
]
|
|
5
|
+
build-backend = "pdm.backend"
|
|
6
|
+
|
|
7
|
+
[project]
|
|
8
|
+
name = "syrtis-python-client-internal"
|
|
9
|
+
version = "1.0.0"
|
|
10
|
+
authors = [
|
|
11
|
+
{ name = "weeger", email = "contact@syrtis.ai" },
|
|
12
|
+
]
|
|
13
|
+
requires-python = ">=3.10"
|
|
14
|
+
classifiers = [
|
|
15
|
+
"Programming Language :: Python :: 3",
|
|
16
|
+
"License :: OSI Approved :: MIT License",
|
|
17
|
+
"Operating System :: OS Independent",
|
|
18
|
+
]
|
|
19
|
+
dependencies = [
|
|
20
|
+
"syrtis-python-client>=9.0.0",
|
|
21
|
+
]
|
|
22
|
+
|
|
23
|
+
[project.readme]
|
|
24
|
+
file = "README.md"
|
|
25
|
+
content-type = "text/markdown"
|
|
26
|
+
|
|
27
|
+
[project.license]
|
|
28
|
+
text = "MIT"
|
|
29
|
+
|
|
30
|
+
[project.optional-dependencies]
|
|
31
|
+
dev = [
|
|
32
|
+
"pytest",
|
|
33
|
+
"pytest-cov",
|
|
34
|
+
]
|
|
35
|
+
|
|
36
|
+
[tool.setuptools.packages.find]
|
|
37
|
+
include = [
|
|
38
|
+
"*",
|
|
39
|
+
]
|
|
40
|
+
exclude = [
|
|
41
|
+
"syrtis_python_client_internal.testing*",
|
|
42
|
+
]
|
|
43
|
+
|
|
44
|
+
[tool.pdm]
|
|
45
|
+
distribution = true
|
|
46
|
+
|
|
47
|
+
[tool.pdm.build]
|
|
48
|
+
package-dir = "src"
|
|
49
|
+
packages = [
|
|
50
|
+
{ include = "syrtis_python_client_internal", from = "src" },
|
|
51
|
+
]
|
|
52
|
+
|
|
53
|
+
[tool.pytest.ini_options]
|
|
54
|
+
testpaths = [
|
|
55
|
+
"tests",
|
|
56
|
+
]
|
|
57
|
+
pythonpath = [
|
|
58
|
+
"src",
|
|
59
|
+
]
|
|
60
|
+
|
|
61
|
+
[tool.coverage.run]
|
|
62
|
+
source = [
|
|
63
|
+
"syrtis_python_client_internal",
|
|
64
|
+
]
|
|
65
|
+
omit = [
|
|
66
|
+
"*/tests/*",
|
|
67
|
+
"*/.venv/*",
|
|
68
|
+
"*/venv/*",
|
|
69
|
+
]
|
|
70
|
+
|
|
71
|
+
[tool.coverage.report]
|
|
72
|
+
exclude_lines = [
|
|
73
|
+
"pragma: no cover",
|
|
74
|
+
"def __repr__",
|
|
75
|
+
"raise AssertionError",
|
|
76
|
+
"raise NotImplementedError",
|
|
77
|
+
"if __name__ == .__main__.:",
|
|
78
|
+
"if TYPE_CHECKING:",
|
|
79
|
+
"@abstractmethod",
|
|
80
|
+
]
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
from __future__ import annotations
|
|
2
|
+
|
|
3
|
+
from syrtis_python_client_internal.common.syrtis_client import SyrtisClient
|
|
4
|
+
from syrtis_python_client_internal.database.database_repositories_manager import (
|
|
5
|
+
DatabaseRepositoriesManager,
|
|
6
|
+
)
|
|
7
|
+
from syrtis_python_client_internal.entity.internal_sample import InternalSample
|
|
8
|
+
from syrtis_python_client_internal.repository.internal_sample_repository import (
|
|
9
|
+
InternalSampleRepository,
|
|
10
|
+
)
|
|
11
|
+
|
|
12
|
+
__all__ = [
|
|
13
|
+
"DatabaseRepositoriesManager",
|
|
14
|
+
"SyrtisClient",
|
|
15
|
+
"InternalSample",
|
|
16
|
+
"InternalSampleRepository",
|
|
17
|
+
]
|
|
File without changes
|
syrtis_python_client_internal-1.0.0/src/syrtis_python_client_internal/common/entity_schemas.py
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
from __future__ import annotations
|
|
2
|
+
|
|
3
|
+
from typing import Any
|
|
4
|
+
|
|
5
|
+
from syrtis_python_client_internal.common.generated_entity_schemas import (
|
|
6
|
+
get_generated_entity_schemas,
|
|
7
|
+
)
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
def get_entity_schemas() -> dict[str, dict[str, Any]]:
|
|
11
|
+
return get_generated_entity_schemas()
|
syrtis_python_client_internal-1.0.0/src/syrtis_python_client_internal/common/generated_entities.py
ADDED
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
from __future__ import annotations
|
|
2
|
+
|
|
3
|
+
from syrtis_python_client.common.generated_entities import (
|
|
4
|
+
generated_entities as external_generated_entities,
|
|
5
|
+
)
|
|
6
|
+
from syrtis_python_client_internal.entity.artifact import Artifact
|
|
7
|
+
from syrtis_python_client_internal.entity.content_type import ContentType
|
|
8
|
+
from syrtis_python_client_internal.entity.credential import Credential
|
|
9
|
+
from syrtis_python_client_internal.entity.credential_parameter import CredentialParameter
|
|
10
|
+
from syrtis_python_client_internal.entity.dashboard import Dashboard
|
|
11
|
+
from syrtis_python_client_internal.entity.directory import Directory
|
|
12
|
+
from syrtis_python_client_internal.entity.document_directory import DocumentDirectory
|
|
13
|
+
from syrtis_python_client_internal.entity.embedding import Embedding
|
|
14
|
+
from syrtis_python_client_internal.entity.extension import Extension
|
|
15
|
+
from syrtis_python_client_internal.entity.instruction import Instruction
|
|
16
|
+
from syrtis_python_client_internal.entity.internal_sample import InternalSample
|
|
17
|
+
from syrtis_python_client_internal.entity.layer import Layer
|
|
18
|
+
from syrtis_python_client_internal.entity.log import Log
|
|
19
|
+
from syrtis_python_client_internal.entity.model import Model
|
|
20
|
+
from syrtis_python_client_internal.entity.operator import Operator
|
|
21
|
+
from syrtis_python_client_internal.entity.operator_port import OperatorPort
|
|
22
|
+
from syrtis_python_client_internal.entity.panel import Panel
|
|
23
|
+
from syrtis_python_client_internal.entity.panel_stamp import PanelStamp
|
|
24
|
+
from syrtis_python_client_internal.entity.pipeline import Pipeline
|
|
25
|
+
from syrtis_python_client_internal.entity.pipeline_operator import PipelineOperator
|
|
26
|
+
from syrtis_python_client_internal.entity.pipeline_projection import PipelineProjection
|
|
27
|
+
from syrtis_python_client_internal.entity.project import Project
|
|
28
|
+
from syrtis_python_client_internal.entity.project_access import ProjectAccess
|
|
29
|
+
from syrtis_python_client_internal.entity.projection import Projection
|
|
30
|
+
from syrtis_python_client_internal.entity.projection_config import ProjectionConfig
|
|
31
|
+
from syrtis_python_client_internal.entity.projection_relation import ProjectionRelation
|
|
32
|
+
from syrtis_python_client_internal.entity.prompt import Prompt
|
|
33
|
+
from syrtis_python_client_internal.entity.schema import Schema
|
|
34
|
+
from syrtis_python_client_internal.entity.session_group import SessionGroup
|
|
35
|
+
from syrtis_python_client_internal.entity.source import Source
|
|
36
|
+
from syrtis_python_client_internal.entity.storage import Storage
|
|
37
|
+
from syrtis_python_client_internal.entity.storage_content_type import StorageContentType
|
|
38
|
+
from syrtis_python_client_internal.entity.token import Token
|
|
39
|
+
from syrtis_python_client_internal.entity.trigger import Trigger
|
|
40
|
+
from syrtis_python_client_internal.entity.trigger_config import TriggerConfig
|
|
41
|
+
from syrtis_python_client_internal.entity.user_config import UserConfig
|
|
42
|
+
from syrtis_python_client_internal.common import generated_external_relations # noqa: F401
|
|
43
|
+
|
|
44
|
+
|
|
45
|
+
generated_entities = [
|
|
46
|
+
Artifact,
|
|
47
|
+
ContentType,
|
|
48
|
+
Credential,
|
|
49
|
+
CredentialParameter,
|
|
50
|
+
Dashboard,
|
|
51
|
+
Directory,
|
|
52
|
+
DocumentDirectory,
|
|
53
|
+
Embedding,
|
|
54
|
+
Extension,
|
|
55
|
+
Instruction,
|
|
56
|
+
InternalSample,
|
|
57
|
+
Layer,
|
|
58
|
+
Log,
|
|
59
|
+
Model,
|
|
60
|
+
Operator,
|
|
61
|
+
OperatorPort,
|
|
62
|
+
Panel,
|
|
63
|
+
PanelStamp,
|
|
64
|
+
Pipeline,
|
|
65
|
+
PipelineOperator,
|
|
66
|
+
PipelineProjection,
|
|
67
|
+
Project,
|
|
68
|
+
ProjectAccess,
|
|
69
|
+
Projection,
|
|
70
|
+
ProjectionConfig,
|
|
71
|
+
ProjectionRelation,
|
|
72
|
+
Prompt,
|
|
73
|
+
Schema,
|
|
74
|
+
SessionGroup,
|
|
75
|
+
Source,
|
|
76
|
+
Storage,
|
|
77
|
+
StorageContentType,
|
|
78
|
+
Token,
|
|
79
|
+
Trigger,
|
|
80
|
+
TriggerConfig,
|
|
81
|
+
UserConfig,
|
|
82
|
+
]
|
|
83
|
+
all_entities = [*external_generated_entities, *generated_entities]
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
from __future__ import annotations
|
|
2
|
+
|
|
3
|
+
import json
|
|
4
|
+
from importlib.resources import files
|
|
5
|
+
from typing import Any
|
|
6
|
+
|
|
7
|
+
ENTITY_SCHEMA_FILES = [
|
|
8
|
+
"artifact.json",
|
|
9
|
+
"content_type.json",
|
|
10
|
+
"credential.json",
|
|
11
|
+
"credential_parameter.json",
|
|
12
|
+
"dashboard.json",
|
|
13
|
+
"directory.json",
|
|
14
|
+
"document_directory.json",
|
|
15
|
+
"embedding.json",
|
|
16
|
+
"extension.json",
|
|
17
|
+
"instruction.json",
|
|
18
|
+
"internal_sample.json",
|
|
19
|
+
"layer.json",
|
|
20
|
+
"log.json",
|
|
21
|
+
"model.json",
|
|
22
|
+
"operator.json",
|
|
23
|
+
"operator_port.json",
|
|
24
|
+
"panel.json",
|
|
25
|
+
"panel_stamp.json",
|
|
26
|
+
"pipeline.json",
|
|
27
|
+
"pipeline_operator.json",
|
|
28
|
+
"pipeline_projection.json",
|
|
29
|
+
"project.json",
|
|
30
|
+
"project_access.json",
|
|
31
|
+
"projection.json",
|
|
32
|
+
"projection_config.json",
|
|
33
|
+
"projection_relation.json",
|
|
34
|
+
"prompt.json",
|
|
35
|
+
"schema.json",
|
|
36
|
+
"session_group.json",
|
|
37
|
+
"source.json",
|
|
38
|
+
"storage.json",
|
|
39
|
+
"storage_content_type.json",
|
|
40
|
+
"token.json",
|
|
41
|
+
"trigger.json",
|
|
42
|
+
"trigger_config.json",
|
|
43
|
+
"user_config.json",
|
|
44
|
+
]
|
|
45
|
+
|
|
46
|
+
|
|
47
|
+
def get_generated_entity_schemas() -> dict[str, dict[str, Any]]:
|
|
48
|
+
data_package = "syrtis_python_client_internal.data.entity"
|
|
49
|
+
schemas: dict[str, dict[str, Any]] = {}
|
|
50
|
+
for file_name in ENTITY_SCHEMA_FILES:
|
|
51
|
+
schema_file = files(data_package).joinpath(file_name)
|
|
52
|
+
schema = json.loads(schema_file.read_text(encoding="utf-8"))
|
|
53
|
+
schemas[schema["name"]] = schema
|
|
54
|
+
return schemas
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
from __future__ import annotations
|
|
2
|
+
|
|
3
|
+
from sqlalchemy.orm import relationship
|
|
4
|
+
from syrtis_python_client.entity.chunk import Chunk
|
|
5
|
+
from syrtis_python_client.entity.document import Document
|
|
6
|
+
from syrtis_python_client.entity.message import Message
|
|
7
|
+
from syrtis_python_client.entity.request import Request
|
|
8
|
+
from syrtis_python_client.entity.scenario import Scenario
|
|
9
|
+
from syrtis_python_client.entity.session import Session
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
Chunk.embeddings = relationship('Embedding', primaryjoin='Chunk.id == foreign(Embedding.chunk_id)', viewonly=True, lazy='select')
|
|
13
|
+
Document.project = relationship('Project', primaryjoin='foreign(Document.project_id) == Project.id', lazy='select')
|
|
14
|
+
Document.documentDirectories = relationship('DocumentDirectory', primaryjoin='Document.id == foreign(DocumentDirectory.document_id)', viewonly=True, lazy='select')
|
|
15
|
+
Message.model = relationship('Model', primaryjoin='foreign(Message.model_id) == Model.id', lazy='select')
|
|
16
|
+
Request.projection = relationship('Projection', primaryjoin='foreign(Request.projection_id) == Projection.id', lazy='select')
|
|
17
|
+
Scenario.project = relationship('Project', primaryjoin='foreign(Scenario.project_id) == Project.id', lazy='select')
|
|
18
|
+
Session.sessionGroup = relationship('SessionGroup', primaryjoin='foreign(Session.session_group_id) == SessionGroup.id', lazy='select')
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
from syrtis_python_client_internal.repository.artifact_repository import ArtifactRepository
|
|
2
|
+
from syrtis_python_client_internal.repository.content_type_repository import ContentTypeRepository
|
|
3
|
+
from syrtis_python_client_internal.repository.credential_parameter_repository import CredentialParameterRepository
|
|
4
|
+
from syrtis_python_client_internal.repository.credential_repository import CredentialRepository
|
|
5
|
+
from syrtis_python_client_internal.repository.dashboard_repository import DashboardRepository
|
|
6
|
+
from syrtis_python_client_internal.repository.directory_repository import DirectoryRepository
|
|
7
|
+
from syrtis_python_client_internal.repository.document_directory_repository import DocumentDirectoryRepository
|
|
8
|
+
from syrtis_python_client_internal.repository.embedding_repository import EmbeddingRepository
|
|
9
|
+
from syrtis_python_client_internal.repository.extension_repository import ExtensionRepository
|
|
10
|
+
from syrtis_python_client_internal.repository.instruction_repository import InstructionRepository
|
|
11
|
+
from syrtis_python_client_internal.repository.internal_sample_repository import InternalSampleRepository
|
|
12
|
+
from syrtis_python_client_internal.repository.layer_repository import LayerRepository
|
|
13
|
+
from syrtis_python_client_internal.repository.log_repository import LogRepository
|
|
14
|
+
from syrtis_python_client_internal.repository.model_repository import ModelRepository
|
|
15
|
+
from syrtis_python_client_internal.repository.operator_port_repository import OperatorPortRepository
|
|
16
|
+
from syrtis_python_client_internal.repository.operator_repository import OperatorRepository
|
|
17
|
+
from syrtis_python_client_internal.repository.panel_repository import PanelRepository
|
|
18
|
+
from syrtis_python_client_internal.repository.panel_stamp_repository import PanelStampRepository
|
|
19
|
+
from syrtis_python_client_internal.repository.pipeline_operator_repository import PipelineOperatorRepository
|
|
20
|
+
from syrtis_python_client_internal.repository.pipeline_projection_repository import PipelineProjectionRepository
|
|
21
|
+
from syrtis_python_client_internal.repository.pipeline_repository import PipelineRepository
|
|
22
|
+
from syrtis_python_client_internal.repository.project_access_repository import ProjectAccessRepository
|
|
23
|
+
from syrtis_python_client_internal.repository.project_repository import ProjectRepository
|
|
24
|
+
from syrtis_python_client_internal.repository.projection_config_repository import ProjectionConfigRepository
|
|
25
|
+
from syrtis_python_client_internal.repository.projection_relation_repository import ProjectionRelationRepository
|
|
26
|
+
from syrtis_python_client_internal.repository.projection_repository import ProjectionRepository
|
|
27
|
+
from syrtis_python_client_internal.repository.prompt_repository import PromptRepository
|
|
28
|
+
from syrtis_python_client_internal.repository.schema_repository import SchemaRepository
|
|
29
|
+
from syrtis_python_client_internal.repository.session_group_repository import SessionGroupRepository
|
|
30
|
+
from syrtis_python_client_internal.repository.source_repository import SourceRepository
|
|
31
|
+
from syrtis_python_client_internal.repository.storage_content_type_repository import StorageContentTypeRepository
|
|
32
|
+
from syrtis_python_client_internal.repository.storage_repository import StorageRepository
|
|
33
|
+
from syrtis_python_client_internal.repository.token_repository import TokenRepository
|
|
34
|
+
from syrtis_python_client_internal.repository.trigger_config_repository import TriggerConfigRepository
|
|
35
|
+
from syrtis_python_client_internal.repository.trigger_repository import TriggerRepository
|
|
36
|
+
from syrtis_python_client_internal.repository.user_config_repository import UserConfigRepository
|
|
37
|
+
|
|
38
|
+
|
|
39
|
+
generated_repositories = [
|
|
40
|
+
ArtifactRepository,
|
|
41
|
+
ContentTypeRepository,
|
|
42
|
+
CredentialParameterRepository,
|
|
43
|
+
CredentialRepository,
|
|
44
|
+
DashboardRepository,
|
|
45
|
+
DirectoryRepository,
|
|
46
|
+
DocumentDirectoryRepository,
|
|
47
|
+
EmbeddingRepository,
|
|
48
|
+
ExtensionRepository,
|
|
49
|
+
InstructionRepository,
|
|
50
|
+
InternalSampleRepository,
|
|
51
|
+
LayerRepository,
|
|
52
|
+
LogRepository,
|
|
53
|
+
ModelRepository,
|
|
54
|
+
OperatorPortRepository,
|
|
55
|
+
OperatorRepository,
|
|
56
|
+
PanelRepository,
|
|
57
|
+
PanelStampRepository,
|
|
58
|
+
PipelineOperatorRepository,
|
|
59
|
+
PipelineProjectionRepository,
|
|
60
|
+
PipelineRepository,
|
|
61
|
+
ProjectAccessRepository,
|
|
62
|
+
ProjectRepository,
|
|
63
|
+
ProjectionConfigRepository,
|
|
64
|
+
ProjectionRelationRepository,
|
|
65
|
+
ProjectionRepository,
|
|
66
|
+
PromptRepository,
|
|
67
|
+
SchemaRepository,
|
|
68
|
+
SessionGroupRepository,
|
|
69
|
+
SourceRepository,
|
|
70
|
+
StorageContentTypeRepository,
|
|
71
|
+
StorageRepository,
|
|
72
|
+
TokenRepository,
|
|
73
|
+
TriggerConfigRepository,
|
|
74
|
+
TriggerRepository,
|
|
75
|
+
UserConfigRepository,
|
|
76
|
+
]
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
from __future__ import annotations
|
|
2
|
+
|
|
3
|
+
from typing import Any
|
|
4
|
+
|
|
5
|
+
from syrtis_python_client.common.syrtis_client import SyrtisClient as SyrtisClientPublic
|
|
6
|
+
|
|
7
|
+
from syrtis_python_client_internal.common.entity_schemas import get_entity_schemas
|
|
8
|
+
from syrtis_python_client_internal.common.generated_repositories import (
|
|
9
|
+
generated_repositories,
|
|
10
|
+
)
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
class SyrtisClient(SyrtisClientPublic):
|
|
14
|
+
def get_entity_schemas(self) -> dict[str, dict[str, Any]]:
|
|
15
|
+
return {
|
|
16
|
+
**super().get_entity_schemas(),
|
|
17
|
+
**get_entity_schemas(),
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
def get_repository_classes(self) -> list[type[Any]]:
|
|
21
|
+
merged = super().get_repository_classes() + list(generated_repositories)
|
|
22
|
+
unique: list[type[Any]] = []
|
|
23
|
+
seen: set[type[Any]] = set()
|
|
24
|
+
|
|
25
|
+
for repository_class in merged:
|
|
26
|
+
if repository_class in seen:
|
|
27
|
+
continue
|
|
28
|
+
seen.add(repository_class)
|
|
29
|
+
unique.append(repository_class)
|
|
30
|
+
|
|
31
|
+
return unique
|
|
File without changes
|
|
File without changes
|