airflow-unicore-integration 0.3.1__py3-none-any.whl → 0.3.3__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.
@@ -13,7 +13,9 @@ class UnicoreContainerOperator(UnicoreGenericOperator):
13
13
  application_version="1.0",
14
14
  **kwargs,
15
15
  )
16
- self.params["COMMAND"] = command
17
- self.params["IMAGE_URL"] = docker_image_url
16
+ if not self.parameters:
17
+ self.parameters = {}
18
+ self.parameters["COMMAND"] = command
19
+ self.parameters["IMAGE_URL"] = docker_image_url
18
20
  if options is not None:
19
- self.params["OPTIONS"] = options
21
+ self.parameters["OPTIONS"] = options
@@ -218,7 +218,7 @@ class UnicoreGenericOperator(BaseOperator):
218
218
  )
219
219
 
220
220
  if self.uc_resources is not None:
221
- job_description_dict["Resources"] = self.resources
221
+ job_description_dict["Resources"] = self.uc_resources
222
222
 
223
223
  if self.project is not None:
224
224
  job_description_dict["Project"] = self.project
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: airflow-unicore-integration
3
- Version: 0.3.1
3
+ Version: 0.3.3
4
4
  Summary: Running Unicore Jobs from airflow DAGs.
5
5
  Author-email: Christian Böttcher <c.boettcher@fz-juelich.de>
6
6
  License-Expression: BSD-3-Clause
@@ -5,14 +5,14 @@ airflow_unicore_integration/executors/unicore_executor.py,sha256=zXl9mqNyvRdNm_t
5
5
  airflow_unicore_integration/hooks/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
6
6
  airflow_unicore_integration/hooks/unicore_hooks.py,sha256=ot9j8sG--_eTmmfoY5TpJj8BPo8nfYvjOSmqHyyQhBM,3383
7
7
  airflow_unicore_integration/operators/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
8
- airflow_unicore_integration/operators/container.py,sha256=_kIBN2JYoI2KKu94MvsGZaP4sVzKbzLwwsTG3-epEbg,614
9
- airflow_unicore_integration/operators/unicore_operators.py,sha256=VpvCWU5OxSCwGU2CklXvBAN4Q6NSeWqtc6eR0Gj_3Dk,16880
8
+ airflow_unicore_integration/operators/container.py,sha256=-eKJxfJoC6gp5nnU0uZN9IqRLWeX2MaIWCAMgmApXGU,691
9
+ airflow_unicore_integration/operators/unicore_operators.py,sha256=3ZqPlRo1euKHpcySjve9cmdQ0ccqaxrGR9_nWxf-tY8,16883
10
10
  airflow_unicore_integration/policies/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
11
11
  airflow_unicore_integration/util/job.py,sha256=GcRVQkmuyLWUhfIGrIZFAdY4DyPTy2mB1mlmVdJ7TgM,11188
12
12
  airflow_unicore_integration/util/launch_script_content.py,sha256=42_aFpaCMmvFmmUxQDGcudkleX1YSK_yYWE8T41NOy0,2915
13
- airflow_unicore_integration-0.3.1.dist-info/licenses/LICENSE,sha256=hZ5ouAedeNr8ClHrQE-RLsgMsARcmv3kSZz7tE2BTJE,1526
14
- airflow_unicore_integration-0.3.1.dist-info/METADATA,sha256=HCNwVprVhzFT8-YXbu5OJIgVN5jds4xoqEKy1PoAqlg,13696
15
- airflow_unicore_integration-0.3.1.dist-info/WHEEL,sha256=wUyA8OaulRlbfwMtmQsvNngGrxQHAvkKcvRmdizlJi0,92
16
- airflow_unicore_integration-0.3.1.dist-info/entry_points.txt,sha256=PzEfCLYLSawjiYR-HNBzw8-YGfJxs1nPBULevgBQjoY,147
17
- airflow_unicore_integration-0.3.1.dist-info/top_level.txt,sha256=j45X-uIuOk3oL78iwlpHakMWtUkg__B7zUlJLwmZx6w,28
18
- airflow_unicore_integration-0.3.1.dist-info/RECORD,,
13
+ airflow_unicore_integration-0.3.3.dist-info/licenses/LICENSE,sha256=hZ5ouAedeNr8ClHrQE-RLsgMsARcmv3kSZz7tE2BTJE,1526
14
+ airflow_unicore_integration-0.3.3.dist-info/METADATA,sha256=TF0yoB1tD4argJWDXWGwPrRinI7yF7LOEiNxl20sNkg,13696
15
+ airflow_unicore_integration-0.3.3.dist-info/WHEEL,sha256=wUyA8OaulRlbfwMtmQsvNngGrxQHAvkKcvRmdizlJi0,92
16
+ airflow_unicore_integration-0.3.3.dist-info/entry_points.txt,sha256=PzEfCLYLSawjiYR-HNBzw8-YGfJxs1nPBULevgBQjoY,147
17
+ airflow_unicore_integration-0.3.3.dist-info/top_level.txt,sha256=j45X-uIuOk3oL78iwlpHakMWtUkg__B7zUlJLwmZx6w,28
18
+ airflow_unicore_integration-0.3.3.dist-info/RECORD,,