perceptic-core-client 0.28.0__tar.gz → 0.30.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.
Potentially problematic release.
This version of perceptic-core-client might be problematic. Click here for more details.
- {perceptic_core_client-0.28.0 → perceptic_core_client-0.30.0}/PKG-INFO +1 -1
- perceptic_core_client-0.30.0/VERSION +1 -0
- {perceptic_core_client-0.28.0 → perceptic_core_client-0.30.0}/src/perceptic_core_client/__init__.py +4 -0
- perceptic_core_client-0.30.0/src/perceptic_core_client/api/user_resource_api.py +547 -0
- {perceptic_core_client-0.28.0 → perceptic_core_client-0.30.0}/src/perceptic_core_client/api/worker_resource_api.py +273 -0
- {perceptic_core_client-0.28.0 → perceptic_core_client-0.30.0}/src/perceptic_core_client/models/__init__.py +2 -0
- perceptic_core_client-0.30.0/src/perceptic_core_client/models/get_worker_run_response.py +97 -0
- {perceptic_core_client-0.28.0 → perceptic_core_client-0.30.0}/src/perceptic_core_client/models/info_event.py +4 -1
- {perceptic_core_client-0.28.0 → perceptic_core_client-0.30.0}/src/perceptic_core_client/models/progress_event.py +5 -2
- {perceptic_core_client-0.28.0 → perceptic_core_client-0.30.0}/src/perceptic_core_client/models/request_for_input_event.py +4 -1
- perceptic_core_client-0.30.0/src/perceptic_core_client/models/user_info_response.py +115 -0
- perceptic_core_client-0.30.0/src/perceptic_core_client/test/test_get_worker_run_response.py +55 -0
- {perceptic_core_client-0.28.0 → perceptic_core_client-0.30.0}/src/perceptic_core_client/test/test_info_event.py +1 -0
- {perceptic_core_client-0.28.0 → perceptic_core_client-0.30.0}/src/perceptic_core_client/test/test_progress_event.py +1 -0
- {perceptic_core_client-0.28.0 → perceptic_core_client-0.30.0}/src/perceptic_core_client/test/test_request_for_input_event.py +1 -0
- perceptic_core_client-0.30.0/src/perceptic_core_client/test/test_user_info_response.py +56 -0
- {perceptic_core_client-0.28.0 → perceptic_core_client-0.30.0}/src/perceptic_core_client/test/test_user_resource_api.py +7 -0
- {perceptic_core_client-0.28.0 → perceptic_core_client-0.30.0}/src/perceptic_core_client/test/test_worker_event.py +1 -0
- {perceptic_core_client-0.28.0 → perceptic_core_client-0.30.0}/src/perceptic_core_client/test/test_worker_resource_api.py +7 -0
- {perceptic_core_client-0.28.0 → perceptic_core_client-0.30.0}/src/perceptic_core_client.egg-info/PKG-INFO +1 -1
- {perceptic_core_client-0.28.0 → perceptic_core_client-0.30.0}/src/perceptic_core_client.egg-info/SOURCES.txt +4 -0
- perceptic_core_client-0.28.0/VERSION +0 -1
- perceptic_core_client-0.28.0/src/perceptic_core_client/api/user_resource_api.py +0 -278
- {perceptic_core_client-0.28.0 → perceptic_core_client-0.30.0}/MANIFEST.in +0 -0
- {perceptic_core_client-0.28.0 → perceptic_core_client-0.30.0}/README.md +0 -0
- {perceptic_core_client-0.28.0 → perceptic_core_client-0.30.0}/pyproject.toml +0 -0
- {perceptic_core_client-0.28.0 → perceptic_core_client-0.30.0}/scripts/generate_client.py +0 -0
- {perceptic_core_client-0.28.0 → perceptic_core_client-0.30.0}/setup.cfg +0 -0
- {perceptic_core_client-0.28.0 → perceptic_core_client-0.30.0}/setup.py +0 -0
- {perceptic_core_client-0.28.0 → perceptic_core_client-0.30.0}/src/perceptic_core_client/api/__init__.py +0 -0
- {perceptic_core_client-0.28.0 → perceptic_core_client-0.30.0}/src/perceptic_core_client/api/connection_resource_api.py +0 -0
- {perceptic_core_client-0.28.0 → perceptic_core_client-0.30.0}/src/perceptic_core_client/api/file_system_contents_resource_api.py +0 -0
- {perceptic_core_client-0.28.0 → perceptic_core_client-0.30.0}/src/perceptic_core_client/api/file_system_resource_api.py +0 -0
- {perceptic_core_client-0.28.0 → perceptic_core_client-0.30.0}/src/perceptic_core_client/api/indexer_resource_api.py +0 -0
- {perceptic_core_client-0.28.0 → perceptic_core_client-0.30.0}/src/perceptic_core_client/api/indexing_schedule_resource_api.py +0 -0
- {perceptic_core_client-0.28.0 → perceptic_core_client-0.30.0}/src/perceptic_core_client/api/indexing_task_resource_api.py +0 -0
- {perceptic_core_client-0.28.0 → perceptic_core_client-0.30.0}/src/perceptic_core_client/api/tag_resource_api.py +0 -0
- {perceptic_core_client-0.28.0 → perceptic_core_client-0.30.0}/src/perceptic_core_client/api/uri_resource_api.py +0 -0
- {perceptic_core_client-0.28.0 → perceptic_core_client-0.30.0}/src/perceptic_core_client/api_client.py +0 -0
- {perceptic_core_client-0.28.0 → perceptic_core_client-0.30.0}/src/perceptic_core_client/api_response.py +0 -0
- {perceptic_core_client-0.28.0 → perceptic_core_client-0.30.0}/src/perceptic_core_client/configuration.py +0 -0
- {perceptic_core_client-0.28.0 → perceptic_core_client-0.30.0}/src/perceptic_core_client/exceptions.py +0 -0
- {perceptic_core_client-0.28.0 → perceptic_core_client-0.30.0}/src/perceptic_core_client/models/action_type.py +0 -0
- {perceptic_core_client-0.28.0 → perceptic_core_client-0.30.0}/src/perceptic_core_client/models/add_tag_to_file_request.py +0 -0
- {perceptic_core_client-0.28.0 → perceptic_core_client-0.30.0}/src/perceptic_core_client/models/azure_blob_connection_settings_api_dto.py +0 -0
- {perceptic_core_client-0.28.0 → perceptic_core_client-0.30.0}/src/perceptic_core_client/models/azure_blob_file_system_root_metadata_api_dto.py +0 -0
- {perceptic_core_client-0.28.0 → perceptic_core_client-0.30.0}/src/perceptic_core_client/models/connection_api_dto.py +0 -0
- {perceptic_core_client-0.28.0 → perceptic_core_client-0.30.0}/src/perceptic_core_client/models/connection_settings_api_dto.py +0 -0
- {perceptic_core_client-0.28.0 → perceptic_core_client-0.30.0}/src/perceptic_core_client/models/create_connection_request.py +0 -0
- {perceptic_core_client-0.28.0 → perceptic_core_client-0.30.0}/src/perceptic_core_client/models/create_connection_response.py +0 -0
- {perceptic_core_client-0.28.0 → perceptic_core_client-0.30.0}/src/perceptic_core_client/models/create_file_system_response.py +0 -0
- {perceptic_core_client-0.28.0 → perceptic_core_client-0.30.0}/src/perceptic_core_client/models/create_folder_request.py +0 -0
- {perceptic_core_client-0.28.0 → perceptic_core_client-0.30.0}/src/perceptic_core_client/models/create_folder_response.py +0 -0
- {perceptic_core_client-0.28.0 → perceptic_core_client-0.30.0}/src/perceptic_core_client/models/create_indexing_schedule_request.py +0 -0
- {perceptic_core_client-0.28.0 → perceptic_core_client-0.30.0}/src/perceptic_core_client/models/create_indexing_schedule_response.py +0 -0
- {perceptic_core_client-0.28.0 → perceptic_core_client-0.30.0}/src/perceptic_core_client/models/create_indexing_task_request.py +0 -0
- {perceptic_core_client-0.28.0 → perceptic_core_client-0.30.0}/src/perceptic_core_client/models/create_indexing_task_response.py +0 -0
- {perceptic_core_client-0.28.0 → perceptic_core_client-0.30.0}/src/perceptic_core_client/models/create_managed_file_system_request.py +0 -0
- {perceptic_core_client-0.28.0 → perceptic_core_client-0.30.0}/src/perceptic_core_client/models/create_remote_file_system_request.py +0 -0
- {perceptic_core_client-0.28.0 → perceptic_core_client-0.30.0}/src/perceptic_core_client/models/create_tag_request.py +0 -0
- {perceptic_core_client-0.28.0 → perceptic_core_client-0.30.0}/src/perceptic_core_client/models/create_tag_response.py +0 -0
- {perceptic_core_client-0.28.0 → perceptic_core_client-0.30.0}/src/perceptic_core_client/models/cron_trigger.py +0 -0
- {perceptic_core_client-0.28.0 → perceptic_core_client-0.30.0}/src/perceptic_core_client/models/execution_trigger_reason.py +0 -0
- {perceptic_core_client-0.28.0 → perceptic_core_client-0.30.0}/src/perceptic_core_client/models/file_system_api_dto.py +0 -0
- {perceptic_core_client-0.28.0 → perceptic_core_client-0.30.0}/src/perceptic_core_client/models/file_system_root_metadata_api_dto.py +0 -0
- {perceptic_core_client-0.28.0 → perceptic_core_client-0.30.0}/src/perceptic_core_client/models/get_connection_response.py +0 -0
- {perceptic_core_client-0.28.0 → perceptic_core_client-0.30.0}/src/perceptic_core_client/models/get_indexer_response.py +0 -0
- {perceptic_core_client-0.28.0 → perceptic_core_client-0.30.0}/src/perceptic_core_client/models/get_indexing_schedule_response.py +0 -0
- {perceptic_core_client-0.28.0 → perceptic_core_client-0.30.0}/src/perceptic_core_client/models/get_indexing_task_response.py +0 -0
- {perceptic_core_client-0.28.0 → perceptic_core_client-0.30.0}/src/perceptic_core_client/models/get_metadata_response.py +0 -0
- {perceptic_core_client-0.28.0 → perceptic_core_client-0.30.0}/src/perceptic_core_client/models/get_parent_response.py +0 -0
- {perceptic_core_client-0.28.0 → perceptic_core_client-0.30.0}/src/perceptic_core_client/models/get_parent_uri_response.py +0 -0
- {perceptic_core_client-0.28.0 → perceptic_core_client-0.30.0}/src/perceptic_core_client/models/get_signed_url_response.py +0 -0
- {perceptic_core_client-0.28.0 → perceptic_core_client-0.30.0}/src/perceptic_core_client/models/get_worker_events_response.py +0 -0
- {perceptic_core_client-0.28.0 → perceptic_core_client-0.30.0}/src/perceptic_core_client/models/get_worker_metadata_response.py +0 -0
- {perceptic_core_client-0.28.0 → perceptic_core_client-0.30.0}/src/perceptic_core_client/models/get_worker_status_response.py +0 -0
- {perceptic_core_client-0.28.0 → perceptic_core_client-0.30.0}/src/perceptic_core_client/models/get_workers_response.py +0 -0
- {perceptic_core_client-0.28.0 → perceptic_core_client-0.30.0}/src/perceptic_core_client/models/indexer_dto.py +0 -0
- {perceptic_core_client-0.28.0 → perceptic_core_client-0.30.0}/src/perceptic_core_client/models/indexing_action_dto.py +0 -0
- {perceptic_core_client-0.28.0 → perceptic_core_client-0.30.0}/src/perceptic_core_client/models/indexing_action_status.py +0 -0
- {perceptic_core_client-0.28.0 → perceptic_core_client-0.30.0}/src/perceptic_core_client/models/indexing_schedule_dto.py +0 -0
- {perceptic_core_client-0.28.0 → perceptic_core_client-0.30.0}/src/perceptic_core_client/models/indexing_task_dto.py +0 -0
- {perceptic_core_client-0.28.0 → perceptic_core_client-0.30.0}/src/perceptic_core_client/models/indexing_task_status.py +0 -0
- {perceptic_core_client-0.28.0 → perceptic_core_client-0.30.0}/src/perceptic_core_client/models/interval_trigger.py +0 -0
- {perceptic_core_client-0.28.0 → perceptic_core_client-0.30.0}/src/perceptic_core_client/models/json_node.py +0 -0
- {perceptic_core_client-0.28.0 → perceptic_core_client-0.30.0}/src/perceptic_core_client/models/json_node_type.py +0 -0
- {perceptic_core_client-0.28.0 → perceptic_core_client-0.30.0}/src/perceptic_core_client/models/list_all_file_systems_response.py +0 -0
- {perceptic_core_client-0.28.0 → perceptic_core_client-0.30.0}/src/perceptic_core_client/models/list_file_system_response.py +0 -0
- {perceptic_core_client-0.28.0 → perceptic_core_client-0.30.0}/src/perceptic_core_client/models/list_indexers_response.py +0 -0
- {perceptic_core_client-0.28.0 → perceptic_core_client-0.30.0}/src/perceptic_core_client/models/list_indexing_actions_response.py +0 -0
- {perceptic_core_client-0.28.0 → perceptic_core_client-0.30.0}/src/perceptic_core_client/models/list_indexing_schedules_response.py +0 -0
- {perceptic_core_client-0.28.0 → perceptic_core_client-0.30.0}/src/perceptic_core_client/models/list_schedule_executions_response.py +0 -0
- {perceptic_core_client-0.28.0 → perceptic_core_client-0.30.0}/src/perceptic_core_client/models/list_tags_response.py +0 -0
- {perceptic_core_client-0.28.0 → perceptic_core_client-0.30.0}/src/perceptic_core_client/models/managed_file_system_api_dto.py +0 -0
- {perceptic_core_client-0.28.0 → perceptic_core_client-0.30.0}/src/perceptic_core_client/models/me_response.py +0 -0
- {perceptic_core_client-0.28.0 → perceptic_core_client-0.30.0}/src/perceptic_core_client/models/model_schema.py +0 -0
- {perceptic_core_client-0.28.0 → perceptic_core_client-0.30.0}/src/perceptic_core_client/models/on_upload_trigger.py +0 -0
- {perceptic_core_client-0.28.0 → perceptic_core_client-0.30.0}/src/perceptic_core_client/models/paged_list_file_system_response.py +0 -0
- {perceptic_core_client-0.28.0 → perceptic_core_client-0.30.0}/src/perceptic_core_client/models/post_worker_run_request.py +0 -0
- {perceptic_core_client-0.28.0 → perceptic_core_client-0.30.0}/src/perceptic_core_client/models/post_worker_run_response.py +0 -0
- {perceptic_core_client-0.28.0 → perceptic_core_client-0.30.0}/src/perceptic_core_client/models/remote_file_system_api_dto.py +0 -0
- {perceptic_core_client-0.28.0 → perceptic_core_client-0.30.0}/src/perceptic_core_client/models/remove_tag_from_file_request.py +0 -0
- {perceptic_core_client-0.28.0 → perceptic_core_client-0.30.0}/src/perceptic_core_client/models/resource_entry_dto.py +0 -0
- {perceptic_core_client-0.28.0 → perceptic_core_client-0.30.0}/src/perceptic_core_client/models/resource_identifier.py +0 -0
- {perceptic_core_client-0.28.0 → perceptic_core_client-0.30.0}/src/perceptic_core_client/models/resource_metadata_dto.py +0 -0
- {perceptic_core_client-0.28.0 → perceptic_core_client-0.30.0}/src/perceptic_core_client/models/resource_type_dto.py +0 -0
- {perceptic_core_client-0.28.0 → perceptic_core_client-0.30.0}/src/perceptic_core_client/models/run_status_dto.py +0 -0
- {perceptic_core_client-0.28.0 → perceptic_core_client-0.30.0}/src/perceptic_core_client/models/s3_connection_settings_api_dto.py +0 -0
- {perceptic_core_client-0.28.0 → perceptic_core_client-0.30.0}/src/perceptic_core_client/models/s3_file_system_root_metadata_api_dto.py +0 -0
- {perceptic_core_client-0.28.0 → perceptic_core_client-0.30.0}/src/perceptic_core_client/models/schedule_execution_dto.py +0 -0
- {perceptic_core_client-0.28.0 → perceptic_core_client-0.30.0}/src/perceptic_core_client/models/schedule_trigger.py +0 -0
- {perceptic_core_client-0.28.0 → perceptic_core_client-0.30.0}/src/perceptic_core_client/models/schema_location.py +0 -0
- {perceptic_core_client-0.28.0 → perceptic_core_client-0.30.0}/src/perceptic_core_client/models/start_execution_response.py +0 -0
- {perceptic_core_client-0.28.0 → perceptic_core_client-0.30.0}/src/perceptic_core_client/models/tag_info.py +0 -0
- {perceptic_core_client-0.28.0 → perceptic_core_client-0.30.0}/src/perceptic_core_client/models/update_indexing_schedule_request.py +0 -0
- {perceptic_core_client-0.28.0 → perceptic_core_client-0.30.0}/src/perceptic_core_client/models/update_indexing_schedule_response.py +0 -0
- {perceptic_core_client-0.28.0 → perceptic_core_client-0.30.0}/src/perceptic_core_client/models/update_tag_request.py +0 -0
- {perceptic_core_client-0.28.0 → perceptic_core_client-0.30.0}/src/perceptic_core_client/models/update_tag_response.py +0 -0
- {perceptic_core_client-0.28.0 → perceptic_core_client-0.30.0}/src/perceptic_core_client/models/upload_file_to_managed_file_system_response.py +0 -0
- {perceptic_core_client-0.28.0 → perceptic_core_client-0.30.0}/src/perceptic_core_client/models/worker_event.py +0 -0
- {perceptic_core_client-0.28.0 → perceptic_core_client-0.30.0}/src/perceptic_core_client/models/worker_metadata_dto.py +0 -0
- {perceptic_core_client-0.28.0 → perceptic_core_client-0.30.0}/src/perceptic_core_client/rest.py +0 -0
- {perceptic_core_client-0.28.0 → perceptic_core_client-0.30.0}/src/perceptic_core_client/test/__init__.py +0 -0
- {perceptic_core_client-0.28.0 → perceptic_core_client-0.30.0}/src/perceptic_core_client/test/test_action_type.py +0 -0
- {perceptic_core_client-0.28.0 → perceptic_core_client-0.30.0}/src/perceptic_core_client/test/test_add_tag_to_file_request.py +0 -0
- {perceptic_core_client-0.28.0 → perceptic_core_client-0.30.0}/src/perceptic_core_client/test/test_azure_blob_connection_settings_api_dto.py +0 -0
- {perceptic_core_client-0.28.0 → perceptic_core_client-0.30.0}/src/perceptic_core_client/test/test_azure_blob_file_system_root_metadata_api_dto.py +0 -0
- {perceptic_core_client-0.28.0 → perceptic_core_client-0.30.0}/src/perceptic_core_client/test/test_connection_api_dto.py +0 -0
- {perceptic_core_client-0.28.0 → perceptic_core_client-0.30.0}/src/perceptic_core_client/test/test_connection_resource_api.py +0 -0
- {perceptic_core_client-0.28.0 → perceptic_core_client-0.30.0}/src/perceptic_core_client/test/test_connection_settings_api_dto.py +0 -0
- {perceptic_core_client-0.28.0 → perceptic_core_client-0.30.0}/src/perceptic_core_client/test/test_create_connection_request.py +0 -0
- {perceptic_core_client-0.28.0 → perceptic_core_client-0.30.0}/src/perceptic_core_client/test/test_create_connection_response.py +0 -0
- {perceptic_core_client-0.28.0 → perceptic_core_client-0.30.0}/src/perceptic_core_client/test/test_create_file_system_response.py +0 -0
- {perceptic_core_client-0.28.0 → perceptic_core_client-0.30.0}/src/perceptic_core_client/test/test_create_folder_request.py +0 -0
- {perceptic_core_client-0.28.0 → perceptic_core_client-0.30.0}/src/perceptic_core_client/test/test_create_folder_response.py +0 -0
- {perceptic_core_client-0.28.0 → perceptic_core_client-0.30.0}/src/perceptic_core_client/test/test_create_indexing_schedule_request.py +0 -0
- {perceptic_core_client-0.28.0 → perceptic_core_client-0.30.0}/src/perceptic_core_client/test/test_create_indexing_schedule_response.py +0 -0
- {perceptic_core_client-0.28.0 → perceptic_core_client-0.30.0}/src/perceptic_core_client/test/test_create_indexing_task_request.py +0 -0
- {perceptic_core_client-0.28.0 → perceptic_core_client-0.30.0}/src/perceptic_core_client/test/test_create_indexing_task_response.py +0 -0
- {perceptic_core_client-0.28.0 → perceptic_core_client-0.30.0}/src/perceptic_core_client/test/test_create_managed_file_system_request.py +0 -0
- {perceptic_core_client-0.28.0 → perceptic_core_client-0.30.0}/src/perceptic_core_client/test/test_create_remote_file_system_request.py +0 -0
- {perceptic_core_client-0.28.0 → perceptic_core_client-0.30.0}/src/perceptic_core_client/test/test_create_tag_request.py +0 -0
- {perceptic_core_client-0.28.0 → perceptic_core_client-0.30.0}/src/perceptic_core_client/test/test_create_tag_response.py +0 -0
- {perceptic_core_client-0.28.0 → perceptic_core_client-0.30.0}/src/perceptic_core_client/test/test_cron_trigger.py +0 -0
- {perceptic_core_client-0.28.0 → perceptic_core_client-0.30.0}/src/perceptic_core_client/test/test_execution_trigger_reason.py +0 -0
- {perceptic_core_client-0.28.0 → perceptic_core_client-0.30.0}/src/perceptic_core_client/test/test_file_system_api_dto.py +0 -0
- {perceptic_core_client-0.28.0 → perceptic_core_client-0.30.0}/src/perceptic_core_client/test/test_file_system_contents_resource_api.py +0 -0
- {perceptic_core_client-0.28.0 → perceptic_core_client-0.30.0}/src/perceptic_core_client/test/test_file_system_resource_api.py +0 -0
- {perceptic_core_client-0.28.0 → perceptic_core_client-0.30.0}/src/perceptic_core_client/test/test_file_system_root_metadata_api_dto.py +0 -0
- {perceptic_core_client-0.28.0 → perceptic_core_client-0.30.0}/src/perceptic_core_client/test/test_get_connection_response.py +0 -0
- {perceptic_core_client-0.28.0 → perceptic_core_client-0.30.0}/src/perceptic_core_client/test/test_get_indexer_response.py +0 -0
- {perceptic_core_client-0.28.0 → perceptic_core_client-0.30.0}/src/perceptic_core_client/test/test_get_indexing_schedule_response.py +0 -0
- {perceptic_core_client-0.28.0 → perceptic_core_client-0.30.0}/src/perceptic_core_client/test/test_get_indexing_task_response.py +0 -0
- {perceptic_core_client-0.28.0 → perceptic_core_client-0.30.0}/src/perceptic_core_client/test/test_get_metadata_response.py +0 -0
- {perceptic_core_client-0.28.0 → perceptic_core_client-0.30.0}/src/perceptic_core_client/test/test_get_parent_response.py +0 -0
- {perceptic_core_client-0.28.0 → perceptic_core_client-0.30.0}/src/perceptic_core_client/test/test_get_parent_uri_response.py +0 -0
- {perceptic_core_client-0.28.0 → perceptic_core_client-0.30.0}/src/perceptic_core_client/test/test_get_signed_url_response.py +0 -0
- {perceptic_core_client-0.28.0 → perceptic_core_client-0.30.0}/src/perceptic_core_client/test/test_get_worker_events_response.py +0 -0
- {perceptic_core_client-0.28.0 → perceptic_core_client-0.30.0}/src/perceptic_core_client/test/test_get_worker_metadata_response.py +0 -0
- {perceptic_core_client-0.28.0 → perceptic_core_client-0.30.0}/src/perceptic_core_client/test/test_get_worker_status_response.py +0 -0
- {perceptic_core_client-0.28.0 → perceptic_core_client-0.30.0}/src/perceptic_core_client/test/test_get_workers_response.py +0 -0
- {perceptic_core_client-0.28.0 → perceptic_core_client-0.30.0}/src/perceptic_core_client/test/test_indexer_dto.py +0 -0
- {perceptic_core_client-0.28.0 → perceptic_core_client-0.30.0}/src/perceptic_core_client/test/test_indexer_resource_api.py +0 -0
- {perceptic_core_client-0.28.0 → perceptic_core_client-0.30.0}/src/perceptic_core_client/test/test_indexing_action_dto.py +0 -0
- {perceptic_core_client-0.28.0 → perceptic_core_client-0.30.0}/src/perceptic_core_client/test/test_indexing_action_status.py +0 -0
- {perceptic_core_client-0.28.0 → perceptic_core_client-0.30.0}/src/perceptic_core_client/test/test_indexing_schedule_dto.py +0 -0
- {perceptic_core_client-0.28.0 → perceptic_core_client-0.30.0}/src/perceptic_core_client/test/test_indexing_schedule_resource_api.py +0 -0
- {perceptic_core_client-0.28.0 → perceptic_core_client-0.30.0}/src/perceptic_core_client/test/test_indexing_task_dto.py +0 -0
- {perceptic_core_client-0.28.0 → perceptic_core_client-0.30.0}/src/perceptic_core_client/test/test_indexing_task_resource_api.py +0 -0
- {perceptic_core_client-0.28.0 → perceptic_core_client-0.30.0}/src/perceptic_core_client/test/test_indexing_task_status.py +0 -0
- {perceptic_core_client-0.28.0 → perceptic_core_client-0.30.0}/src/perceptic_core_client/test/test_interval_trigger.py +0 -0
- {perceptic_core_client-0.28.0 → perceptic_core_client-0.30.0}/src/perceptic_core_client/test/test_json_node.py +0 -0
- {perceptic_core_client-0.28.0 → perceptic_core_client-0.30.0}/src/perceptic_core_client/test/test_json_node_type.py +0 -0
- {perceptic_core_client-0.28.0 → perceptic_core_client-0.30.0}/src/perceptic_core_client/test/test_list_all_file_systems_response.py +0 -0
- {perceptic_core_client-0.28.0 → perceptic_core_client-0.30.0}/src/perceptic_core_client/test/test_list_file_system_response.py +0 -0
- {perceptic_core_client-0.28.0 → perceptic_core_client-0.30.0}/src/perceptic_core_client/test/test_list_indexers_response.py +0 -0
- {perceptic_core_client-0.28.0 → perceptic_core_client-0.30.0}/src/perceptic_core_client/test/test_list_indexing_actions_response.py +0 -0
- {perceptic_core_client-0.28.0 → perceptic_core_client-0.30.0}/src/perceptic_core_client/test/test_list_indexing_schedules_response.py +0 -0
- {perceptic_core_client-0.28.0 → perceptic_core_client-0.30.0}/src/perceptic_core_client/test/test_list_schedule_executions_response.py +0 -0
- {perceptic_core_client-0.28.0 → perceptic_core_client-0.30.0}/src/perceptic_core_client/test/test_list_tags_response.py +0 -0
- {perceptic_core_client-0.28.0 → perceptic_core_client-0.30.0}/src/perceptic_core_client/test/test_managed_file_system_api_dto.py +0 -0
- {perceptic_core_client-0.28.0 → perceptic_core_client-0.30.0}/src/perceptic_core_client/test/test_me_response.py +0 -0
- {perceptic_core_client-0.28.0 → perceptic_core_client-0.30.0}/src/perceptic_core_client/test/test_model_schema.py +0 -0
- {perceptic_core_client-0.28.0 → perceptic_core_client-0.30.0}/src/perceptic_core_client/test/test_on_upload_trigger.py +0 -0
- {perceptic_core_client-0.28.0 → perceptic_core_client-0.30.0}/src/perceptic_core_client/test/test_paged_list_file_system_response.py +0 -0
- {perceptic_core_client-0.28.0 → perceptic_core_client-0.30.0}/src/perceptic_core_client/test/test_post_worker_run_request.py +0 -0
- {perceptic_core_client-0.28.0 → perceptic_core_client-0.30.0}/src/perceptic_core_client/test/test_post_worker_run_response.py +0 -0
- {perceptic_core_client-0.28.0 → perceptic_core_client-0.30.0}/src/perceptic_core_client/test/test_remote_file_system_api_dto.py +0 -0
- {perceptic_core_client-0.28.0 → perceptic_core_client-0.30.0}/src/perceptic_core_client/test/test_remove_tag_from_file_request.py +0 -0
- {perceptic_core_client-0.28.0 → perceptic_core_client-0.30.0}/src/perceptic_core_client/test/test_resource_entry_dto.py +0 -0
- {perceptic_core_client-0.28.0 → perceptic_core_client-0.30.0}/src/perceptic_core_client/test/test_resource_identifier.py +0 -0
- {perceptic_core_client-0.28.0 → perceptic_core_client-0.30.0}/src/perceptic_core_client/test/test_resource_metadata_dto.py +0 -0
- {perceptic_core_client-0.28.0 → perceptic_core_client-0.30.0}/src/perceptic_core_client/test/test_resource_type_dto.py +0 -0
- {perceptic_core_client-0.28.0 → perceptic_core_client-0.30.0}/src/perceptic_core_client/test/test_run_status_dto.py +0 -0
- {perceptic_core_client-0.28.0 → perceptic_core_client-0.30.0}/src/perceptic_core_client/test/test_s3_connection_settings_api_dto.py +0 -0
- {perceptic_core_client-0.28.0 → perceptic_core_client-0.30.0}/src/perceptic_core_client/test/test_s3_file_system_root_metadata_api_dto.py +0 -0
- {perceptic_core_client-0.28.0 → perceptic_core_client-0.30.0}/src/perceptic_core_client/test/test_schedule_execution_dto.py +0 -0
- {perceptic_core_client-0.28.0 → perceptic_core_client-0.30.0}/src/perceptic_core_client/test/test_schedule_trigger.py +0 -0
- {perceptic_core_client-0.28.0 → perceptic_core_client-0.30.0}/src/perceptic_core_client/test/test_schema_location.py +0 -0
- {perceptic_core_client-0.28.0 → perceptic_core_client-0.30.0}/src/perceptic_core_client/test/test_start_execution_response.py +0 -0
- {perceptic_core_client-0.28.0 → perceptic_core_client-0.30.0}/src/perceptic_core_client/test/test_tag_info.py +0 -0
- {perceptic_core_client-0.28.0 → perceptic_core_client-0.30.0}/src/perceptic_core_client/test/test_tag_resource_api.py +0 -0
- {perceptic_core_client-0.28.0 → perceptic_core_client-0.30.0}/src/perceptic_core_client/test/test_update_indexing_schedule_request.py +0 -0
- {perceptic_core_client-0.28.0 → perceptic_core_client-0.30.0}/src/perceptic_core_client/test/test_update_indexing_schedule_response.py +0 -0
- {perceptic_core_client-0.28.0 → perceptic_core_client-0.30.0}/src/perceptic_core_client/test/test_update_tag_request.py +0 -0
- {perceptic_core_client-0.28.0 → perceptic_core_client-0.30.0}/src/perceptic_core_client/test/test_update_tag_response.py +0 -0
- {perceptic_core_client-0.28.0 → perceptic_core_client-0.30.0}/src/perceptic_core_client/test/test_upload_file_to_managed_file_system_response.py +0 -0
- {perceptic_core_client-0.28.0 → perceptic_core_client-0.30.0}/src/perceptic_core_client/test/test_uri_resource_api.py +0 -0
- {perceptic_core_client-0.28.0 → perceptic_core_client-0.30.0}/src/perceptic_core_client/test/test_worker_metadata_dto.py +0 -0
- {perceptic_core_client-0.28.0 → perceptic_core_client-0.30.0}/src/perceptic_core_client.egg-info/dependency_links.txt +0 -0
- {perceptic_core_client-0.28.0 → perceptic_core_client-0.30.0}/src/perceptic_core_client.egg-info/requires.txt +0 -0
- {perceptic_core_client-0.28.0 → perceptic_core_client-0.30.0}/src/perceptic_core_client.egg-info/top_level.txt +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
0.30.0
|
{perceptic_core_client-0.28.0 → perceptic_core_client-0.30.0}/src/perceptic_core_client/__init__.py
RENAMED
|
@@ -70,6 +70,7 @@ __all__ = [
|
|
|
70
70
|
"GetSignedUrlResponse",
|
|
71
71
|
"GetWorkerEventsResponse",
|
|
72
72
|
"GetWorkerMetadataResponse",
|
|
73
|
+
"GetWorkerRunResponse",
|
|
73
74
|
"GetWorkerStatusResponse",
|
|
74
75
|
"GetWorkersResponse",
|
|
75
76
|
"IndexerDto",
|
|
@@ -117,6 +118,7 @@ __all__ = [
|
|
|
117
118
|
"UpdateTagRequest",
|
|
118
119
|
"UpdateTagResponse",
|
|
119
120
|
"UploadFileToManagedFileSystemResponse",
|
|
121
|
+
"UserInfoResponse",
|
|
120
122
|
"WorkerEvent",
|
|
121
123
|
"WorkerMetadataDto",
|
|
122
124
|
]
|
|
@@ -178,6 +180,7 @@ from perceptic_core_client.models.get_parent_uri_response import GetParentUriRes
|
|
|
178
180
|
from perceptic_core_client.models.get_signed_url_response import GetSignedUrlResponse as GetSignedUrlResponse
|
|
179
181
|
from perceptic_core_client.models.get_worker_events_response import GetWorkerEventsResponse as GetWorkerEventsResponse
|
|
180
182
|
from perceptic_core_client.models.get_worker_metadata_response import GetWorkerMetadataResponse as GetWorkerMetadataResponse
|
|
183
|
+
from perceptic_core_client.models.get_worker_run_response import GetWorkerRunResponse as GetWorkerRunResponse
|
|
181
184
|
from perceptic_core_client.models.get_worker_status_response import GetWorkerStatusResponse as GetWorkerStatusResponse
|
|
182
185
|
from perceptic_core_client.models.get_workers_response import GetWorkersResponse as GetWorkersResponse
|
|
183
186
|
from perceptic_core_client.models.indexer_dto import IndexerDto as IndexerDto
|
|
@@ -225,5 +228,6 @@ from perceptic_core_client.models.update_indexing_schedule_response import Updat
|
|
|
225
228
|
from perceptic_core_client.models.update_tag_request import UpdateTagRequest as UpdateTagRequest
|
|
226
229
|
from perceptic_core_client.models.update_tag_response import UpdateTagResponse as UpdateTagResponse
|
|
227
230
|
from perceptic_core_client.models.upload_file_to_managed_file_system_response import UploadFileToManagedFileSystemResponse as UploadFileToManagedFileSystemResponse
|
|
231
|
+
from perceptic_core_client.models.user_info_response import UserInfoResponse as UserInfoResponse
|
|
228
232
|
from perceptic_core_client.models.worker_event import WorkerEvent as WorkerEvent
|
|
229
233
|
from perceptic_core_client.models.worker_metadata_dto import WorkerMetadataDto as WorkerMetadataDto
|
|
@@ -0,0 +1,547 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
"""
|
|
4
|
+
perceptic-core-server API
|
|
5
|
+
|
|
6
|
+
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
7
|
+
|
|
8
|
+
The version of the OpenAPI document: 0.0.1-SNAPSHOT
|
|
9
|
+
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
10
|
+
|
|
11
|
+
Do not edit the class manually.
|
|
12
|
+
""" # noqa: E501
|
|
13
|
+
|
|
14
|
+
import warnings
|
|
15
|
+
from pydantic import validate_call, Field, StrictFloat, StrictStr, StrictInt
|
|
16
|
+
from typing import Any, Dict, List, Optional, Tuple, Union
|
|
17
|
+
from typing_extensions import Annotated
|
|
18
|
+
|
|
19
|
+
from pydantic import Field, StrictStr
|
|
20
|
+
from typing_extensions import Annotated
|
|
21
|
+
from perceptic_core_client.models.me_response import MeResponse
|
|
22
|
+
from perceptic_core_client.models.user_info_response import UserInfoResponse
|
|
23
|
+
|
|
24
|
+
from perceptic_core_client.api_client import ApiClient, RequestSerialized
|
|
25
|
+
from perceptic_core_client.api_response import ApiResponse
|
|
26
|
+
from perceptic_core_client.rest import RESTResponseType
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
class UserResourceApi:
|
|
30
|
+
"""NOTE: This class is auto generated by OpenAPI Generator
|
|
31
|
+
Ref: https://openapi-generator.tech
|
|
32
|
+
|
|
33
|
+
Do not edit the class manually.
|
|
34
|
+
"""
|
|
35
|
+
|
|
36
|
+
def __init__(self, api_client=None) -> None:
|
|
37
|
+
if api_client is None:
|
|
38
|
+
api_client = ApiClient.get_default()
|
|
39
|
+
self.api_client = api_client
|
|
40
|
+
|
|
41
|
+
|
|
42
|
+
@validate_call
|
|
43
|
+
def api_v1_users_me_get(
|
|
44
|
+
self,
|
|
45
|
+
_request_timeout: Union[
|
|
46
|
+
None,
|
|
47
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
48
|
+
Tuple[
|
|
49
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
50
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
51
|
+
]
|
|
52
|
+
] = None,
|
|
53
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
54
|
+
_content_type: Optional[StrictStr] = None,
|
|
55
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
56
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
57
|
+
) -> MeResponse:
|
|
58
|
+
"""Me
|
|
59
|
+
|
|
60
|
+
|
|
61
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
62
|
+
number provided, it will be total request
|
|
63
|
+
timeout. It can also be a pair (tuple) of
|
|
64
|
+
(connection, read) timeouts.
|
|
65
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
66
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
67
|
+
request; this effectively ignores the
|
|
68
|
+
authentication in the spec for a single request.
|
|
69
|
+
:type _request_auth: dict, optional
|
|
70
|
+
:param _content_type: force content-type for the request.
|
|
71
|
+
:type _content_type: str, Optional
|
|
72
|
+
:param _headers: set to override the headers for a single
|
|
73
|
+
request; this effectively ignores the headers
|
|
74
|
+
in the spec for a single request.
|
|
75
|
+
:type _headers: dict, optional
|
|
76
|
+
:param _host_index: set to override the host_index for a single
|
|
77
|
+
request; this effectively ignores the host_index
|
|
78
|
+
in the spec for a single request.
|
|
79
|
+
:type _host_index: int, optional
|
|
80
|
+
:return: Returns the result object.
|
|
81
|
+
""" # noqa: E501
|
|
82
|
+
|
|
83
|
+
_param = self._api_v1_users_me_get_serialize(
|
|
84
|
+
_request_auth=_request_auth,
|
|
85
|
+
_content_type=_content_type,
|
|
86
|
+
_headers=_headers,
|
|
87
|
+
_host_index=_host_index
|
|
88
|
+
)
|
|
89
|
+
|
|
90
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
91
|
+
'200': "MeResponse",
|
|
92
|
+
}
|
|
93
|
+
response_data = self.api_client.call_api(
|
|
94
|
+
*_param,
|
|
95
|
+
_request_timeout=_request_timeout
|
|
96
|
+
)
|
|
97
|
+
response_data.read()
|
|
98
|
+
return self.api_client.response_deserialize(
|
|
99
|
+
response_data=response_data,
|
|
100
|
+
response_types_map=_response_types_map,
|
|
101
|
+
).data
|
|
102
|
+
|
|
103
|
+
|
|
104
|
+
@validate_call
|
|
105
|
+
def api_v1_users_me_get_with_http_info(
|
|
106
|
+
self,
|
|
107
|
+
_request_timeout: Union[
|
|
108
|
+
None,
|
|
109
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
110
|
+
Tuple[
|
|
111
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
112
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
113
|
+
]
|
|
114
|
+
] = None,
|
|
115
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
116
|
+
_content_type: Optional[StrictStr] = None,
|
|
117
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
118
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
119
|
+
) -> ApiResponse[MeResponse]:
|
|
120
|
+
"""Me
|
|
121
|
+
|
|
122
|
+
|
|
123
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
124
|
+
number provided, it will be total request
|
|
125
|
+
timeout. It can also be a pair (tuple) of
|
|
126
|
+
(connection, read) timeouts.
|
|
127
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
128
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
129
|
+
request; this effectively ignores the
|
|
130
|
+
authentication in the spec for a single request.
|
|
131
|
+
:type _request_auth: dict, optional
|
|
132
|
+
:param _content_type: force content-type for the request.
|
|
133
|
+
:type _content_type: str, Optional
|
|
134
|
+
:param _headers: set to override the headers for a single
|
|
135
|
+
request; this effectively ignores the headers
|
|
136
|
+
in the spec for a single request.
|
|
137
|
+
:type _headers: dict, optional
|
|
138
|
+
:param _host_index: set to override the host_index for a single
|
|
139
|
+
request; this effectively ignores the host_index
|
|
140
|
+
in the spec for a single request.
|
|
141
|
+
:type _host_index: int, optional
|
|
142
|
+
:return: Returns the result object.
|
|
143
|
+
""" # noqa: E501
|
|
144
|
+
|
|
145
|
+
_param = self._api_v1_users_me_get_serialize(
|
|
146
|
+
_request_auth=_request_auth,
|
|
147
|
+
_content_type=_content_type,
|
|
148
|
+
_headers=_headers,
|
|
149
|
+
_host_index=_host_index
|
|
150
|
+
)
|
|
151
|
+
|
|
152
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
153
|
+
'200': "MeResponse",
|
|
154
|
+
}
|
|
155
|
+
response_data = self.api_client.call_api(
|
|
156
|
+
*_param,
|
|
157
|
+
_request_timeout=_request_timeout
|
|
158
|
+
)
|
|
159
|
+
response_data.read()
|
|
160
|
+
return self.api_client.response_deserialize(
|
|
161
|
+
response_data=response_data,
|
|
162
|
+
response_types_map=_response_types_map,
|
|
163
|
+
)
|
|
164
|
+
|
|
165
|
+
|
|
166
|
+
@validate_call
|
|
167
|
+
def api_v1_users_me_get_without_preload_content(
|
|
168
|
+
self,
|
|
169
|
+
_request_timeout: Union[
|
|
170
|
+
None,
|
|
171
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
172
|
+
Tuple[
|
|
173
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
174
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
175
|
+
]
|
|
176
|
+
] = None,
|
|
177
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
178
|
+
_content_type: Optional[StrictStr] = None,
|
|
179
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
180
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
181
|
+
) -> RESTResponseType:
|
|
182
|
+
"""Me
|
|
183
|
+
|
|
184
|
+
|
|
185
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
186
|
+
number provided, it will be total request
|
|
187
|
+
timeout. It can also be a pair (tuple) of
|
|
188
|
+
(connection, read) timeouts.
|
|
189
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
190
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
191
|
+
request; this effectively ignores the
|
|
192
|
+
authentication in the spec for a single request.
|
|
193
|
+
:type _request_auth: dict, optional
|
|
194
|
+
:param _content_type: force content-type for the request.
|
|
195
|
+
:type _content_type: str, Optional
|
|
196
|
+
:param _headers: set to override the headers for a single
|
|
197
|
+
request; this effectively ignores the headers
|
|
198
|
+
in the spec for a single request.
|
|
199
|
+
:type _headers: dict, optional
|
|
200
|
+
:param _host_index: set to override the host_index for a single
|
|
201
|
+
request; this effectively ignores the host_index
|
|
202
|
+
in the spec for a single request.
|
|
203
|
+
:type _host_index: int, optional
|
|
204
|
+
:return: Returns the result object.
|
|
205
|
+
""" # noqa: E501
|
|
206
|
+
|
|
207
|
+
_param = self._api_v1_users_me_get_serialize(
|
|
208
|
+
_request_auth=_request_auth,
|
|
209
|
+
_content_type=_content_type,
|
|
210
|
+
_headers=_headers,
|
|
211
|
+
_host_index=_host_index
|
|
212
|
+
)
|
|
213
|
+
|
|
214
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
215
|
+
'200': "MeResponse",
|
|
216
|
+
}
|
|
217
|
+
response_data = self.api_client.call_api(
|
|
218
|
+
*_param,
|
|
219
|
+
_request_timeout=_request_timeout
|
|
220
|
+
)
|
|
221
|
+
return response_data.response
|
|
222
|
+
|
|
223
|
+
|
|
224
|
+
def _api_v1_users_me_get_serialize(
|
|
225
|
+
self,
|
|
226
|
+
_request_auth,
|
|
227
|
+
_content_type,
|
|
228
|
+
_headers,
|
|
229
|
+
_host_index,
|
|
230
|
+
) -> RequestSerialized:
|
|
231
|
+
|
|
232
|
+
_host = None
|
|
233
|
+
|
|
234
|
+
_collection_formats: Dict[str, str] = {
|
|
235
|
+
}
|
|
236
|
+
|
|
237
|
+
_path_params: Dict[str, str] = {}
|
|
238
|
+
_query_params: List[Tuple[str, str]] = []
|
|
239
|
+
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
240
|
+
_form_params: List[Tuple[str, str]] = []
|
|
241
|
+
_files: Dict[
|
|
242
|
+
str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
|
|
243
|
+
] = {}
|
|
244
|
+
_body_params: Optional[bytes] = None
|
|
245
|
+
|
|
246
|
+
# process the path parameters
|
|
247
|
+
# process the query parameters
|
|
248
|
+
# process the header parameters
|
|
249
|
+
# process the form parameters
|
|
250
|
+
# process the body parameter
|
|
251
|
+
|
|
252
|
+
|
|
253
|
+
# set the HTTP header `Accept`
|
|
254
|
+
if 'Accept' not in _header_params:
|
|
255
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
|
256
|
+
[
|
|
257
|
+
'application/json'
|
|
258
|
+
]
|
|
259
|
+
)
|
|
260
|
+
|
|
261
|
+
|
|
262
|
+
# authentication setting
|
|
263
|
+
_auth_settings: List[str] = [
|
|
264
|
+
]
|
|
265
|
+
|
|
266
|
+
return self.api_client.param_serialize(
|
|
267
|
+
method='GET',
|
|
268
|
+
resource_path='/api/v1/users/me',
|
|
269
|
+
path_params=_path_params,
|
|
270
|
+
query_params=_query_params,
|
|
271
|
+
header_params=_header_params,
|
|
272
|
+
body=_body_params,
|
|
273
|
+
post_params=_form_params,
|
|
274
|
+
files=_files,
|
|
275
|
+
auth_settings=_auth_settings,
|
|
276
|
+
collection_formats=_collection_formats,
|
|
277
|
+
_host=_host,
|
|
278
|
+
_request_auth=_request_auth
|
|
279
|
+
)
|
|
280
|
+
|
|
281
|
+
|
|
282
|
+
|
|
283
|
+
|
|
284
|
+
@validate_call
|
|
285
|
+
def api_v1_users_user_subject_get(
|
|
286
|
+
self,
|
|
287
|
+
subject: Annotated[StrictStr, Field(description="User subject/ID from JWT")],
|
|
288
|
+
_request_timeout: Union[
|
|
289
|
+
None,
|
|
290
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
291
|
+
Tuple[
|
|
292
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
293
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
294
|
+
]
|
|
295
|
+
] = None,
|
|
296
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
297
|
+
_content_type: Optional[StrictStr] = None,
|
|
298
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
299
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
300
|
+
) -> UserInfoResponse:
|
|
301
|
+
"""Get user by subject
|
|
302
|
+
|
|
303
|
+
Retrieves user information from Keycloak by user subject/ID
|
|
304
|
+
|
|
305
|
+
:param subject: User subject/ID from JWT (required)
|
|
306
|
+
:type subject: str
|
|
307
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
308
|
+
number provided, it will be total request
|
|
309
|
+
timeout. It can also be a pair (tuple) of
|
|
310
|
+
(connection, read) timeouts.
|
|
311
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
312
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
313
|
+
request; this effectively ignores the
|
|
314
|
+
authentication in the spec for a single request.
|
|
315
|
+
:type _request_auth: dict, optional
|
|
316
|
+
:param _content_type: force content-type for the request.
|
|
317
|
+
:type _content_type: str, Optional
|
|
318
|
+
:param _headers: set to override the headers for a single
|
|
319
|
+
request; this effectively ignores the headers
|
|
320
|
+
in the spec for a single request.
|
|
321
|
+
:type _headers: dict, optional
|
|
322
|
+
:param _host_index: set to override the host_index for a single
|
|
323
|
+
request; this effectively ignores the host_index
|
|
324
|
+
in the spec for a single request.
|
|
325
|
+
:type _host_index: int, optional
|
|
326
|
+
:return: Returns the result object.
|
|
327
|
+
""" # noqa: E501
|
|
328
|
+
|
|
329
|
+
_param = self._api_v1_users_user_subject_get_serialize(
|
|
330
|
+
subject=subject,
|
|
331
|
+
_request_auth=_request_auth,
|
|
332
|
+
_content_type=_content_type,
|
|
333
|
+
_headers=_headers,
|
|
334
|
+
_host_index=_host_index
|
|
335
|
+
)
|
|
336
|
+
|
|
337
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
338
|
+
'200': "UserInfoResponse",
|
|
339
|
+
'400': None,
|
|
340
|
+
'401': None,
|
|
341
|
+
}
|
|
342
|
+
response_data = self.api_client.call_api(
|
|
343
|
+
*_param,
|
|
344
|
+
_request_timeout=_request_timeout
|
|
345
|
+
)
|
|
346
|
+
response_data.read()
|
|
347
|
+
return self.api_client.response_deserialize(
|
|
348
|
+
response_data=response_data,
|
|
349
|
+
response_types_map=_response_types_map,
|
|
350
|
+
).data
|
|
351
|
+
|
|
352
|
+
|
|
353
|
+
@validate_call
|
|
354
|
+
def api_v1_users_user_subject_get_with_http_info(
|
|
355
|
+
self,
|
|
356
|
+
subject: Annotated[StrictStr, Field(description="User subject/ID from JWT")],
|
|
357
|
+
_request_timeout: Union[
|
|
358
|
+
None,
|
|
359
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
360
|
+
Tuple[
|
|
361
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
362
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
363
|
+
]
|
|
364
|
+
] = None,
|
|
365
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
366
|
+
_content_type: Optional[StrictStr] = None,
|
|
367
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
368
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
369
|
+
) -> ApiResponse[UserInfoResponse]:
|
|
370
|
+
"""Get user by subject
|
|
371
|
+
|
|
372
|
+
Retrieves user information from Keycloak by user subject/ID
|
|
373
|
+
|
|
374
|
+
:param subject: User subject/ID from JWT (required)
|
|
375
|
+
:type subject: str
|
|
376
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
377
|
+
number provided, it will be total request
|
|
378
|
+
timeout. It can also be a pair (tuple) of
|
|
379
|
+
(connection, read) timeouts.
|
|
380
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
381
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
382
|
+
request; this effectively ignores the
|
|
383
|
+
authentication in the spec for a single request.
|
|
384
|
+
:type _request_auth: dict, optional
|
|
385
|
+
:param _content_type: force content-type for the request.
|
|
386
|
+
:type _content_type: str, Optional
|
|
387
|
+
:param _headers: set to override the headers for a single
|
|
388
|
+
request; this effectively ignores the headers
|
|
389
|
+
in the spec for a single request.
|
|
390
|
+
:type _headers: dict, optional
|
|
391
|
+
:param _host_index: set to override the host_index for a single
|
|
392
|
+
request; this effectively ignores the host_index
|
|
393
|
+
in the spec for a single request.
|
|
394
|
+
:type _host_index: int, optional
|
|
395
|
+
:return: Returns the result object.
|
|
396
|
+
""" # noqa: E501
|
|
397
|
+
|
|
398
|
+
_param = self._api_v1_users_user_subject_get_serialize(
|
|
399
|
+
subject=subject,
|
|
400
|
+
_request_auth=_request_auth,
|
|
401
|
+
_content_type=_content_type,
|
|
402
|
+
_headers=_headers,
|
|
403
|
+
_host_index=_host_index
|
|
404
|
+
)
|
|
405
|
+
|
|
406
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
407
|
+
'200': "UserInfoResponse",
|
|
408
|
+
'400': None,
|
|
409
|
+
'401': None,
|
|
410
|
+
}
|
|
411
|
+
response_data = self.api_client.call_api(
|
|
412
|
+
*_param,
|
|
413
|
+
_request_timeout=_request_timeout
|
|
414
|
+
)
|
|
415
|
+
response_data.read()
|
|
416
|
+
return self.api_client.response_deserialize(
|
|
417
|
+
response_data=response_data,
|
|
418
|
+
response_types_map=_response_types_map,
|
|
419
|
+
)
|
|
420
|
+
|
|
421
|
+
|
|
422
|
+
@validate_call
|
|
423
|
+
def api_v1_users_user_subject_get_without_preload_content(
|
|
424
|
+
self,
|
|
425
|
+
subject: Annotated[StrictStr, Field(description="User subject/ID from JWT")],
|
|
426
|
+
_request_timeout: Union[
|
|
427
|
+
None,
|
|
428
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
429
|
+
Tuple[
|
|
430
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
431
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
432
|
+
]
|
|
433
|
+
] = None,
|
|
434
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
435
|
+
_content_type: Optional[StrictStr] = None,
|
|
436
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
437
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
438
|
+
) -> RESTResponseType:
|
|
439
|
+
"""Get user by subject
|
|
440
|
+
|
|
441
|
+
Retrieves user information from Keycloak by user subject/ID
|
|
442
|
+
|
|
443
|
+
:param subject: User subject/ID from JWT (required)
|
|
444
|
+
:type subject: str
|
|
445
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
446
|
+
number provided, it will be total request
|
|
447
|
+
timeout. It can also be a pair (tuple) of
|
|
448
|
+
(connection, read) timeouts.
|
|
449
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
450
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
451
|
+
request; this effectively ignores the
|
|
452
|
+
authentication in the spec for a single request.
|
|
453
|
+
:type _request_auth: dict, optional
|
|
454
|
+
:param _content_type: force content-type for the request.
|
|
455
|
+
:type _content_type: str, Optional
|
|
456
|
+
:param _headers: set to override the headers for a single
|
|
457
|
+
request; this effectively ignores the headers
|
|
458
|
+
in the spec for a single request.
|
|
459
|
+
:type _headers: dict, optional
|
|
460
|
+
:param _host_index: set to override the host_index for a single
|
|
461
|
+
request; this effectively ignores the host_index
|
|
462
|
+
in the spec for a single request.
|
|
463
|
+
:type _host_index: int, optional
|
|
464
|
+
:return: Returns the result object.
|
|
465
|
+
""" # noqa: E501
|
|
466
|
+
|
|
467
|
+
_param = self._api_v1_users_user_subject_get_serialize(
|
|
468
|
+
subject=subject,
|
|
469
|
+
_request_auth=_request_auth,
|
|
470
|
+
_content_type=_content_type,
|
|
471
|
+
_headers=_headers,
|
|
472
|
+
_host_index=_host_index
|
|
473
|
+
)
|
|
474
|
+
|
|
475
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
476
|
+
'200': "UserInfoResponse",
|
|
477
|
+
'400': None,
|
|
478
|
+
'401': None,
|
|
479
|
+
}
|
|
480
|
+
response_data = self.api_client.call_api(
|
|
481
|
+
*_param,
|
|
482
|
+
_request_timeout=_request_timeout
|
|
483
|
+
)
|
|
484
|
+
return response_data.response
|
|
485
|
+
|
|
486
|
+
|
|
487
|
+
def _api_v1_users_user_subject_get_serialize(
|
|
488
|
+
self,
|
|
489
|
+
subject,
|
|
490
|
+
_request_auth,
|
|
491
|
+
_content_type,
|
|
492
|
+
_headers,
|
|
493
|
+
_host_index,
|
|
494
|
+
) -> RequestSerialized:
|
|
495
|
+
|
|
496
|
+
_host = None
|
|
497
|
+
|
|
498
|
+
_collection_formats: Dict[str, str] = {
|
|
499
|
+
}
|
|
500
|
+
|
|
501
|
+
_path_params: Dict[str, str] = {}
|
|
502
|
+
_query_params: List[Tuple[str, str]] = []
|
|
503
|
+
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
504
|
+
_form_params: List[Tuple[str, str]] = []
|
|
505
|
+
_files: Dict[
|
|
506
|
+
str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
|
|
507
|
+
] = {}
|
|
508
|
+
_body_params: Optional[bytes] = None
|
|
509
|
+
|
|
510
|
+
# process the path parameters
|
|
511
|
+
if subject is not None:
|
|
512
|
+
_path_params['subject'] = subject
|
|
513
|
+
# process the query parameters
|
|
514
|
+
# process the header parameters
|
|
515
|
+
# process the form parameters
|
|
516
|
+
# process the body parameter
|
|
517
|
+
|
|
518
|
+
|
|
519
|
+
# set the HTTP header `Accept`
|
|
520
|
+
if 'Accept' not in _header_params:
|
|
521
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
|
522
|
+
[
|
|
523
|
+
'application/json'
|
|
524
|
+
]
|
|
525
|
+
)
|
|
526
|
+
|
|
527
|
+
|
|
528
|
+
# authentication setting
|
|
529
|
+
_auth_settings: List[str] = [
|
|
530
|
+
]
|
|
531
|
+
|
|
532
|
+
return self.api_client.param_serialize(
|
|
533
|
+
method='GET',
|
|
534
|
+
resource_path='/api/v1/users/user/{subject}',
|
|
535
|
+
path_params=_path_params,
|
|
536
|
+
query_params=_query_params,
|
|
537
|
+
header_params=_header_params,
|
|
538
|
+
body=_body_params,
|
|
539
|
+
post_params=_form_params,
|
|
540
|
+
files=_files,
|
|
541
|
+
auth_settings=_auth_settings,
|
|
542
|
+
collection_formats=_collection_formats,
|
|
543
|
+
_host=_host,
|
|
544
|
+
_request_auth=_request_auth
|
|
545
|
+
)
|
|
546
|
+
|
|
547
|
+
|