dasl-client 1.0.16__tar.gz → 1.0.18__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 dasl-client might be problematic. Click here for more details.

Files changed (42) hide show
  1. {dasl_client-1.0.16 → dasl_client-1.0.18}/PKG-INFO +2 -2
  2. {dasl_client-1.0.16 → dasl_client-1.0.18}/dasl_client/client.py +8 -0
  3. {dasl_client-1.0.16 → dasl_client-1.0.18}/dasl_client/types/dbui.py +3 -2
  4. {dasl_client-1.0.16 → dasl_client-1.0.18}/dasl_client.egg-info/PKG-INFO +2 -2
  5. {dasl_client-1.0.16 → dasl_client-1.0.18}/dasl_client.egg-info/requires.txt +1 -1
  6. {dasl_client-1.0.16 → dasl_client-1.0.18}/pyproject.toml +2 -2
  7. {dasl_client-1.0.16 → dasl_client-1.0.18}/LICENSE +0 -0
  8. {dasl_client-1.0.16 → dasl_client-1.0.18}/README.md +0 -0
  9. {dasl_client-1.0.16 → dasl_client-1.0.18}/dasl_client/__init__.py +0 -0
  10. {dasl_client-1.0.16 → dasl_client-1.0.18}/dasl_client/auth/__init__.py +0 -0
  11. {dasl_client-1.0.16 → dasl_client-1.0.18}/dasl_client/auth/auth.py +0 -0
  12. {dasl_client-1.0.16 → dasl_client-1.0.18}/dasl_client/conn/__init__.py +0 -0
  13. {dasl_client-1.0.16 → dasl_client-1.0.18}/dasl_client/conn/client_identifier.py +0 -0
  14. {dasl_client-1.0.16 → dasl_client-1.0.18}/dasl_client/conn/conn.py +0 -0
  15. {dasl_client-1.0.16 → dasl_client-1.0.18}/dasl_client/errors/__init__.py +0 -0
  16. {dasl_client-1.0.16 → dasl_client-1.0.18}/dasl_client/errors/errors.py +0 -0
  17. {dasl_client-1.0.16 → dasl_client-1.0.18}/dasl_client/helpers.py +0 -0
  18. {dasl_client-1.0.16 → dasl_client-1.0.18}/dasl_client/preset_development/__init__.py +0 -0
  19. {dasl_client-1.0.16 → dasl_client-1.0.18}/dasl_client/preset_development/errors.py +0 -0
  20. {dasl_client-1.0.16 → dasl_client-1.0.18}/dasl_client/preset_development/preview_engine.py +0 -0
  21. {dasl_client-1.0.16 → dasl_client-1.0.18}/dasl_client/preset_development/preview_parameters.py +0 -0
  22. {dasl_client-1.0.16 → dasl_client-1.0.18}/dasl_client/preset_development/stage.py +0 -0
  23. {dasl_client-1.0.16 → dasl_client-1.0.18}/dasl_client/types/__init__.py +0 -0
  24. {dasl_client-1.0.16 → dasl_client-1.0.18}/dasl_client/types/admin_config.py +0 -0
  25. {dasl_client-1.0.16 → dasl_client-1.0.18}/dasl_client/types/content.py +0 -0
  26. {dasl_client-1.0.16 → dasl_client-1.0.18}/dasl_client/types/datasource.py +0 -0
  27. {dasl_client-1.0.16 → dasl_client-1.0.18}/dasl_client/types/helpers.py +0 -0
  28. {dasl_client-1.0.16 → dasl_client-1.0.18}/dasl_client/types/rule.py +0 -0
  29. {dasl_client-1.0.16 → dasl_client-1.0.18}/dasl_client/types/types.py +0 -0
  30. {dasl_client-1.0.16 → dasl_client-1.0.18}/dasl_client/types/workspace_config.py +0 -0
  31. {dasl_client-1.0.16 → dasl_client-1.0.18}/dasl_client.egg-info/SOURCES.txt +0 -0
  32. {dasl_client-1.0.16 → dasl_client-1.0.18}/dasl_client.egg-info/dependency_links.txt +0 -0
  33. {dasl_client-1.0.16 → dasl_client-1.0.18}/dasl_client.egg-info/top_level.txt +0 -0
  34. {dasl_client-1.0.16 → dasl_client-1.0.18}/setup.cfg +0 -0
  35. {dasl_client-1.0.16 → dasl_client-1.0.18}/setup.py +0 -0
  36. {dasl_client-1.0.16 → dasl_client-1.0.18}/test/__init__.py +0 -0
  37. {dasl_client-1.0.16 → dasl_client-1.0.18}/test/conftest.py +0 -0
  38. {dasl_client-1.0.16 → dasl_client-1.0.18}/test/constants.py +0 -0
  39. {dasl_client-1.0.16 → dasl_client-1.0.18}/test/test_api_changes.py +0 -0
  40. {dasl_client-1.0.16 → dasl_client-1.0.18}/test/test_api_surface.py +0 -0
  41. {dasl_client-1.0.16 → dasl_client-1.0.18}/test/test_databricks_secret_auth.py +0 -0
  42. {dasl_client-1.0.16 → dasl_client-1.0.18}/test/test_marshaling.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: dasl_client
3
- Version: 1.0.16
3
+ Version: 1.0.18
4
4
  Summary: The DASL client library used for interacting with the DASL workspace
5
5
  Home-page: https://github.com/antimatter/asl
6
6
  Author: Antimatter Team
@@ -8,7 +8,7 @@ Author-email: Antimatter Team <support@antimatter.io>
8
8
  Requires-Python: >=3.8
9
9
  Description-Content-Type: text/markdown
10
10
  License-File: LICENSE
11
- Requires-Dist: dasl_api==0.1.17
11
+ Requires-Dist: dasl_api==0.1.19
12
12
  Requires-Dist: databricks-sdk>=0.41.0
13
13
  Requires-Dist: pydantic>=2
14
14
  Requires-Dist: typing_extensions>=4.10.0
@@ -703,3 +703,11 @@ class Client:
703
703
  self._workspace(), name
704
704
  )
705
705
  )
706
+
707
+ def purge_preset_cache(self) -> None:
708
+ """
709
+ Purge the datasource cache presets. This will cause the DASL workspace
710
+ to fetch presets from provided sources.
711
+ """
712
+ with error_handler():
713
+ self._content_client().content_v1_preset_purge_cache(self._workspace())
@@ -221,7 +221,7 @@ class TransformRequest(BaseModel):
221
221
  format: Optional[str] = None
222
222
  location: str
223
223
  schema_file: Optional[str] = None
224
- schema: Optional[str] = None
224
+ var_schema: Optional[str] = None
225
225
  cloud_files: Optional["TransformRequest.Autoloader.CloudFiles"] = None
226
226
  row_count: Optional[int] = None
227
227
  row_offset: Optional[int] = None
@@ -236,6 +236,7 @@ class TransformRequest(BaseModel):
236
236
  format=obj.format,
237
237
  location=obj.location,
238
238
  schema_file=obj.schema_file,
239
+ var_schema=obj.var_schema,
239
240
  cloud_files=TransformRequest.Autoloader.CloudFiles.from_api_obj(
240
241
  obj.cloud_files
241
242
  ),
@@ -248,7 +249,7 @@ class TransformRequest(BaseModel):
248
249
  format=self.format,
249
250
  location=self.location,
250
251
  schemaFile=self.schema_file,
251
- schema=self.schema_file,
252
+ schema=self.var_schema,
252
253
  cloudFiles=Helpers.maybe(lambda o: o.to_api_obj(), self.cloud_files),
253
254
  rowCount=self.row_count,
254
255
  rowOffset=self.row_offset,
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: dasl_client
3
- Version: 1.0.16
3
+ Version: 1.0.18
4
4
  Summary: The DASL client library used for interacting with the DASL workspace
5
5
  Home-page: https://github.com/antimatter/asl
6
6
  Author: Antimatter Team
@@ -8,7 +8,7 @@ Author-email: Antimatter Team <support@antimatter.io>
8
8
  Requires-Python: >=3.8
9
9
  Description-Content-Type: text/markdown
10
10
  License-File: LICENSE
11
- Requires-Dist: dasl_api==0.1.17
11
+ Requires-Dist: dasl_api==0.1.19
12
12
  Requires-Dist: databricks-sdk>=0.41.0
13
13
  Requires-Dist: pydantic>=2
14
14
  Requires-Dist: typing_extensions>=4.10.0
@@ -1,4 +1,4 @@
1
- dasl_api==0.1.17
1
+ dasl_api==0.1.19
2
2
  databricks-sdk>=0.41.0
3
3
  pydantic>=2
4
4
  typing_extensions>=4.10.0
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "dasl_client"
7
- version = "1.0.16"
7
+ version = "1.0.18"
8
8
  description = "The DASL client library used for interacting with the DASL workspace"
9
9
  readme = "README.md"
10
10
  authors = [
@@ -13,7 +13,7 @@ authors = [
13
13
  requires-python = ">=3.8"
14
14
 
15
15
  dependencies = [
16
- "dasl_api==0.1.17",
16
+ "dasl_api==0.1.19",
17
17
  "databricks-sdk>=0.41.0",
18
18
  "pydantic>=2",
19
19
  "typing_extensions>=4.10.0",
File without changes
File without changes
File without changes
File without changes