thestage 0.5.45__tar.gz → 0.5.46__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.
- {thestage-0.5.45 → thestage-0.5.46}/PKG-INFO +1 -1
- {thestage-0.5.45 → thestage-0.5.46}/pyproject.toml +1 -1
- thestage-0.5.46/thestage/.env +6 -0
- {thestage-0.5.45 → thestage-0.5.46}/thestage/__init__.py +1 -1
- {thestage-0.5.45 → thestage-0.5.46}/thestage/services/clients/thestage_api/api_client.py +6 -6
- {thestage-0.5.45 → thestage-0.5.46}/thestage/services/clients/thestage_api/dtos/enums/instance_rented_status.py +1 -0
- {thestage-0.5.45 → thestage-0.5.46}/thestage/services/clients/thestage_api/dtos/enums/selfhosted_status.py +1 -1
- {thestage-0.5.45 → thestage-0.5.46}/thestage/services/instance/instance_service.py +2 -2
- thestage-0.5.45/thestage/.env +0 -5
- thestage-0.5.45/thestage/services/clients/.DS_Store +0 -0
- {thestage-0.5.45 → thestage-0.5.46}/LICENSE.txt +0 -0
- {thestage-0.5.45 → thestage-0.5.46}/README.md +0 -0
- {thestage-0.5.45 → thestage-0.5.46}/thestage/__main__.py +0 -0
- {thestage-0.5.45 → thestage-0.5.46}/thestage/color_scheme/color_scheme.py +0 -0
- {thestage-0.5.45 → thestage-0.5.46}/thestage/config/__init__.py +0 -0
- {thestage-0.5.45 → thestage-0.5.46}/thestage/config/env_base.py +0 -0
- {thestage-0.5.45 → thestage-0.5.46}/thestage/controllers/__init__.py +0 -0
- {thestage-0.5.45 → thestage-0.5.46}/thestage/controllers/base_controller.py +0 -0
- {thestage-0.5.45 → thestage-0.5.46}/thestage/controllers/config_controller.py +0 -0
- {thestage-0.5.45 → thestage-0.5.46}/thestage/controllers/container_controller.py +0 -0
- {thestage-0.5.45 → thestage-0.5.46}/thestage/controllers/instance_controller.py +0 -0
- {thestage-0.5.45 → thestage-0.5.46}/thestage/controllers/project_controller.py +0 -0
- {thestage-0.5.45 → thestage-0.5.46}/thestage/controllers/utils_controller.py +0 -0
- {thestage-0.5.45 → thestage-0.5.46}/thestage/debug_main.dist.py +0 -0
- {thestage-0.5.45 → thestage-0.5.46}/thestage/entities/__init__.py +0 -0
- {thestage-0.5.45 → thestage-0.5.46}/thestage/entities/container.py +0 -0
- {thestage-0.5.45 → thestage-0.5.46}/thestage/entities/enums/__init__.py +0 -0
- {thestage-0.5.45 → thestage-0.5.46}/thestage/entities/enums/order_direction_type.py +0 -0
- {thestage-0.5.45 → thestage-0.5.46}/thestage/entities/enums/shell_type.py +0 -0
- {thestage-0.5.45 → thestage-0.5.46}/thestage/entities/enums/tail_output_type.py +0 -0
- {thestage-0.5.45 → thestage-0.5.46}/thestage/entities/enums/yes_no_response.py +0 -0
- {thestage-0.5.45 → thestage-0.5.46}/thestage/entities/file_item.py +0 -0
- {thestage-0.5.45 → thestage-0.5.46}/thestage/entities/project_inference_simulator.py +0 -0
- {thestage-0.5.45 → thestage-0.5.46}/thestage/entities/project_inference_simulator_model.py +0 -0
- {thestage-0.5.45 → thestage-0.5.46}/thestage/entities/project_task.py +0 -0
- {thestage-0.5.45 → thestage-0.5.46}/thestage/entities/rented_instance.py +0 -0
- {thestage-0.5.45 → thestage-0.5.46}/thestage/entities/self_hosted_instance.py +0 -0
- {thestage-0.5.45 → thestage-0.5.46}/thestage/exceptions/__init__.py +0 -0
- {thestage-0.5.45 → thestage-0.5.46}/thestage/exceptions/auth_exception.py +0 -0
- {thestage-0.5.45 → thestage-0.5.46}/thestage/exceptions/base_exception.py +0 -0
- {thestage-0.5.45 → thestage-0.5.46}/thestage/exceptions/business_logic_exception.py +0 -0
- {thestage-0.5.45 → thestage-0.5.46}/thestage/exceptions/config_exception.py +0 -0
- {thestage-0.5.45 → thestage-0.5.46}/thestage/exceptions/file_system_exception.py +0 -0
- {thestage-0.5.45 → thestage-0.5.46}/thestage/exceptions/git_access_exception.py +0 -0
- {thestage-0.5.45 → thestage-0.5.46}/thestage/exceptions/http_error_exception.py +0 -0
- {thestage-0.5.45 → thestage-0.5.46}/thestage/exceptions/remote_server_exception.py +0 -0
- {thestage-0.5.45 → thestage-0.5.46}/thestage/git/ProgressPrinter.py +0 -0
- {thestage-0.5.45 → thestage-0.5.46}/thestage/helpers/__init__.py +0 -0
- {thestage-0.5.45 → thestage-0.5.46}/thestage/helpers/error_handler.py +0 -0
- {thestage-0.5.45 → thestage-0.5.46}/thestage/helpers/logger/__init__.py +0 -0
- {thestage-0.5.45 → thestage-0.5.46}/thestage/helpers/logger/app_logger.py +0 -0
- {thestage-0.5.45 → thestage-0.5.46}/thestage/helpers/ssh_util.py +0 -0
- {thestage-0.5.45 → thestage-0.5.46}/thestage/i18n/en_GB/messages.po +0 -0
- {thestage-0.5.45 → thestage-0.5.46}/thestage/i18n/translation.py +0 -0
- {thestage-0.5.45 → thestage-0.5.46}/thestage/main.py +0 -0
- {thestage-0.5.45 → thestage-0.5.46}/thestage/services/.env +0 -0
- {thestage-0.5.45 → thestage-0.5.46}/thestage/services/__init__.py +0 -0
- {thestage-0.5.45 → thestage-0.5.46}/thestage/services/abstract_mapper.py +0 -0
- {thestage-0.5.45 → thestage-0.5.46}/thestage/services/abstract_service.py +0 -0
- {thestage-0.5.45 → thestage-0.5.46}/thestage/services/app_config_service.py +0 -0
- {thestage-0.5.45 → thestage-0.5.46}/thestage/services/clients/__init__.py +0 -0
- {thestage-0.5.45 → thestage-0.5.46}/thestage/services/clients/git/__init__.py +0 -0
- {thestage-0.5.45 → thestage-0.5.46}/thestage/services/clients/git/git_client.py +0 -0
- {thestage-0.5.45 → thestage-0.5.46}/thestage/services/clients/thestage_api/__init__.py +0 -0
- {thestage-0.5.45 → thestage-0.5.46}/thestage/services/clients/thestage_api/core/api_client_abstract.py +0 -0
- {thestage-0.5.45 → thestage-0.5.46}/thestage/services/clients/thestage_api/core/api_client_core.py +0 -0
- {thestage-0.5.45 → thestage-0.5.46}/thestage/services/clients/thestage_api/core/http_client_exception.py +0 -0
- {thestage-0.5.45 → thestage-0.5.46}/thestage/services/clients/thestage_api/dtos/__init__.py +0 -0
- {thestage-0.5.45 → thestage-0.5.46}/thestage/services/clients/thestage_api/dtos/base_response.py +0 -0
- {thestage-0.5.45 → thestage-0.5.46}/thestage/services/clients/thestage_api/dtos/cloud_provider_region.py +0 -0
- {thestage-0.5.45 → thestage-0.5.46}/thestage/services/clients/thestage_api/dtos/container_param_request.py +0 -0
- {thestage-0.5.45 → thestage-0.5.46}/thestage/services/clients/thestage_api/dtos/container_response.py +0 -0
- {thestage-0.5.45 → thestage-0.5.46}/thestage/services/clients/thestage_api/dtos/docker_container_assigned_device.py +0 -0
- {thestage-0.5.45 → thestage-0.5.46}/thestage/services/clients/thestage_api/dtos/docker_container_controller/docker_container_list_request.py +0 -0
- {thestage-0.5.45 → thestage-0.5.46}/thestage/services/clients/thestage_api/dtos/docker_container_controller/docker_container_list_response.py +0 -0
- {thestage-0.5.45 → thestage-0.5.46}/thestage/services/clients/thestage_api/dtos/docker_container_mapping.py +0 -0
- {thestage-0.5.45 → thestage-0.5.46}/thestage/services/clients/thestage_api/dtos/entity_filter_request.py +0 -0
- {thestage-0.5.45 → thestage-0.5.46}/thestage/services/clients/thestage_api/dtos/enums/__init__.py +0 -0
- {thestage-0.5.45 → thestage-0.5.46}/thestage/services/clients/thestage_api/dtos/enums/container_pending_action.py +0 -0
- {thestage-0.5.45 → thestage-0.5.46}/thestage/services/clients/thestage_api/dtos/enums/container_status.py +0 -0
- {thestage-0.5.45 → thestage-0.5.46}/thestage/services/clients/thestage_api/dtos/enums/cpu_type.py +0 -0
- {thestage-0.5.45 → thestage-0.5.46}/thestage/services/clients/thestage_api/dtos/enums/currency_type.py +0 -0
- {thestage-0.5.45 → thestage-0.5.46}/thestage/services/clients/thestage_api/dtos/enums/daemon_status.py +0 -0
- {thestage-0.5.45 → thestage-0.5.46}/thestage/services/clients/thestage_api/dtos/enums/disk_type.py +0 -0
- {thestage-0.5.45 → thestage-0.5.46}/thestage/services/clients/thestage_api/dtos/enums/drive_type.py +0 -0
- {thestage-0.5.45 → thestage-0.5.46}/thestage/services/clients/thestage_api/dtos/enums/gpu_name.py +0 -0
- {thestage-0.5.45 → thestage-0.5.46}/thestage/services/clients/thestage_api/dtos/enums/inference_model_status.py +0 -0
- {thestage-0.5.45 → thestage-0.5.46}/thestage/services/clients/thestage_api/dtos/enums/inference_simulator_status.py +0 -0
- {thestage-0.5.45 → thestage-0.5.46}/thestage/services/clients/thestage_api/dtos/enums/instance_type.py +0 -0
- {thestage-0.5.45 → thestage-0.5.46}/thestage/services/clients/thestage_api/dtos/enums/location_region.py +0 -0
- {thestage-0.5.45 → thestage-0.5.46}/thestage/services/clients/thestage_api/dtos/enums/power_status.py +0 -0
- {thestage-0.5.45 → thestage-0.5.46}/thestage/services/clients/thestage_api/dtos/enums/provider_name.py +0 -0
- {thestage-0.5.45 → thestage-0.5.46}/thestage/services/clients/thestage_api/dtos/enums/task_execution_status.py +0 -0
- {thestage-0.5.45 → thestage-0.5.46}/thestage/services/clients/thestage_api/dtos/enums/task_status.py +0 -0
- {thestage-0.5.45 → thestage-0.5.46}/thestage/services/clients/thestage_api/dtos/frontend_status.py +0 -0
- {thestage-0.5.45 → thestage-0.5.46}/thestage/services/clients/thestage_api/dtos/inference_controller/deploy_inference_model_to_instance_request.py +0 -0
- {thestage-0.5.45 → thestage-0.5.46}/thestage/services/clients/thestage_api/dtos/inference_controller/deploy_inference_model_to_instance_response.py +0 -0
- {thestage-0.5.45 → thestage-0.5.46}/thestage/services/clients/thestage_api/dtos/inference_controller/deploy_inference_model_to_sagemaker_request.py +0 -0
- {thestage-0.5.45 → thestage-0.5.46}/thestage/services/clients/thestage_api/dtos/inference_controller/deploy_inference_model_to_sagemaker_response.py +0 -0
- {thestage-0.5.45 → thestage-0.5.46}/thestage/services/clients/thestage_api/dtos/inference_controller/get_inference_simulator_request.py +0 -0
- {thestage-0.5.45 → thestage-0.5.46}/thestage/services/clients/thestage_api/dtos/inference_controller/get_inference_simulator_response.py +0 -0
- {thestage-0.5.45 → thestage-0.5.46}/thestage/services/clients/thestage_api/dtos/inference_controller/inference_simulator_list_for_project_request.py +0 -0
- {thestage-0.5.45 → thestage-0.5.46}/thestage/services/clients/thestage_api/dtos/inference_controller/inference_simulator_list_for_project_response.py +0 -0
- {thestage-0.5.45 → thestage-0.5.46}/thestage/services/clients/thestage_api/dtos/inference_controller/inference_simulator_model_list_for_project_request.py +0 -0
- {thestage-0.5.45 → thestage-0.5.46}/thestage/services/clients/thestage_api/dtos/inference_controller/inference_simulator_model_list_for_project_response.py +0 -0
- {thestage-0.5.45 → thestage-0.5.46}/thestage/services/clients/thestage_api/dtos/inference_simulator_model_response.py +0 -0
- {thestage-0.5.45 → thestage-0.5.46}/thestage/services/clients/thestage_api/dtos/inference_simulator_response.py +0 -0
- {thestage-0.5.45 → thestage-0.5.46}/thestage/services/clients/thestage_api/dtos/installed_service.py +0 -0
- {thestage-0.5.45 → thestage-0.5.46}/thestage/services/clients/thestage_api/dtos/instance_detected_gpus.py +0 -0
- {thestage-0.5.45 → thestage-0.5.46}/thestage/services/clients/thestage_api/dtos/instance_rented_response.py +0 -0
- {thestage-0.5.45 → thestage-0.5.46}/thestage/services/clients/thestage_api/dtos/logging_controller/docker_container_log_stream_request.py +0 -0
- {thestage-0.5.45 → thestage-0.5.46}/thestage/services/clients/thestage_api/dtos/logging_controller/log_polling_request.py +0 -0
- {thestage-0.5.45 → thestage-0.5.46}/thestage/services/clients/thestage_api/dtos/logging_controller/log_polling_response.py +0 -0
- {thestage-0.5.45 → thestage-0.5.46}/thestage/services/clients/thestage_api/dtos/logging_controller/task_log_stream_request.py +0 -0
- {thestage-0.5.45 → thestage-0.5.46}/thestage/services/clients/thestage_api/dtos/logging_controller/user_logs_query_request.py +0 -0
- {thestage-0.5.45 → thestage-0.5.46}/thestage/services/clients/thestage_api/dtos/logging_controller/user_logs_query_response.py +0 -0
- {thestage-0.5.45 → thestage-0.5.46}/thestage/services/clients/thestage_api/dtos/paginated_entity_list.py +0 -0
- {thestage-0.5.45 → thestage-0.5.46}/thestage/services/clients/thestage_api/dtos/pagination_data.py +0 -0
- {thestage-0.5.45 → thestage-0.5.46}/thestage/services/clients/thestage_api/dtos/price_definition.py +0 -0
- {thestage-0.5.45 → thestage-0.5.46}/thestage/services/clients/thestage_api/dtos/project_controller/project_get_deploy_ssh_key_request.py +0 -0
- {thestage-0.5.45 → thestage-0.5.46}/thestage/services/clients/thestage_api/dtos/project_controller/project_get_deploy_ssh_key_response.py +0 -0
- {thestage-0.5.45 → thestage-0.5.46}/thestage/services/clients/thestage_api/dtos/project_controller/project_push_inference_simulator_model_request.py +0 -0
- {thestage-0.5.45 → thestage-0.5.46}/thestage/services/clients/thestage_api/dtos/project_controller/project_push_inference_simulator_model_response.py +0 -0
- {thestage-0.5.45 → thestage-0.5.46}/thestage/services/clients/thestage_api/dtos/project_controller/project_run_task_request.py +0 -0
- {thestage-0.5.45 → thestage-0.5.46}/thestage/services/clients/thestage_api/dtos/project_controller/project_run_task_response.py +0 -0
- {thestage-0.5.45 → thestage-0.5.46}/thestage/services/clients/thestage_api/dtos/project_controller/project_start_inference_simulator_request.py +0 -0
- {thestage-0.5.45 → thestage-0.5.46}/thestage/services/clients/thestage_api/dtos/project_controller/project_start_inference_simulator_response.py +0 -0
- {thestage-0.5.45 → thestage-0.5.46}/thestage/services/clients/thestage_api/dtos/project_response.py +0 -0
- {thestage-0.5.45 → thestage-0.5.46}/thestage/services/clients/thestage_api/dtos/selfhosted_instance_response.py +0 -0
- {thestage-0.5.45 → thestage-0.5.46}/thestage/services/clients/thestage_api/dtos/sftp_path_helper.py +0 -0
- {thestage-0.5.45 → thestage-0.5.46}/thestage/services/clients/thestage_api/dtos/ssh_key_controller/add_ssh_key_to_user_request.py +0 -0
- {thestage-0.5.45 → thestage-0.5.46}/thestage/services/clients/thestage_api/dtos/ssh_key_controller/add_ssh_key_to_user_response.py +0 -0
- {thestage-0.5.45 → thestage-0.5.46}/thestage/services/clients/thestage_api/dtos/ssh_key_controller/add_ssh_public_key_to_instance_request.py +0 -0
- {thestage-0.5.45 → thestage-0.5.46}/thestage/services/clients/thestage_api/dtos/ssh_key_controller/add_ssh_public_key_to_instance_response.py +0 -0
- {thestage-0.5.45 → thestage-0.5.46}/thestage/services/clients/thestage_api/dtos/ssh_key_controller/is_user_has_public_ssh_key_request.py +0 -0
- {thestage-0.5.45 → thestage-0.5.46}/thestage/services/clients/thestage_api/dtos/ssh_key_controller/is_user_has_public_ssh_key_response.py +0 -0
- {thestage-0.5.45 → thestage-0.5.46}/thestage/services/clients/thestage_api/dtos/task_controller/task_list_for_project_request.py +0 -0
- {thestage-0.5.45 → thestage-0.5.46}/thestage/services/clients/thestage_api/dtos/task_controller/task_list_for_project_response.py +0 -0
- {thestage-0.5.45 → thestage-0.5.46}/thestage/services/clients/thestage_api/dtos/task_controller/task_status_localized_map_response.py +0 -0
- {thestage-0.5.45 → thestage-0.5.46}/thestage/services/clients/thestage_api/dtos/task_controller/task_view_response.py +0 -0
- {thestage-0.5.45 → thestage-0.5.46}/thestage/services/clients/thestage_api/dtos/user_controller/user_profile.py +0 -0
- {thestage-0.5.45 → thestage-0.5.46}/thestage/services/config_provider/__init__.py +0 -0
- {thestage-0.5.45 → thestage-0.5.46}/thestage/services/config_provider/config_provider.py +0 -0
- {thestage-0.5.45 → thestage-0.5.46}/thestage/services/connect/connect_service.py +0 -0
- {thestage-0.5.45 → thestage-0.5.46}/thestage/services/connect/dto/remote_server_config.py +0 -0
- {thestage-0.5.45 → thestage-0.5.46}/thestage/services/container/__init__.py +0 -0
- {thestage-0.5.45 → thestage-0.5.46}/thestage/services/container/container_service.py +0 -0
- {thestage-0.5.45 → thestage-0.5.46}/thestage/services/container/mapper/__init__.py +0 -0
- {thestage-0.5.45 → thestage-0.5.46}/thestage/services/container/mapper/container_mapper.py +0 -0
- {thestage-0.5.45 → thestage-0.5.46}/thestage/services/core_files/config_entity.py +0 -0
- {thestage-0.5.45 → thestage-0.5.46}/thestage/services/filesystem_service.py +0 -0
- {thestage-0.5.45 → thestage-0.5.46}/thestage/services/instance/__init__.py +0 -0
- {thestage-0.5.45 → thestage-0.5.46}/thestage/services/instance/mapper/__init__.py +0 -0
- {thestage-0.5.45 → thestage-0.5.46}/thestage/services/instance/mapper/instance_mapper.py +0 -0
- {thestage-0.5.45 → thestage-0.5.46}/thestage/services/instance/mapper/selfhosted_mapper.py +0 -0
- {thestage-0.5.45 → thestage-0.5.46}/thestage/services/logging/byte_print_style.py +0 -0
- {thestage-0.5.45 → thestage-0.5.46}/thestage/services/logging/dto/log_message.py +0 -0
- {thestage-0.5.45 → thestage-0.5.46}/thestage/services/logging/dto/log_type.py +0 -0
- {thestage-0.5.45 → thestage-0.5.46}/thestage/services/logging/exception/log_polling_exception.py +0 -0
- {thestage-0.5.45 → thestage-0.5.46}/thestage/services/logging/logging_constants.py +0 -0
- {thestage-0.5.45 → thestage-0.5.46}/thestage/services/logging/logging_service.py +0 -0
- {thestage-0.5.45 → thestage-0.5.46}/thestage/services/project/__init__.py +0 -0
- {thestage-0.5.45 → thestage-0.5.46}/thestage/services/project/dto/inference_simulator_dto.py +0 -0
- {thestage-0.5.45 → thestage-0.5.46}/thestage/services/project/dto/inference_simulator_model_dto.py +0 -0
- {thestage-0.5.45 → thestage-0.5.46}/thestage/services/project/dto/project_config.py +0 -0
- {thestage-0.5.45 → thestage-0.5.46}/thestage/services/project/mapper/__init__.py +0 -0
- {thestage-0.5.45 → thestage-0.5.46}/thestage/services/project/mapper/project_inference_simulator_mapper.py +0 -0
- {thestage-0.5.45 → thestage-0.5.46}/thestage/services/project/mapper/project_inference_simulator_model_mapper.py +0 -0
- {thestage-0.5.45 → thestage-0.5.46}/thestage/services/project/mapper/project_task_mapper.py +0 -0
- {thestage-0.5.45 → thestage-0.5.46}/thestage/services/project/project_service.py +0 -0
- {thestage-0.5.45 → thestage-0.5.46}/thestage/services/remote_server_service.py +0 -0
- {thestage-0.5.45 → thestage-0.5.46}/thestage/services/service_factory.py +0 -0
- {thestage-0.5.45 → thestage-0.5.46}/thestage/services/task/dto/task_dto.py +0 -0
- {thestage-0.5.45 → thestage-0.5.46}/thestage/services/validation_service.py +0 -0
|
@@ -225,7 +225,7 @@ class TheStageApiClient(TheStageApiClientCore):
|
|
|
225
225
|
|
|
226
226
|
response = self._request(
|
|
227
227
|
method='POST',
|
|
228
|
-
url='/user-api/
|
|
228
|
+
url='/user-api/v2/instance-rented/list',
|
|
229
229
|
data=data,
|
|
230
230
|
token=token,
|
|
231
231
|
)
|
|
@@ -236,7 +236,7 @@ class TheStageApiClient(TheStageApiClientCore):
|
|
|
236
236
|
def get_rented_business_status_map(self, token: str, ) -> Optional[Dict[str, str]]:
|
|
237
237
|
response = self._request(
|
|
238
238
|
method='POST',
|
|
239
|
-
url='/user-api/
|
|
239
|
+
url='/user-api/v2/instance-rented/business-status-localized-map',
|
|
240
240
|
data=None,
|
|
241
241
|
token=token,
|
|
242
242
|
)
|
|
@@ -272,7 +272,7 @@ class TheStageApiClient(TheStageApiClientCore):
|
|
|
272
272
|
|
|
273
273
|
response = self._request(
|
|
274
274
|
method='POST',
|
|
275
|
-
url='/user-api/
|
|
275
|
+
url='/user-api/v2/instance-rented/view-by-slug',
|
|
276
276
|
data=data,
|
|
277
277
|
token=token,
|
|
278
278
|
)
|
|
@@ -294,7 +294,7 @@ class TheStageApiClient(TheStageApiClientCore):
|
|
|
294
294
|
|
|
295
295
|
response = self._request(
|
|
296
296
|
method='POST',
|
|
297
|
-
url='/user-api/
|
|
297
|
+
url='/user-api/v2/self-hosted-instance/view-by-slug',
|
|
298
298
|
data=data,
|
|
299
299
|
token=token,
|
|
300
300
|
)
|
|
@@ -325,7 +325,7 @@ class TheStageApiClient(TheStageApiClientCore):
|
|
|
325
325
|
|
|
326
326
|
response = self._request(
|
|
327
327
|
method='POST',
|
|
328
|
-
url='/user-api/
|
|
328
|
+
url='/user-api/v2/self-hosted-instance/list',
|
|
329
329
|
data=data,
|
|
330
330
|
token=token,
|
|
331
331
|
)
|
|
@@ -336,7 +336,7 @@ class TheStageApiClient(TheStageApiClientCore):
|
|
|
336
336
|
def get_selfhosted_business_status_map(self, token: str, ) -> Optional[Dict[str, str]]:
|
|
337
337
|
response = self._request(
|
|
338
338
|
method='POST',
|
|
339
|
-
url='/user-api/
|
|
339
|
+
url='/user-api/v2/self-hosted-instance/business-status-localized-map',
|
|
340
340
|
data=None,
|
|
341
341
|
token=token,
|
|
342
342
|
)
|
|
@@ -10,6 +10,7 @@ class InstanceRentedBusinessStatus(str, Enum):
|
|
|
10
10
|
STOPPING: str = 'STOPPING'
|
|
11
11
|
STARTING: str = 'STARTING'
|
|
12
12
|
REBOOTING: str = 'REBOOTING'
|
|
13
|
+
UNREACHABLE_DAEMON: str = 'UNREACHABLE_DAEMON'
|
|
13
14
|
DELETED: str = 'DELETED'
|
|
14
15
|
RENTAL_ERROR: str = 'RENTAL_ERROR'
|
|
15
16
|
UNKNOWN: str = 'UNKNOWN'
|
|
@@ -4,7 +4,7 @@ from enum import Enum
|
|
|
4
4
|
class SelfhostedBusinessStatus(str, Enum):
|
|
5
5
|
AWAITING_CONFIGURATION: str = 'AWAITING_CONFIGURATION'
|
|
6
6
|
RUNNING: str = 'RUNNING'
|
|
7
|
-
|
|
7
|
+
UNREACHABLE_DAEMON: str = 'UNREACHABLE_DAEMON'
|
|
8
8
|
DELETED: str = 'DELETED'
|
|
9
9
|
UNKNOWN: str = 'UNKNOWN'
|
|
10
10
|
ALL: str = 'ALL'
|
|
@@ -105,7 +105,7 @@ class InstanceService(AbstractService):
|
|
|
105
105
|
typer.echo(__('Cannot connect to self-hosted instance: it is awaiting configuration'))
|
|
106
106
|
raise typer.Exit(1)
|
|
107
107
|
elif instance.frontend_status.status_key in [
|
|
108
|
-
SelfhostedBusinessStatus.
|
|
108
|
+
SelfhostedBusinessStatus.UNREACHABLE_DAEMON.name,
|
|
109
109
|
SelfhostedBusinessStatus.DELETED.name,
|
|
110
110
|
]:
|
|
111
111
|
typer.echo(__('Cannot connect to self-hosted instance: it may be turned off or unreachable'))
|
|
@@ -237,7 +237,7 @@ class InstanceService(AbstractService):
|
|
|
237
237
|
statuses = ({key: selfhosted_instance_status_map[key] for key in [
|
|
238
238
|
SelfhostedBusinessStatus.AWAITING_CONFIGURATION,
|
|
239
239
|
SelfhostedBusinessStatus.RUNNING,
|
|
240
|
-
SelfhostedBusinessStatus.
|
|
240
|
+
SelfhostedBusinessStatus.UNREACHABLE_DAEMON,
|
|
241
241
|
]}).values()
|
|
242
242
|
|
|
243
243
|
if "all" in statuses:
|
thestage-0.5.45/thestage/.env
DELETED
|
Binary file
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{thestage-0.5.45 → thestage-0.5.46}/thestage/services/clients/thestage_api/core/api_client_core.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{thestage-0.5.45 → thestage-0.5.46}/thestage/services/clients/thestage_api/dtos/base_response.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{thestage-0.5.45 → thestage-0.5.46}/thestage/services/clients/thestage_api/dtos/enums/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{thestage-0.5.45 → thestage-0.5.46}/thestage/services/clients/thestage_api/dtos/enums/cpu_type.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{thestage-0.5.45 → thestage-0.5.46}/thestage/services/clients/thestage_api/dtos/enums/disk_type.py
RENAMED
|
File without changes
|
{thestage-0.5.45 → thestage-0.5.46}/thestage/services/clients/thestage_api/dtos/enums/drive_type.py
RENAMED
|
File without changes
|
{thestage-0.5.45 → thestage-0.5.46}/thestage/services/clients/thestage_api/dtos/enums/gpu_name.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{thestage-0.5.45 → thestage-0.5.46}/thestage/services/clients/thestage_api/dtos/enums/task_status.py
RENAMED
|
File without changes
|
{thestage-0.5.45 → thestage-0.5.46}/thestage/services/clients/thestage_api/dtos/frontend_status.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{thestage-0.5.45 → thestage-0.5.46}/thestage/services/clients/thestage_api/dtos/installed_service.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{thestage-0.5.45 → thestage-0.5.46}/thestage/services/clients/thestage_api/dtos/pagination_data.py
RENAMED
|
File without changes
|
{thestage-0.5.45 → thestage-0.5.46}/thestage/services/clients/thestage_api/dtos/price_definition.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{thestage-0.5.45 → thestage-0.5.46}/thestage/services/clients/thestage_api/dtos/project_response.py
RENAMED
|
File without changes
|
|
File without changes
|
{thestage-0.5.45 → thestage-0.5.46}/thestage/services/clients/thestage_api/dtos/sftp_path_helper.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{thestage-0.5.45 → thestage-0.5.46}/thestage/services/logging/exception/log_polling_exception.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{thestage-0.5.45 → thestage-0.5.46}/thestage/services/project/dto/inference_simulator_dto.py
RENAMED
|
File without changes
|
{thestage-0.5.45 → thestage-0.5.46}/thestage/services/project/dto/inference_simulator_model_dto.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|