perceptic-core-client 0.29.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.

Files changed (212) hide show
  1. {perceptic_core_client-0.29.0 → perceptic_core_client-0.30.0}/PKG-INFO +1 -1
  2. perceptic_core_client-0.30.0/VERSION +1 -0
  3. {perceptic_core_client-0.29.0 → perceptic_core_client-0.30.0}/src/perceptic_core_client/__init__.py +4 -0
  4. perceptic_core_client-0.30.0/src/perceptic_core_client/api/user_resource_api.py +547 -0
  5. {perceptic_core_client-0.29.0 → perceptic_core_client-0.30.0}/src/perceptic_core_client/api/worker_resource_api.py +273 -0
  6. {perceptic_core_client-0.29.0 → perceptic_core_client-0.30.0}/src/perceptic_core_client/models/__init__.py +2 -0
  7. perceptic_core_client-0.30.0/src/perceptic_core_client/models/get_worker_run_response.py +97 -0
  8. {perceptic_core_client-0.29.0 → perceptic_core_client-0.30.0}/src/perceptic_core_client/models/info_event.py +4 -1
  9. {perceptic_core_client-0.29.0 → perceptic_core_client-0.30.0}/src/perceptic_core_client/models/progress_event.py +5 -2
  10. {perceptic_core_client-0.29.0 → perceptic_core_client-0.30.0}/src/perceptic_core_client/models/request_for_input_event.py +4 -1
  11. perceptic_core_client-0.30.0/src/perceptic_core_client/models/user_info_response.py +115 -0
  12. perceptic_core_client-0.30.0/src/perceptic_core_client/test/test_get_worker_run_response.py +55 -0
  13. {perceptic_core_client-0.29.0 → perceptic_core_client-0.30.0}/src/perceptic_core_client/test/test_info_event.py +1 -0
  14. {perceptic_core_client-0.29.0 → perceptic_core_client-0.30.0}/src/perceptic_core_client/test/test_progress_event.py +1 -0
  15. {perceptic_core_client-0.29.0 → perceptic_core_client-0.30.0}/src/perceptic_core_client/test/test_request_for_input_event.py +1 -0
  16. perceptic_core_client-0.30.0/src/perceptic_core_client/test/test_user_info_response.py +56 -0
  17. {perceptic_core_client-0.29.0 → perceptic_core_client-0.30.0}/src/perceptic_core_client/test/test_user_resource_api.py +7 -0
  18. {perceptic_core_client-0.29.0 → perceptic_core_client-0.30.0}/src/perceptic_core_client/test/test_worker_event.py +1 -0
  19. {perceptic_core_client-0.29.0 → perceptic_core_client-0.30.0}/src/perceptic_core_client/test/test_worker_resource_api.py +7 -0
  20. {perceptic_core_client-0.29.0 → perceptic_core_client-0.30.0}/src/perceptic_core_client.egg-info/PKG-INFO +1 -1
  21. {perceptic_core_client-0.29.0 → perceptic_core_client-0.30.0}/src/perceptic_core_client.egg-info/SOURCES.txt +4 -0
  22. perceptic_core_client-0.29.0/VERSION +0 -1
  23. perceptic_core_client-0.29.0/src/perceptic_core_client/api/user_resource_api.py +0 -278
  24. {perceptic_core_client-0.29.0 → perceptic_core_client-0.30.0}/MANIFEST.in +0 -0
  25. {perceptic_core_client-0.29.0 → perceptic_core_client-0.30.0}/README.md +0 -0
  26. {perceptic_core_client-0.29.0 → perceptic_core_client-0.30.0}/pyproject.toml +0 -0
  27. {perceptic_core_client-0.29.0 → perceptic_core_client-0.30.0}/scripts/generate_client.py +0 -0
  28. {perceptic_core_client-0.29.0 → perceptic_core_client-0.30.0}/setup.cfg +0 -0
  29. {perceptic_core_client-0.29.0 → perceptic_core_client-0.30.0}/setup.py +0 -0
  30. {perceptic_core_client-0.29.0 → perceptic_core_client-0.30.0}/src/perceptic_core_client/api/__init__.py +0 -0
  31. {perceptic_core_client-0.29.0 → perceptic_core_client-0.30.0}/src/perceptic_core_client/api/connection_resource_api.py +0 -0
  32. {perceptic_core_client-0.29.0 → perceptic_core_client-0.30.0}/src/perceptic_core_client/api/file_system_contents_resource_api.py +0 -0
  33. {perceptic_core_client-0.29.0 → perceptic_core_client-0.30.0}/src/perceptic_core_client/api/file_system_resource_api.py +0 -0
  34. {perceptic_core_client-0.29.0 → perceptic_core_client-0.30.0}/src/perceptic_core_client/api/indexer_resource_api.py +0 -0
  35. {perceptic_core_client-0.29.0 → perceptic_core_client-0.30.0}/src/perceptic_core_client/api/indexing_schedule_resource_api.py +0 -0
  36. {perceptic_core_client-0.29.0 → perceptic_core_client-0.30.0}/src/perceptic_core_client/api/indexing_task_resource_api.py +0 -0
  37. {perceptic_core_client-0.29.0 → perceptic_core_client-0.30.0}/src/perceptic_core_client/api/tag_resource_api.py +0 -0
  38. {perceptic_core_client-0.29.0 → perceptic_core_client-0.30.0}/src/perceptic_core_client/api/uri_resource_api.py +0 -0
  39. {perceptic_core_client-0.29.0 → perceptic_core_client-0.30.0}/src/perceptic_core_client/api_client.py +0 -0
  40. {perceptic_core_client-0.29.0 → perceptic_core_client-0.30.0}/src/perceptic_core_client/api_response.py +0 -0
  41. {perceptic_core_client-0.29.0 → perceptic_core_client-0.30.0}/src/perceptic_core_client/configuration.py +0 -0
  42. {perceptic_core_client-0.29.0 → perceptic_core_client-0.30.0}/src/perceptic_core_client/exceptions.py +0 -0
  43. {perceptic_core_client-0.29.0 → perceptic_core_client-0.30.0}/src/perceptic_core_client/models/action_type.py +0 -0
  44. {perceptic_core_client-0.29.0 → perceptic_core_client-0.30.0}/src/perceptic_core_client/models/add_tag_to_file_request.py +0 -0
  45. {perceptic_core_client-0.29.0 → perceptic_core_client-0.30.0}/src/perceptic_core_client/models/azure_blob_connection_settings_api_dto.py +0 -0
  46. {perceptic_core_client-0.29.0 → perceptic_core_client-0.30.0}/src/perceptic_core_client/models/azure_blob_file_system_root_metadata_api_dto.py +0 -0
  47. {perceptic_core_client-0.29.0 → perceptic_core_client-0.30.0}/src/perceptic_core_client/models/connection_api_dto.py +0 -0
  48. {perceptic_core_client-0.29.0 → perceptic_core_client-0.30.0}/src/perceptic_core_client/models/connection_settings_api_dto.py +0 -0
  49. {perceptic_core_client-0.29.0 → perceptic_core_client-0.30.0}/src/perceptic_core_client/models/create_connection_request.py +0 -0
  50. {perceptic_core_client-0.29.0 → perceptic_core_client-0.30.0}/src/perceptic_core_client/models/create_connection_response.py +0 -0
  51. {perceptic_core_client-0.29.0 → perceptic_core_client-0.30.0}/src/perceptic_core_client/models/create_file_system_response.py +0 -0
  52. {perceptic_core_client-0.29.0 → perceptic_core_client-0.30.0}/src/perceptic_core_client/models/create_folder_request.py +0 -0
  53. {perceptic_core_client-0.29.0 → perceptic_core_client-0.30.0}/src/perceptic_core_client/models/create_folder_response.py +0 -0
  54. {perceptic_core_client-0.29.0 → perceptic_core_client-0.30.0}/src/perceptic_core_client/models/create_indexing_schedule_request.py +0 -0
  55. {perceptic_core_client-0.29.0 → perceptic_core_client-0.30.0}/src/perceptic_core_client/models/create_indexing_schedule_response.py +0 -0
  56. {perceptic_core_client-0.29.0 → perceptic_core_client-0.30.0}/src/perceptic_core_client/models/create_indexing_task_request.py +0 -0
  57. {perceptic_core_client-0.29.0 → perceptic_core_client-0.30.0}/src/perceptic_core_client/models/create_indexing_task_response.py +0 -0
  58. {perceptic_core_client-0.29.0 → perceptic_core_client-0.30.0}/src/perceptic_core_client/models/create_managed_file_system_request.py +0 -0
  59. {perceptic_core_client-0.29.0 → perceptic_core_client-0.30.0}/src/perceptic_core_client/models/create_remote_file_system_request.py +0 -0
  60. {perceptic_core_client-0.29.0 → perceptic_core_client-0.30.0}/src/perceptic_core_client/models/create_tag_request.py +0 -0
  61. {perceptic_core_client-0.29.0 → perceptic_core_client-0.30.0}/src/perceptic_core_client/models/create_tag_response.py +0 -0
  62. {perceptic_core_client-0.29.0 → perceptic_core_client-0.30.0}/src/perceptic_core_client/models/cron_trigger.py +0 -0
  63. {perceptic_core_client-0.29.0 → perceptic_core_client-0.30.0}/src/perceptic_core_client/models/execution_trigger_reason.py +0 -0
  64. {perceptic_core_client-0.29.0 → perceptic_core_client-0.30.0}/src/perceptic_core_client/models/file_system_api_dto.py +0 -0
  65. {perceptic_core_client-0.29.0 → perceptic_core_client-0.30.0}/src/perceptic_core_client/models/file_system_root_metadata_api_dto.py +0 -0
  66. {perceptic_core_client-0.29.0 → perceptic_core_client-0.30.0}/src/perceptic_core_client/models/get_connection_response.py +0 -0
  67. {perceptic_core_client-0.29.0 → perceptic_core_client-0.30.0}/src/perceptic_core_client/models/get_indexer_response.py +0 -0
  68. {perceptic_core_client-0.29.0 → perceptic_core_client-0.30.0}/src/perceptic_core_client/models/get_indexing_schedule_response.py +0 -0
  69. {perceptic_core_client-0.29.0 → perceptic_core_client-0.30.0}/src/perceptic_core_client/models/get_indexing_task_response.py +0 -0
  70. {perceptic_core_client-0.29.0 → perceptic_core_client-0.30.0}/src/perceptic_core_client/models/get_metadata_response.py +0 -0
  71. {perceptic_core_client-0.29.0 → perceptic_core_client-0.30.0}/src/perceptic_core_client/models/get_parent_response.py +0 -0
  72. {perceptic_core_client-0.29.0 → perceptic_core_client-0.30.0}/src/perceptic_core_client/models/get_parent_uri_response.py +0 -0
  73. {perceptic_core_client-0.29.0 → perceptic_core_client-0.30.0}/src/perceptic_core_client/models/get_signed_url_response.py +0 -0
  74. {perceptic_core_client-0.29.0 → perceptic_core_client-0.30.0}/src/perceptic_core_client/models/get_worker_events_response.py +0 -0
  75. {perceptic_core_client-0.29.0 → perceptic_core_client-0.30.0}/src/perceptic_core_client/models/get_worker_metadata_response.py +0 -0
  76. {perceptic_core_client-0.29.0 → perceptic_core_client-0.30.0}/src/perceptic_core_client/models/get_worker_status_response.py +0 -0
  77. {perceptic_core_client-0.29.0 → perceptic_core_client-0.30.0}/src/perceptic_core_client/models/get_workers_response.py +0 -0
  78. {perceptic_core_client-0.29.0 → perceptic_core_client-0.30.0}/src/perceptic_core_client/models/indexer_dto.py +0 -0
  79. {perceptic_core_client-0.29.0 → perceptic_core_client-0.30.0}/src/perceptic_core_client/models/indexing_action_dto.py +0 -0
  80. {perceptic_core_client-0.29.0 → perceptic_core_client-0.30.0}/src/perceptic_core_client/models/indexing_action_status.py +0 -0
  81. {perceptic_core_client-0.29.0 → perceptic_core_client-0.30.0}/src/perceptic_core_client/models/indexing_schedule_dto.py +0 -0
  82. {perceptic_core_client-0.29.0 → perceptic_core_client-0.30.0}/src/perceptic_core_client/models/indexing_task_dto.py +0 -0
  83. {perceptic_core_client-0.29.0 → perceptic_core_client-0.30.0}/src/perceptic_core_client/models/indexing_task_status.py +0 -0
  84. {perceptic_core_client-0.29.0 → perceptic_core_client-0.30.0}/src/perceptic_core_client/models/interval_trigger.py +0 -0
  85. {perceptic_core_client-0.29.0 → perceptic_core_client-0.30.0}/src/perceptic_core_client/models/json_node.py +0 -0
  86. {perceptic_core_client-0.29.0 → perceptic_core_client-0.30.0}/src/perceptic_core_client/models/json_node_type.py +0 -0
  87. {perceptic_core_client-0.29.0 → perceptic_core_client-0.30.0}/src/perceptic_core_client/models/list_all_file_systems_response.py +0 -0
  88. {perceptic_core_client-0.29.0 → perceptic_core_client-0.30.0}/src/perceptic_core_client/models/list_file_system_response.py +0 -0
  89. {perceptic_core_client-0.29.0 → perceptic_core_client-0.30.0}/src/perceptic_core_client/models/list_indexers_response.py +0 -0
  90. {perceptic_core_client-0.29.0 → perceptic_core_client-0.30.0}/src/perceptic_core_client/models/list_indexing_actions_response.py +0 -0
  91. {perceptic_core_client-0.29.0 → perceptic_core_client-0.30.0}/src/perceptic_core_client/models/list_indexing_schedules_response.py +0 -0
  92. {perceptic_core_client-0.29.0 → perceptic_core_client-0.30.0}/src/perceptic_core_client/models/list_schedule_executions_response.py +0 -0
  93. {perceptic_core_client-0.29.0 → perceptic_core_client-0.30.0}/src/perceptic_core_client/models/list_tags_response.py +0 -0
  94. {perceptic_core_client-0.29.0 → perceptic_core_client-0.30.0}/src/perceptic_core_client/models/managed_file_system_api_dto.py +0 -0
  95. {perceptic_core_client-0.29.0 → perceptic_core_client-0.30.0}/src/perceptic_core_client/models/me_response.py +0 -0
  96. {perceptic_core_client-0.29.0 → perceptic_core_client-0.30.0}/src/perceptic_core_client/models/model_schema.py +0 -0
  97. {perceptic_core_client-0.29.0 → perceptic_core_client-0.30.0}/src/perceptic_core_client/models/on_upload_trigger.py +0 -0
  98. {perceptic_core_client-0.29.0 → perceptic_core_client-0.30.0}/src/perceptic_core_client/models/paged_list_file_system_response.py +0 -0
  99. {perceptic_core_client-0.29.0 → perceptic_core_client-0.30.0}/src/perceptic_core_client/models/post_worker_run_request.py +0 -0
  100. {perceptic_core_client-0.29.0 → perceptic_core_client-0.30.0}/src/perceptic_core_client/models/post_worker_run_response.py +0 -0
  101. {perceptic_core_client-0.29.0 → perceptic_core_client-0.30.0}/src/perceptic_core_client/models/remote_file_system_api_dto.py +0 -0
  102. {perceptic_core_client-0.29.0 → perceptic_core_client-0.30.0}/src/perceptic_core_client/models/remove_tag_from_file_request.py +0 -0
  103. {perceptic_core_client-0.29.0 → perceptic_core_client-0.30.0}/src/perceptic_core_client/models/resource_entry_dto.py +0 -0
  104. {perceptic_core_client-0.29.0 → perceptic_core_client-0.30.0}/src/perceptic_core_client/models/resource_identifier.py +0 -0
  105. {perceptic_core_client-0.29.0 → perceptic_core_client-0.30.0}/src/perceptic_core_client/models/resource_metadata_dto.py +0 -0
  106. {perceptic_core_client-0.29.0 → perceptic_core_client-0.30.0}/src/perceptic_core_client/models/resource_type_dto.py +0 -0
  107. {perceptic_core_client-0.29.0 → perceptic_core_client-0.30.0}/src/perceptic_core_client/models/run_status_dto.py +0 -0
  108. {perceptic_core_client-0.29.0 → perceptic_core_client-0.30.0}/src/perceptic_core_client/models/s3_connection_settings_api_dto.py +0 -0
  109. {perceptic_core_client-0.29.0 → perceptic_core_client-0.30.0}/src/perceptic_core_client/models/s3_file_system_root_metadata_api_dto.py +0 -0
  110. {perceptic_core_client-0.29.0 → perceptic_core_client-0.30.0}/src/perceptic_core_client/models/schedule_execution_dto.py +0 -0
  111. {perceptic_core_client-0.29.0 → perceptic_core_client-0.30.0}/src/perceptic_core_client/models/schedule_trigger.py +0 -0
  112. {perceptic_core_client-0.29.0 → perceptic_core_client-0.30.0}/src/perceptic_core_client/models/schema_location.py +0 -0
  113. {perceptic_core_client-0.29.0 → perceptic_core_client-0.30.0}/src/perceptic_core_client/models/start_execution_response.py +0 -0
  114. {perceptic_core_client-0.29.0 → perceptic_core_client-0.30.0}/src/perceptic_core_client/models/tag_info.py +0 -0
  115. {perceptic_core_client-0.29.0 → perceptic_core_client-0.30.0}/src/perceptic_core_client/models/update_indexing_schedule_request.py +0 -0
  116. {perceptic_core_client-0.29.0 → perceptic_core_client-0.30.0}/src/perceptic_core_client/models/update_indexing_schedule_response.py +0 -0
  117. {perceptic_core_client-0.29.0 → perceptic_core_client-0.30.0}/src/perceptic_core_client/models/update_tag_request.py +0 -0
  118. {perceptic_core_client-0.29.0 → perceptic_core_client-0.30.0}/src/perceptic_core_client/models/update_tag_response.py +0 -0
  119. {perceptic_core_client-0.29.0 → perceptic_core_client-0.30.0}/src/perceptic_core_client/models/upload_file_to_managed_file_system_response.py +0 -0
  120. {perceptic_core_client-0.29.0 → perceptic_core_client-0.30.0}/src/perceptic_core_client/models/worker_event.py +0 -0
  121. {perceptic_core_client-0.29.0 → perceptic_core_client-0.30.0}/src/perceptic_core_client/models/worker_metadata_dto.py +0 -0
  122. {perceptic_core_client-0.29.0 → perceptic_core_client-0.30.0}/src/perceptic_core_client/rest.py +0 -0
  123. {perceptic_core_client-0.29.0 → perceptic_core_client-0.30.0}/src/perceptic_core_client/test/__init__.py +0 -0
  124. {perceptic_core_client-0.29.0 → perceptic_core_client-0.30.0}/src/perceptic_core_client/test/test_action_type.py +0 -0
  125. {perceptic_core_client-0.29.0 → perceptic_core_client-0.30.0}/src/perceptic_core_client/test/test_add_tag_to_file_request.py +0 -0
  126. {perceptic_core_client-0.29.0 → perceptic_core_client-0.30.0}/src/perceptic_core_client/test/test_azure_blob_connection_settings_api_dto.py +0 -0
  127. {perceptic_core_client-0.29.0 → perceptic_core_client-0.30.0}/src/perceptic_core_client/test/test_azure_blob_file_system_root_metadata_api_dto.py +0 -0
  128. {perceptic_core_client-0.29.0 → perceptic_core_client-0.30.0}/src/perceptic_core_client/test/test_connection_api_dto.py +0 -0
  129. {perceptic_core_client-0.29.0 → perceptic_core_client-0.30.0}/src/perceptic_core_client/test/test_connection_resource_api.py +0 -0
  130. {perceptic_core_client-0.29.0 → perceptic_core_client-0.30.0}/src/perceptic_core_client/test/test_connection_settings_api_dto.py +0 -0
  131. {perceptic_core_client-0.29.0 → perceptic_core_client-0.30.0}/src/perceptic_core_client/test/test_create_connection_request.py +0 -0
  132. {perceptic_core_client-0.29.0 → perceptic_core_client-0.30.0}/src/perceptic_core_client/test/test_create_connection_response.py +0 -0
  133. {perceptic_core_client-0.29.0 → perceptic_core_client-0.30.0}/src/perceptic_core_client/test/test_create_file_system_response.py +0 -0
  134. {perceptic_core_client-0.29.0 → perceptic_core_client-0.30.0}/src/perceptic_core_client/test/test_create_folder_request.py +0 -0
  135. {perceptic_core_client-0.29.0 → perceptic_core_client-0.30.0}/src/perceptic_core_client/test/test_create_folder_response.py +0 -0
  136. {perceptic_core_client-0.29.0 → perceptic_core_client-0.30.0}/src/perceptic_core_client/test/test_create_indexing_schedule_request.py +0 -0
  137. {perceptic_core_client-0.29.0 → perceptic_core_client-0.30.0}/src/perceptic_core_client/test/test_create_indexing_schedule_response.py +0 -0
  138. {perceptic_core_client-0.29.0 → perceptic_core_client-0.30.0}/src/perceptic_core_client/test/test_create_indexing_task_request.py +0 -0
  139. {perceptic_core_client-0.29.0 → perceptic_core_client-0.30.0}/src/perceptic_core_client/test/test_create_indexing_task_response.py +0 -0
  140. {perceptic_core_client-0.29.0 → perceptic_core_client-0.30.0}/src/perceptic_core_client/test/test_create_managed_file_system_request.py +0 -0
  141. {perceptic_core_client-0.29.0 → perceptic_core_client-0.30.0}/src/perceptic_core_client/test/test_create_remote_file_system_request.py +0 -0
  142. {perceptic_core_client-0.29.0 → perceptic_core_client-0.30.0}/src/perceptic_core_client/test/test_create_tag_request.py +0 -0
  143. {perceptic_core_client-0.29.0 → perceptic_core_client-0.30.0}/src/perceptic_core_client/test/test_create_tag_response.py +0 -0
  144. {perceptic_core_client-0.29.0 → perceptic_core_client-0.30.0}/src/perceptic_core_client/test/test_cron_trigger.py +0 -0
  145. {perceptic_core_client-0.29.0 → perceptic_core_client-0.30.0}/src/perceptic_core_client/test/test_execution_trigger_reason.py +0 -0
  146. {perceptic_core_client-0.29.0 → perceptic_core_client-0.30.0}/src/perceptic_core_client/test/test_file_system_api_dto.py +0 -0
  147. {perceptic_core_client-0.29.0 → perceptic_core_client-0.30.0}/src/perceptic_core_client/test/test_file_system_contents_resource_api.py +0 -0
  148. {perceptic_core_client-0.29.0 → perceptic_core_client-0.30.0}/src/perceptic_core_client/test/test_file_system_resource_api.py +0 -0
  149. {perceptic_core_client-0.29.0 → perceptic_core_client-0.30.0}/src/perceptic_core_client/test/test_file_system_root_metadata_api_dto.py +0 -0
  150. {perceptic_core_client-0.29.0 → perceptic_core_client-0.30.0}/src/perceptic_core_client/test/test_get_connection_response.py +0 -0
  151. {perceptic_core_client-0.29.0 → perceptic_core_client-0.30.0}/src/perceptic_core_client/test/test_get_indexer_response.py +0 -0
  152. {perceptic_core_client-0.29.0 → perceptic_core_client-0.30.0}/src/perceptic_core_client/test/test_get_indexing_schedule_response.py +0 -0
  153. {perceptic_core_client-0.29.0 → perceptic_core_client-0.30.0}/src/perceptic_core_client/test/test_get_indexing_task_response.py +0 -0
  154. {perceptic_core_client-0.29.0 → perceptic_core_client-0.30.0}/src/perceptic_core_client/test/test_get_metadata_response.py +0 -0
  155. {perceptic_core_client-0.29.0 → perceptic_core_client-0.30.0}/src/perceptic_core_client/test/test_get_parent_response.py +0 -0
  156. {perceptic_core_client-0.29.0 → perceptic_core_client-0.30.0}/src/perceptic_core_client/test/test_get_parent_uri_response.py +0 -0
  157. {perceptic_core_client-0.29.0 → perceptic_core_client-0.30.0}/src/perceptic_core_client/test/test_get_signed_url_response.py +0 -0
  158. {perceptic_core_client-0.29.0 → perceptic_core_client-0.30.0}/src/perceptic_core_client/test/test_get_worker_events_response.py +0 -0
  159. {perceptic_core_client-0.29.0 → perceptic_core_client-0.30.0}/src/perceptic_core_client/test/test_get_worker_metadata_response.py +0 -0
  160. {perceptic_core_client-0.29.0 → perceptic_core_client-0.30.0}/src/perceptic_core_client/test/test_get_worker_status_response.py +0 -0
  161. {perceptic_core_client-0.29.0 → perceptic_core_client-0.30.0}/src/perceptic_core_client/test/test_get_workers_response.py +0 -0
  162. {perceptic_core_client-0.29.0 → perceptic_core_client-0.30.0}/src/perceptic_core_client/test/test_indexer_dto.py +0 -0
  163. {perceptic_core_client-0.29.0 → perceptic_core_client-0.30.0}/src/perceptic_core_client/test/test_indexer_resource_api.py +0 -0
  164. {perceptic_core_client-0.29.0 → perceptic_core_client-0.30.0}/src/perceptic_core_client/test/test_indexing_action_dto.py +0 -0
  165. {perceptic_core_client-0.29.0 → perceptic_core_client-0.30.0}/src/perceptic_core_client/test/test_indexing_action_status.py +0 -0
  166. {perceptic_core_client-0.29.0 → perceptic_core_client-0.30.0}/src/perceptic_core_client/test/test_indexing_schedule_dto.py +0 -0
  167. {perceptic_core_client-0.29.0 → perceptic_core_client-0.30.0}/src/perceptic_core_client/test/test_indexing_schedule_resource_api.py +0 -0
  168. {perceptic_core_client-0.29.0 → perceptic_core_client-0.30.0}/src/perceptic_core_client/test/test_indexing_task_dto.py +0 -0
  169. {perceptic_core_client-0.29.0 → perceptic_core_client-0.30.0}/src/perceptic_core_client/test/test_indexing_task_resource_api.py +0 -0
  170. {perceptic_core_client-0.29.0 → perceptic_core_client-0.30.0}/src/perceptic_core_client/test/test_indexing_task_status.py +0 -0
  171. {perceptic_core_client-0.29.0 → perceptic_core_client-0.30.0}/src/perceptic_core_client/test/test_interval_trigger.py +0 -0
  172. {perceptic_core_client-0.29.0 → perceptic_core_client-0.30.0}/src/perceptic_core_client/test/test_json_node.py +0 -0
  173. {perceptic_core_client-0.29.0 → perceptic_core_client-0.30.0}/src/perceptic_core_client/test/test_json_node_type.py +0 -0
  174. {perceptic_core_client-0.29.0 → perceptic_core_client-0.30.0}/src/perceptic_core_client/test/test_list_all_file_systems_response.py +0 -0
  175. {perceptic_core_client-0.29.0 → perceptic_core_client-0.30.0}/src/perceptic_core_client/test/test_list_file_system_response.py +0 -0
  176. {perceptic_core_client-0.29.0 → perceptic_core_client-0.30.0}/src/perceptic_core_client/test/test_list_indexers_response.py +0 -0
  177. {perceptic_core_client-0.29.0 → perceptic_core_client-0.30.0}/src/perceptic_core_client/test/test_list_indexing_actions_response.py +0 -0
  178. {perceptic_core_client-0.29.0 → perceptic_core_client-0.30.0}/src/perceptic_core_client/test/test_list_indexing_schedules_response.py +0 -0
  179. {perceptic_core_client-0.29.0 → perceptic_core_client-0.30.0}/src/perceptic_core_client/test/test_list_schedule_executions_response.py +0 -0
  180. {perceptic_core_client-0.29.0 → perceptic_core_client-0.30.0}/src/perceptic_core_client/test/test_list_tags_response.py +0 -0
  181. {perceptic_core_client-0.29.0 → perceptic_core_client-0.30.0}/src/perceptic_core_client/test/test_managed_file_system_api_dto.py +0 -0
  182. {perceptic_core_client-0.29.0 → perceptic_core_client-0.30.0}/src/perceptic_core_client/test/test_me_response.py +0 -0
  183. {perceptic_core_client-0.29.0 → perceptic_core_client-0.30.0}/src/perceptic_core_client/test/test_model_schema.py +0 -0
  184. {perceptic_core_client-0.29.0 → perceptic_core_client-0.30.0}/src/perceptic_core_client/test/test_on_upload_trigger.py +0 -0
  185. {perceptic_core_client-0.29.0 → perceptic_core_client-0.30.0}/src/perceptic_core_client/test/test_paged_list_file_system_response.py +0 -0
  186. {perceptic_core_client-0.29.0 → perceptic_core_client-0.30.0}/src/perceptic_core_client/test/test_post_worker_run_request.py +0 -0
  187. {perceptic_core_client-0.29.0 → perceptic_core_client-0.30.0}/src/perceptic_core_client/test/test_post_worker_run_response.py +0 -0
  188. {perceptic_core_client-0.29.0 → perceptic_core_client-0.30.0}/src/perceptic_core_client/test/test_remote_file_system_api_dto.py +0 -0
  189. {perceptic_core_client-0.29.0 → perceptic_core_client-0.30.0}/src/perceptic_core_client/test/test_remove_tag_from_file_request.py +0 -0
  190. {perceptic_core_client-0.29.0 → perceptic_core_client-0.30.0}/src/perceptic_core_client/test/test_resource_entry_dto.py +0 -0
  191. {perceptic_core_client-0.29.0 → perceptic_core_client-0.30.0}/src/perceptic_core_client/test/test_resource_identifier.py +0 -0
  192. {perceptic_core_client-0.29.0 → perceptic_core_client-0.30.0}/src/perceptic_core_client/test/test_resource_metadata_dto.py +0 -0
  193. {perceptic_core_client-0.29.0 → perceptic_core_client-0.30.0}/src/perceptic_core_client/test/test_resource_type_dto.py +0 -0
  194. {perceptic_core_client-0.29.0 → perceptic_core_client-0.30.0}/src/perceptic_core_client/test/test_run_status_dto.py +0 -0
  195. {perceptic_core_client-0.29.0 → perceptic_core_client-0.30.0}/src/perceptic_core_client/test/test_s3_connection_settings_api_dto.py +0 -0
  196. {perceptic_core_client-0.29.0 → perceptic_core_client-0.30.0}/src/perceptic_core_client/test/test_s3_file_system_root_metadata_api_dto.py +0 -0
  197. {perceptic_core_client-0.29.0 → perceptic_core_client-0.30.0}/src/perceptic_core_client/test/test_schedule_execution_dto.py +0 -0
  198. {perceptic_core_client-0.29.0 → perceptic_core_client-0.30.0}/src/perceptic_core_client/test/test_schedule_trigger.py +0 -0
  199. {perceptic_core_client-0.29.0 → perceptic_core_client-0.30.0}/src/perceptic_core_client/test/test_schema_location.py +0 -0
  200. {perceptic_core_client-0.29.0 → perceptic_core_client-0.30.0}/src/perceptic_core_client/test/test_start_execution_response.py +0 -0
  201. {perceptic_core_client-0.29.0 → perceptic_core_client-0.30.0}/src/perceptic_core_client/test/test_tag_info.py +0 -0
  202. {perceptic_core_client-0.29.0 → perceptic_core_client-0.30.0}/src/perceptic_core_client/test/test_tag_resource_api.py +0 -0
  203. {perceptic_core_client-0.29.0 → perceptic_core_client-0.30.0}/src/perceptic_core_client/test/test_update_indexing_schedule_request.py +0 -0
  204. {perceptic_core_client-0.29.0 → perceptic_core_client-0.30.0}/src/perceptic_core_client/test/test_update_indexing_schedule_response.py +0 -0
  205. {perceptic_core_client-0.29.0 → perceptic_core_client-0.30.0}/src/perceptic_core_client/test/test_update_tag_request.py +0 -0
  206. {perceptic_core_client-0.29.0 → perceptic_core_client-0.30.0}/src/perceptic_core_client/test/test_update_tag_response.py +0 -0
  207. {perceptic_core_client-0.29.0 → perceptic_core_client-0.30.0}/src/perceptic_core_client/test/test_upload_file_to_managed_file_system_response.py +0 -0
  208. {perceptic_core_client-0.29.0 → perceptic_core_client-0.30.0}/src/perceptic_core_client/test/test_uri_resource_api.py +0 -0
  209. {perceptic_core_client-0.29.0 → perceptic_core_client-0.30.0}/src/perceptic_core_client/test/test_worker_metadata_dto.py +0 -0
  210. {perceptic_core_client-0.29.0 → perceptic_core_client-0.30.0}/src/perceptic_core_client.egg-info/dependency_links.txt +0 -0
  211. {perceptic_core_client-0.29.0 → perceptic_core_client-0.30.0}/src/perceptic_core_client.egg-info/requires.txt +0 -0
  212. {perceptic_core_client-0.29.0 → perceptic_core_client-0.30.0}/src/perceptic_core_client.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: perceptic-core-client
3
- Version: 0.29.0
3
+ Version: 0.30.0
4
4
  Summary: Python client for Perceptic Core
5
5
  Author-email: Your Name <you@example.com>
6
6
  License: Proprietary
@@ -0,0 +1 @@
1
+ 0.30.0
@@ -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
+