dagster-k8s 0.25.2__py3-none-any.whl → 0.25.4__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 dagster-k8s might be problematic. Click here for more details.
- dagster_k8s/client.py +5 -3
- dagster_k8s/version.py +1 -1
- {dagster_k8s-0.25.2.dist-info → dagster_k8s-0.25.4.dist-info}/METADATA +2 -2
- {dagster_k8s-0.25.2.dist-info → dagster_k8s-0.25.4.dist-info}/RECORD +7 -7
- {dagster_k8s-0.25.2.dist-info → dagster_k8s-0.25.4.dist-info}/LICENSE +0 -0
- {dagster_k8s-0.25.2.dist-info → dagster_k8s-0.25.4.dist-info}/WHEEL +0 -0
- {dagster_k8s-0.25.2.dist-info → dagster_k8s-0.25.4.dist-info}/top_level.txt +0 -0
dagster_k8s/client.py
CHANGED
|
@@ -96,7 +96,9 @@ WHITELISTED_TRANSIENT_K8S_STATUS_CODES = [
|
|
|
96
96
|
class PatchedApiClient(ApiClient):
|
|
97
97
|
# Forked from ApiClient implementation to pass configuration object down into created model
|
|
98
98
|
# objects, avoiding lock contention issues. See https://github.com/kubernetes-client/python/issues/2284
|
|
99
|
-
|
|
99
|
+
# Intentionally circumventing private name mangling
|
|
100
|
+
# (https://docs.python.org/3/reference/expressions.html#private-name-mangling) of the __deserialize_model method on ApiClient
|
|
101
|
+
def _ApiClient__deserialize_model(self, data, klass):
|
|
100
102
|
"""Deserializes list or dict to model.
|
|
101
103
|
|
|
102
104
|
:param data: dict, list.
|
|
@@ -115,14 +117,14 @@ class PatchedApiClient(ApiClient):
|
|
|
115
117
|
for attr, attr_type in six.iteritems(klass.openapi_types):
|
|
116
118
|
if klass.attribute_map[attr] in data:
|
|
117
119
|
value = data[klass.attribute_map[attr]]
|
|
118
|
-
kwargs[attr] = self.
|
|
120
|
+
kwargs[attr] = self._ApiClient__deserialize(value, attr_type)
|
|
119
121
|
|
|
120
122
|
instance = klass(**kwargs)
|
|
121
123
|
|
|
122
124
|
if hasattr(instance, "get_real_child_model"):
|
|
123
125
|
klass_name = instance.get_real_child_model(data)
|
|
124
126
|
if klass_name:
|
|
125
|
-
instance = self.
|
|
127
|
+
instance = self._ApiClient__deserialize(data, klass_name)
|
|
126
128
|
return instance
|
|
127
129
|
|
|
128
130
|
|
dagster_k8s/version.py
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
__version__ = "0.25.
|
|
1
|
+
__version__ = "0.25.4"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: dagster-k8s
|
|
3
|
-
Version: 0.25.
|
|
3
|
+
Version: 0.25.4
|
|
4
4
|
Summary: A Dagster integration for k8s
|
|
5
5
|
Home-page: https://github.com/dagster-io/dagster/tree/master/python_modules/libraries/dagster-k8s
|
|
6
6
|
Author: Dagster Labs
|
|
@@ -14,7 +14,7 @@ Classifier: License :: OSI Approved :: Apache Software License
|
|
|
14
14
|
Classifier: Operating System :: OS Independent
|
|
15
15
|
Requires-Python: >=3.9,<3.13
|
|
16
16
|
License-File: LICENSE
|
|
17
|
-
Requires-Dist: dagster ==1.9.
|
|
17
|
+
Requires-Dist: dagster ==1.9.4
|
|
18
18
|
Requires-Dist: kubernetes <32
|
|
19
19
|
Requires-Dist: google-auth !=2.23.1
|
|
20
20
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
dagster_k8s/__init__.py,sha256=7LyrMxxhXKdGQYClq7OJwMiVJW0KYPP-8lTDrWLwyzU,750
|
|
2
|
-
dagster_k8s/client.py,sha256=
|
|
2
|
+
dagster_k8s/client.py,sha256=YA24A2uSmjesCAI3Y40Y8yy3-OcWs5UMvPVd8iyqRM8,39748
|
|
3
3
|
dagster_k8s/container_context.py,sha256=47gts4BKPrlL624rT8MMKOn8kQtY3_f2FI2nmgsDPvU,22637
|
|
4
4
|
dagster_k8s/executor.py,sha256=Py2t7VVHdL542fL5YIQLEPmFWD6f21oG0N-AUTrXfbw,14680
|
|
5
5
|
dagster_k8s/job.py,sha256=-GzUcz80cwF9NwDAv3QdE6GezSSpUzF0kLRkj1oTO34,43046
|
|
@@ -10,11 +10,11 @@ dagster_k8s/pipes.py,sha256=kRHLYJfZi23GJe1_TW3Z3FglEpMrMLT43UV7YpTmKr8,30439
|
|
|
10
10
|
dagster_k8s/py.typed,sha256=la67KBlbjXN-_-DfGNcdOcjYumVpKG_Tkw-8n5dnGB4,8
|
|
11
11
|
dagster_k8s/test.py,sha256=cNtcbzxytiZtd01wY5ip7KPi01y0BUQuQhohoIfAFUM,684
|
|
12
12
|
dagster_k8s/utils.py,sha256=c1bHqh5f1p5RZ0JCT6WEbPPjDvbgUp3pl4nYZRaaI4s,786
|
|
13
|
-
dagster_k8s/version.py,sha256=
|
|
13
|
+
dagster_k8s/version.py,sha256=ecF8WlGgNuYRj3QRbMJQBVjdpKbSFwlW9naM4NJEUOE,23
|
|
14
14
|
dagster_k8s/ops/__init__.py,sha256=ur-9GrE_DRfnsFCpYan03qOY9cWbjagC8KHZFZuiCmc,113
|
|
15
15
|
dagster_k8s/ops/k8s_job_op.py,sha256=uLpQE3ZJbXDiGyyRZydyp-oDQn5XvQuhRcUwd2qiJho,21124
|
|
16
|
-
dagster_k8s-0.25.
|
|
17
|
-
dagster_k8s-0.25.
|
|
18
|
-
dagster_k8s-0.25.
|
|
19
|
-
dagster_k8s-0.25.
|
|
20
|
-
dagster_k8s-0.25.
|
|
16
|
+
dagster_k8s-0.25.4.dist-info/LICENSE,sha256=TMatHW4_G9ldRdodEAp-l2Xa2WvsdeOh60E3v1R2jis,11349
|
|
17
|
+
dagster_k8s-0.25.4.dist-info/METADATA,sha256=XhHZkZ9QMTAMyFPXSf2lGwR3KS6li9B1KLjLWv_AfGA,732
|
|
18
|
+
dagster_k8s-0.25.4.dist-info/WHEEL,sha256=yQN5g4mg4AybRjkgi-9yy4iQEFibGQmlz78Pik5Or-A,92
|
|
19
|
+
dagster_k8s-0.25.4.dist-info/top_level.txt,sha256=wFPjskoWPlk2hOLugYCaoZhSiZdUcbCA1QZe9I4dals,12
|
|
20
|
+
dagster_k8s-0.25.4.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|