airflow-unicore-integration 0.1.1__py3-none-any.whl → 0.1.2__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.
@@ -52,7 +52,9 @@ class NaiveJobDescriptionGenerator(JobDescriptionGenerator):
52
52
  # local_dag_path = conf.get("core", "DAGS_FOLDER") + "/" + dag_rel_path
53
53
  base_url = conf.get("api", "base_url", fallback="/")
54
54
  default_execution_api_server = f"{base_url.rstrip('/')}/execution/"
55
- server = conf.get("core", "execution_api_server_url", fallback=default_execution_api_server)
55
+ server = conf.get(
56
+ "unicore.executor", "execution_api_server_url", fallback=default_execution_api_server
57
+ )
56
58
 
57
59
  # check which python virtualenv to use
58
60
  if user_defined_python_env:
@@ -65,7 +67,7 @@ class NaiveJobDescriptionGenerator(JobDescriptionGenerator):
65
67
  # dag_import = {"To": dag_rel_path, "Data": dag_content}
66
68
  worker_script_import = {
67
69
  "To": "run_task_via_supervisor.py",
68
- "From": "https://gist.githubusercontent.com/cboettcher/3f1101a1d1b67e7944d17c02ecd69930/raw/6da9ec16ba598ddda9cf288900498fab5e226788/run_task_via_supervisor.py",
70
+ "From": "https://gist.githubusercontent.com/cboettcher/3f1101a1d1b67e7944d17c02ecd69930/raw/1d90bf38199d8c0adf47a79c8840c3e3ddf57462/run_task_via_supervisor.py",
69
71
  }
70
72
  # start filling the actual job description
71
73
  job_descr_dict["Name"] = f"{key.dag_id} - {key.task_id} - {key.run_id} - {key.try_number}"
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: airflow-unicore-integration
3
- Version: 0.1.1
3
+ Version: 0.1.2
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
@@ -7,10 +7,10 @@ airflow_unicore_integration/hooks/unicore_hooks.py,sha256=JjcjogWtN1xveagpkraQuY
7
7
  airflow_unicore_integration/operators/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
8
8
  airflow_unicore_integration/operators/unicore_operators.py,sha256=xYX1t_QzjpqHZDoEu6jJNNXVmBEnjIlApFWvgYoYoB0,16790
9
9
  airflow_unicore_integration/policies/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
10
- airflow_unicore_integration/util/job.py,sha256=oUJ2b3k-iUACdSc0wvcsotilbtrnj8p7P5e8ufCTaKE,5864
11
- airflow_unicore_integration-0.1.1.dist-info/licenses/LICENSE,sha256=hZ5ouAedeNr8ClHrQE-RLsgMsARcmv3kSZz7tE2BTJE,1526
12
- airflow_unicore_integration-0.1.1.dist-info/METADATA,sha256=nuDOxBNvJDx3q4uw97QSFThvEN20ON2y2IMPoZccksU,11188
13
- airflow_unicore_integration-0.1.1.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
14
- airflow_unicore_integration-0.1.1.dist-info/entry_points.txt,sha256=PzEfCLYLSawjiYR-HNBzw8-YGfJxs1nPBULevgBQjoY,147
15
- airflow_unicore_integration-0.1.1.dist-info/top_level.txt,sha256=j45X-uIuOk3oL78iwlpHakMWtUkg__B7zUlJLwmZx6w,28
16
- airflow_unicore_integration-0.1.1.dist-info/RECORD,,
10
+ airflow_unicore_integration/util/job.py,sha256=wN3dR0UEvyv2pP8728POjy1P-w4MZgONgDGBctANjkA,5898
11
+ airflow_unicore_integration-0.1.2.dist-info/licenses/LICENSE,sha256=hZ5ouAedeNr8ClHrQE-RLsgMsARcmv3kSZz7tE2BTJE,1526
12
+ airflow_unicore_integration-0.1.2.dist-info/METADATA,sha256=9iZu8Ql-V311LdbHrUNBDaoD7PSYBMnAJvca0zU2Gbs,11188
13
+ airflow_unicore_integration-0.1.2.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
14
+ airflow_unicore_integration-0.1.2.dist-info/entry_points.txt,sha256=PzEfCLYLSawjiYR-HNBzw8-YGfJxs1nPBULevgBQjoY,147
15
+ airflow_unicore_integration-0.1.2.dist-info/top_level.txt,sha256=j45X-uIuOk3oL78iwlpHakMWtUkg__B7zUlJLwmZx6w,28
16
+ airflow_unicore_integration-0.1.2.dist-info/RECORD,,