label-studio-sdk 2.0.8__py3-none-any.whl → 2.0.9__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of label-studio-sdk might be problematic. Click here for more details.

Files changed (70) hide show
  1. label_studio_sdk/__init__.py +36 -16
  2. label_studio_sdk/base_client.py +0 -4
  3. label_studio_sdk/core/client_wrapper.py +1 -1
  4. label_studio_sdk/export_storage/__init__.py +13 -2
  5. label_studio_sdk/export_storage/client.py +4 -0
  6. label_studio_sdk/export_storage/databricks/client.py +1406 -0
  7. label_studio_sdk/import_storage/__init__.py +13 -2
  8. label_studio_sdk/import_storage/client.py +4 -0
  9. label_studio_sdk/import_storage/databricks/__init__.py +2 -0
  10. label_studio_sdk/import_storage/databricks/client.py +1466 -0
  11. label_studio_sdk/import_storage/gcswif/client.py +30 -0
  12. label_studio_sdk/projects/__init__.py +0 -2
  13. label_studio_sdk/projects/client.py +186 -32
  14. label_studio_sdk/projects/client_ext.py +20 -8
  15. label_studio_sdk/projects/types/__init__.py +0 -2
  16. label_studio_sdk/projects/types/lse_project_create_request_sampling.py +2 -2
  17. label_studio_sdk/projects/types/patched_lse_project_update_request_sampling.py +2 -2
  18. label_studio_sdk/prompts/client.py +340 -1
  19. label_studio_sdk/prompts/runs/client.py +127 -0
  20. label_studio_sdk/tasks/client.py +7 -2
  21. label_studio_sdk/types/__init__.py +36 -12
  22. label_studio_sdk/types/all_roles_project_list.py +10 -10
  23. label_studio_sdk/types/all_roles_project_list_sampling.py +2 -2
  24. label_studio_sdk/types/azure_blob_import_storage.py +5 -0
  25. label_studio_sdk/types/cancel_model_run_response.py +19 -0
  26. label_studio_sdk/types/configurable_permission_option.py +2 -2
  27. label_studio_sdk/types/databricks_export_storage.py +113 -0
  28. label_studio_sdk/types/databricks_export_storage_request.py +107 -0
  29. label_studio_sdk/types/databricks_import_storage.py +123 -0
  30. label_studio_sdk/types/databricks_import_storage_request.py +117 -0
  31. label_studio_sdk/types/default165enum.py +5 -0
  32. label_studio_sdk/types/gcs_import_storage.py +5 -0
  33. label_studio_sdk/types/gcswif_import_storage.py +5 -0
  34. label_studio_sdk/types/gcswif_import_storage_request.py +5 -0
  35. label_studio_sdk/types/local_files_import_storage.py +5 -0
  36. label_studio_sdk/types/lse_project_counts.py +8 -8
  37. label_studio_sdk/types/lse_project_create_sampling.py +2 -2
  38. label_studio_sdk/types/{project.py → lse_project_response.py} +44 -31
  39. label_studio_sdk/types/lse_project_response_sampling.py +7 -0
  40. label_studio_sdk/types/{project_skip_queue.py → lse_project_response_skip_queue.py} +1 -1
  41. label_studio_sdk/types/lse_project_sampling.py +2 -2
  42. label_studio_sdk/types/lse_project_update_sampling.py +2 -2
  43. label_studio_sdk/types/lse_task.py +6 -0
  44. label_studio_sdk/types/lse_task_serializer_for_reviewers.py +6 -0
  45. label_studio_sdk/types/lse_user.py +1 -0
  46. label_studio_sdk/types/lse_user_api.py +1 -0
  47. label_studio_sdk/types/options165enum.py +5 -0
  48. label_studio_sdk/types/organization_permission.py +7 -4
  49. label_studio_sdk/types/paginated_project_member.py +1 -0
  50. label_studio_sdk/types/paginated_project_subset_tasks_response_list.py +23 -0
  51. label_studio_sdk/types/project_subset_item.py +21 -0
  52. label_studio_sdk/types/project_subset_task_item.py +24 -0
  53. label_studio_sdk/types/project_subset_tasks_response.py +27 -0
  54. label_studio_sdk/types/review_settings.py +14 -0
  55. label_studio_sdk/types/review_settings_request.py +14 -0
  56. label_studio_sdk/types/review_settings_request_sampling.py +8 -0
  57. label_studio_sdk/types/review_settings_sampling.py +8 -0
  58. label_studio_sdk/types/review_settings_sampling_enum.py +5 -0
  59. label_studio_sdk/types/{sampling_enum.py → sampling_de5enum.py} +1 -1
  60. label_studio_sdk/types/who_am_i_user.py +1 -0
  61. {label_studio_sdk-2.0.8.dist-info → label_studio_sdk-2.0.9.dist-info}/METADATA +41 -90
  62. {label_studio_sdk-2.0.8.dist-info → label_studio_sdk-2.0.9.dist-info}/RECORD +65 -52
  63. label_studio_sdk/blueprints/client.py +0 -272
  64. label_studio_sdk/projects/types/projects_list_request_filter.py +0 -5
  65. label_studio_sdk/types/blueprint.py +0 -41
  66. label_studio_sdk/types/configurable_permission_option_default.py +0 -7
  67. label_studio_sdk/types/project_sampling.py +0 -7
  68. /label_studio_sdk/{blueprints → export_storage/databricks}/__init__.py +0 -0
  69. {label_studio_sdk-2.0.8.dist-info → label_studio_sdk-2.0.9.dist-info}/LICENSE +0 -0
  70. {label_studio_sdk-2.0.8.dist-info → label_studio_sdk-2.0.9.dist-info}/WHEEL +0 -0
@@ -1,6 +1,17 @@
1
1
  # This file was auto-generated by Fern from our API Definition.
2
2
 
3
3
  from .types import ImportStorageListTypesResponseItem
4
- from . import azure, azure_spi, gcs, gcswif, local, redis, s3, s3s
4
+ from . import azure, azure_spi, databricks, gcs, gcswif, local, redis, s3, s3s
5
5
 
6
- __all__ = ["ImportStorageListTypesResponseItem", "azure", "azure_spi", "gcs", "gcswif", "local", "redis", "s3", "s3s"]
6
+ __all__ = [
7
+ "ImportStorageListTypesResponseItem",
8
+ "azure",
9
+ "azure_spi",
10
+ "databricks",
11
+ "gcs",
12
+ "gcswif",
13
+ "local",
14
+ "redis",
15
+ "s3",
16
+ "s3s",
17
+ ]
@@ -3,6 +3,7 @@
3
3
  from ..core.client_wrapper import SyncClientWrapper
4
4
  from .azure.client import AzureClient
5
5
  from .azure_spi.client import AzureSpiClient
6
+ from .databricks.client import DatabricksClient
6
7
  from .gcs.client import GcsClient
7
8
  from .gcswif.client import GcswifClient
8
9
  from .local.client import LocalClient
@@ -18,6 +19,7 @@ from ..core.api_error import ApiError
18
19
  from ..core.client_wrapper import AsyncClientWrapper
19
20
  from .azure.client import AsyncAzureClient
20
21
  from .azure_spi.client import AsyncAzureSpiClient
22
+ from .databricks.client import AsyncDatabricksClient
21
23
  from .gcs.client import AsyncGcsClient
22
24
  from .gcswif.client import AsyncGcswifClient
23
25
  from .local.client import AsyncLocalClient
@@ -31,6 +33,7 @@ class ImportStorageClient:
31
33
  self._client_wrapper = client_wrapper
32
34
  self.azure = AzureClient(client_wrapper=self._client_wrapper)
33
35
  self.azure_spi = AzureSpiClient(client_wrapper=self._client_wrapper)
36
+ self.databricks = DatabricksClient(client_wrapper=self._client_wrapper)
34
37
  self.gcs = GcsClient(client_wrapper=self._client_wrapper)
35
38
  self.gcswif = GcswifClient(client_wrapper=self._client_wrapper)
36
39
  self.local = LocalClient(client_wrapper=self._client_wrapper)
@@ -88,6 +91,7 @@ class AsyncImportStorageClient:
88
91
  self._client_wrapper = client_wrapper
89
92
  self.azure = AsyncAzureClient(client_wrapper=self._client_wrapper)
90
93
  self.azure_spi = AsyncAzureSpiClient(client_wrapper=self._client_wrapper)
94
+ self.databricks = AsyncDatabricksClient(client_wrapper=self._client_wrapper)
91
95
  self.gcs = AsyncGcsClient(client_wrapper=self._client_wrapper)
92
96
  self.gcswif = AsyncGcswifClient(client_wrapper=self._client_wrapper)
93
97
  self.local = AsyncLocalClient(client_wrapper=self._client_wrapper)
@@ -0,0 +1,2 @@
1
+ # This file was auto-generated by Fern from our API Definition.
2
+