dasl-client 1.0.17__py3-none-any.whl → 1.0.19__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.
- dasl_client/client.py +2 -2
- dasl_client/types/content.py +0 -2
- {dasl_client-1.0.17.dist-info → dasl_client-1.0.19.dist-info}/METADATA +2 -2
- {dasl_client-1.0.17.dist-info → dasl_client-1.0.19.dist-info}/RECORD +8 -8
- test/test_api_surface.py +5 -2
- {dasl_client-1.0.17.dist-info → dasl_client-1.0.19.dist-info}/LICENSE +0 -0
- {dasl_client-1.0.17.dist-info → dasl_client-1.0.19.dist-info}/WHEEL +0 -0
- {dasl_client-1.0.17.dist-info → dasl_client-1.0.19.dist-info}/top_level.txt +0 -0
dasl_client/client.py
CHANGED
|
@@ -704,10 +704,10 @@ class Client:
|
|
|
704
704
|
)
|
|
705
705
|
)
|
|
706
706
|
|
|
707
|
-
def purge_preset_cache(self)-> None:
|
|
707
|
+
def purge_preset_cache(self) -> None:
|
|
708
708
|
"""
|
|
709
709
|
Purge the datasource cache presets. This will cause the DASL workspace
|
|
710
710
|
to fetch presets from provided sources.
|
|
711
711
|
"""
|
|
712
712
|
with error_handler():
|
|
713
|
-
self._content_client().content_v1_preset_purge_cache(self._workspace())
|
|
713
|
+
self._content_client().content_v1_preset_purge_cache(self._workspace())
|
dasl_client/types/content.py
CHANGED
|
@@ -107,7 +107,6 @@ class GoldPreset(BaseModel):
|
|
|
107
107
|
filter: Optional[str] = None
|
|
108
108
|
post_filter: Optional[str] = None
|
|
109
109
|
fields: Optional[List[Optional[FieldSpec]]] = None
|
|
110
|
-
utils: Optional[FieldUtils] = None
|
|
111
110
|
|
|
112
111
|
@staticmethod
|
|
113
112
|
def from_api_obj(
|
|
@@ -126,7 +125,6 @@ class GoldPreset(BaseModel):
|
|
|
126
125
|
filter=obj.filter,
|
|
127
126
|
post_filter=obj.post_filter,
|
|
128
127
|
fields=fields,
|
|
129
|
-
utils=FieldUtils.from_api_obj(obj.utils),
|
|
130
128
|
)
|
|
131
129
|
|
|
132
130
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: dasl_client
|
|
3
|
-
Version: 1.0.
|
|
3
|
+
Version: 1.0.19
|
|
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.
|
|
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,5 +1,5 @@
|
|
|
1
1
|
dasl_client/__init__.py,sha256=E6gOgO8qg96Y38JKA-4LyNBvc2ytQPEfhdniYsCWBxA,127
|
|
2
|
-
dasl_client/client.py,sha256=
|
|
2
|
+
dasl_client/client.py,sha256=yNXomAWzvMWdbKuomVsTh_VSx9WwZiXVJ3Mq8bbpqew,27821
|
|
3
3
|
dasl_client/helpers.py,sha256=L7ycxrqyG28glRRGZgsrVBdCJzXYCW7DB0hAvupGMuA,1118
|
|
4
4
|
dasl_client/auth/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
5
5
|
dasl_client/auth/auth.py,sha256=yTeijYYpfJVJ_wYyq0U6kAntg4xz5MzIR37_CpVR57k,7277
|
|
@@ -15,7 +15,7 @@ dasl_client/preset_development/preview_parameters.py,sha256=YjSJ00mEUcqF5KkJEPW6
|
|
|
15
15
|
dasl_client/preset_development/stage.py,sha256=b4AE7aOocVG1WLKJLb69efNn1qwHulophBa_i58wMog,23089
|
|
16
16
|
dasl_client/types/__init__.py,sha256=GsXC3eWuv21VTLPLPH9pzM95JByaKnKrPjJkh2rlZfQ,170
|
|
17
17
|
dasl_client/types/admin_config.py,sha256=Kmx3Kuai9_LWMeO2NpWasRUgLihYSEXGtuYVfG0FkjU,2200
|
|
18
|
-
dasl_client/types/content.py,sha256=
|
|
18
|
+
dasl_client/types/content.py,sha256=HegSq2i7w78CH4kq4XwDyeaB8LuZWWwFZkg0tYTY8d0,7349
|
|
19
19
|
dasl_client/types/datasource.py,sha256=-ABmBh5yZwHeY-PKQMnNCNa9FSzod5n1O817m8ZCL6o,52519
|
|
20
20
|
dasl_client/types/dbui.py,sha256=VYRcxwVgoAfcuY7IlPdgfQ-R21Xmz-QWa3DdJgXIHM4,16413
|
|
21
21
|
dasl_client/types/helpers.py,sha256=gLGTvrssAKrdkQT9h80twEosld2egwhvj-zAudxWFPs,109
|
|
@@ -26,11 +26,11 @@ test/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
|
26
26
|
test/conftest.py,sha256=ZfNULJxVQ609GHxw9UsreTcbQMl3gbcTP_DKT1oySwQ,440
|
|
27
27
|
test/constants.py,sha256=ed3xiemWDJVBlHDwn-iQToCbcaXD3AN-5r8HkURCqBs,438
|
|
28
28
|
test/test_api_changes.py,sha256=-SjOG5wKPD_cpTukkfNkALebph06_yxBYsqxtQVnedc,3466
|
|
29
|
-
test/test_api_surface.py,sha256=
|
|
29
|
+
test/test_api_surface.py,sha256=Z_1f9yJRmXuuzf98Az6QtH0gNdFrY2o2V5-WSaLzfUY,10794
|
|
30
30
|
test/test_databricks_secret_auth.py,sha256=P1seBBHOLcCzJPLdRZlJZxeG62GUFKFbjsY8c7gTT_8,3613
|
|
31
31
|
test/test_marshaling.py,sha256=WrouTCgcye_ytVOBMMseeEvUGZjbwibPJmEvGSK2LL4,37928
|
|
32
|
-
dasl_client-1.0.
|
|
33
|
-
dasl_client-1.0.
|
|
34
|
-
dasl_client-1.0.
|
|
35
|
-
dasl_client-1.0.
|
|
36
|
-
dasl_client-1.0.
|
|
32
|
+
dasl_client-1.0.19.dist-info/LICENSE,sha256=M35UepUPyKmFkvENlkweeaMElheQqNoM5Emh8ADO-rs,4
|
|
33
|
+
dasl_client-1.0.19.dist-info/METADATA,sha256=AKnWnuhsUWraHsiIJlClOra_2G4_TTKO-6cC-HO0tbs,741
|
|
34
|
+
dasl_client-1.0.19.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
|
|
35
|
+
dasl_client-1.0.19.dist-info/top_level.txt,sha256=943P5S_qILHKZYxAvxPUeqOzM2yV18d5SBVKxzPw2OE,17
|
|
36
|
+
dasl_client-1.0.19.dist-info/RECORD,,
|
test/test_api_surface.py
CHANGED
|
@@ -81,6 +81,7 @@ def test_workspace_config(api_client):
|
|
|
81
81
|
def test_minimal_data_source(api_client):
|
|
82
82
|
base_data_source = DataSource(
|
|
83
83
|
source="test",
|
|
84
|
+
source_type="test",
|
|
84
85
|
schedule=Schedule(
|
|
85
86
|
at_least_every="2h",
|
|
86
87
|
enabled=True,
|
|
@@ -89,8 +90,10 @@ def test_minimal_data_source(api_client):
|
|
|
89
90
|
bronze_table="test_bronze_table",
|
|
90
91
|
skip_bronze_loading=False,
|
|
91
92
|
),
|
|
92
|
-
|
|
93
|
-
|
|
93
|
+
autoloader=DataSource.Autoloader(
|
|
94
|
+
location="s3://aws-security-data-lake-us-east-1-k8vskbicklrtekgxvyufaavf36jjql/aws/S3_DATA/2.0/region=us-east-1/",
|
|
95
|
+
format="json",
|
|
96
|
+
),
|
|
94
97
|
)
|
|
95
98
|
|
|
96
99
|
base_ds_1 = api_client.create_datasource("test_1", base_data_source)
|
|
File without changes
|
|
File without changes
|
|
File without changes
|