domino-py-iisas 1.0.30__py3-none-any.whl → 1.0.32__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.
domino/VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.30
1
+ 1.0.32
@@ -174,8 +174,12 @@ class DominoKubernetesPodOperator(KubernetesPodOperator):
174
174
  We override this method to add the shared storage to the pod.
175
175
  This function runs after our own self.execute, by super().execute()
176
176
  """
177
+ self.logger.info("CONTEXT:")
178
+ self.logger.info(context)
179
+ self.task_id_replaced = self.task_id.lower().replace("_", "-") # doing this because airflow doesn't allow underscores and upper case in mount names and max len is 63 and also the name of the pod can't contains underscores and capital letters
180
+ self.logger.info("NEW CONTEXT:")
181
+ self.logger.info(context)
177
182
  pod = super().build_pod_request_obj(context)
178
- self.task_id_replaced = self.task_id.lower().replace("_", "-") # doing this because airflow doesn't allow underscores and upper case in mount names and max len is 63
179
183
  self.shared_storage_base_mount_path = '/home/shared_storage'
180
184
 
181
185
  self.logger.info("self.workflow_shared_storage:")
@@ -225,6 +229,8 @@ class DominoKubernetesPodOperator(KubernetesPodOperator):
225
229
  read_only=True,
226
230
  )
227
231
  )
232
+ self.logger.info("pod_cp.spec.containers:")
233
+ self.logger.info(pod_cp.spec.containers)
228
234
  return pod_cp
229
235
 
230
236
  def _validate_storage_piece_secrets(self, storage_piece_secrets: Dict[str, Any]):
@@ -501,7 +507,7 @@ class DominoKubernetesPodOperator(KubernetesPodOperator):
501
507
  Code from here onward is executed by the Worker and not by the Scheduler.
502
508
  """
503
509
  # TODO change url based on platform configuration
504
- self.logger.info("PARAMS")
510
+ self.logger.info("PARAMS:")
505
511
  self.logger.info(context["params"])
506
512
  self.domino_client = DominoBackendRestClient(base_url="http://domino-rest-service:8000/")
507
513
  #self.domino_client = DominoBackendRestClient(base_url="http://localhost:8080/")
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: domino-py-iisas
3
- Version: 1.0.30
3
+ Version: 1.0.32
4
4
  Summary: Fork of the original Python package for Domino.
5
5
  Author-email: Stefan Dlugolinsky <stefan.dlugolinsky@savba.sk>, Luiz Tauffer <luiz@taufferconsulting.com>, Vinicius Vaz <vinicius@taufferconsulting.com>
6
6
  License:
@@ -1,4 +1,4 @@
1
- domino/VERSION,sha256=QAZHb_Id5Otc86FJcmvfHx0FuCDL6qSBgAvPoaLGepI,7
1
+ domino/VERSION,sha256=ZY5C44FZCB568RHmGEhNpur5NxGXyaNZ_d9dLwCWRO8,7
2
2
  domino/__init__.py,sha256=I3dmIBqKnlYjo-VFCDdA_7YUqsNT-i9QtQqXnV9pW4U,233
3
3
  domino/base_piece.py,sha256=LZE08XqU63Zq_W7G9DuFk8ZEjKNhgSE7pumXBctW9BE,17610
4
4
  domino/logger.py,sha256=08Km3_NmgYH3HrxJjZJWGSmOv7dE5E5xvo9_ZnKut_o,889
@@ -22,7 +22,7 @@ domino/client/legacy/fs_client.py,sha256=x5Mpc3hECJSXCNMSPTJMJ47k730MYouU6GAZIsV
22
22
  domino/client/legacy/s3_client.py,sha256=N9aueHdpIsIGNvhv6ONSdGGRB4Jlnb5SC7AaxVLlfDs,2739
23
23
  domino/custom_operators/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
24
24
  domino/custom_operators/docker_operator.py,sha256=CaKG6Zk3ReLzWAA8CNkcZa-rx4uRGCqflXzvkkPr8WU,8925
25
- domino/custom_operators/k8s_operator.py,sha256=rRGRuF7l8pypWqIllkZ3l6Cyzcf4PfjROUUYekZAPqk,27346
25
+ domino/custom_operators/k8s_operator.py,sha256=NK5UBtebRC0Qm10UPBE1hCrAdPRMk6KOriVBdedIhFA,27670
26
26
  domino/custom_operators/python_operator.py,sha256=Dc5ltIliFBk6kPcaEROvuMZ0Cb3oG8tVK7WGa0yx7m8,3484
27
27
  domino/custom_operators/worker_operator.py,sha256=aEd45nqdsUbmIzlJinBwOcTxF8MgjtaRgRXaANmKdbU,1335
28
28
  domino/custom_operators/deprecated/base_operator.py,sha256=1IrwZcESeZFyqDTnu0DkgdCdlG03Do9SaSy4AmingfY,2001
@@ -63,9 +63,9 @@ domino/utils/__init__.py,sha256=7CET-zz6y1EBuBJQLgF3rXNhKOSj32Z3X_3mKUAirII,231
63
63
  domino/utils/metadata_default.py,sha256=4tbmWoVuoRMxd2c2vkwKYLkTTDf1I0OooXB_P5DGWXM,455
64
64
  domino/utils/piece_generator.py,sha256=Yww5PwH-EDLqNrnWAinCgpG5-uQSVi_3UbMw4HZCE-E,514
65
65
  domino/utils/workflow_shared_storage.py,sha256=USt_Q6nRGrtbcgrWHjtEvBDMSGSDd3BwUrZVe0RItH0,272
66
- domino_py_iisas-1.0.30.dist-info/licenses/LICENSE,sha256=ZOzivsSTOmVUr23IVL-IMv2nDRhWBp4hVxwYTNe4fBc,11353
67
- domino_py_iisas-1.0.30.dist-info/METADATA,sha256=KDSHaJ6U2ZHHqym7tF2UJV2C3tf2BQ229c9BINXZJ1I,17096
68
- domino_py_iisas-1.0.30.dist-info/WHEEL,sha256=wUyA8OaulRlbfwMtmQsvNngGrxQHAvkKcvRmdizlJi0,92
69
- domino_py_iisas-1.0.30.dist-info/entry_points.txt,sha256=EBX10akoWncqaYPjad7nTNFpge2bbooLSZJGPT-Ivzk,46
70
- domino_py_iisas-1.0.30.dist-info/top_level.txt,sha256=Mo0jr96Ke1GnB5Qa_U9nSu_7yRSWsu5dvPJk8RFiwRw,7
71
- domino_py_iisas-1.0.30.dist-info/RECORD,,
66
+ domino_py_iisas-1.0.32.dist-info/licenses/LICENSE,sha256=ZOzivsSTOmVUr23IVL-IMv2nDRhWBp4hVxwYTNe4fBc,11353
67
+ domino_py_iisas-1.0.32.dist-info/METADATA,sha256=jwZI5LkHiOtNgbD8MrzQuTLl7v3-sx4Y49VryUEzUKA,17096
68
+ domino_py_iisas-1.0.32.dist-info/WHEEL,sha256=wUyA8OaulRlbfwMtmQsvNngGrxQHAvkKcvRmdizlJi0,92
69
+ domino_py_iisas-1.0.32.dist-info/entry_points.txt,sha256=EBX10akoWncqaYPjad7nTNFpge2bbooLSZJGPT-Ivzk,46
70
+ domino_py_iisas-1.0.32.dist-info/top_level.txt,sha256=Mo0jr96Ke1GnB5Qa_U9nSu_7yRSWsu5dvPJk8RFiwRw,7
71
+ domino_py_iisas-1.0.32.dist-info/RECORD,,