cornflow 2.0.0a14__py3-none-any.whl → 2.0.0a15__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.
cornflow/cli/service.py CHANGED
@@ -72,6 +72,7 @@ def init_cornflow_service():
72
72
  config["cornflow_service_email"],
73
73
  config["cornflow_service_pwd"],
74
74
  )
75
+ if config["cornflow_backend"] == AIRFLOW_BACKEND:
75
76
  _sync_with_airflow(
76
77
  config["airflow_url"],
77
78
  config["airflow_user"],
@@ -103,13 +104,14 @@ def init_cornflow_service():
103
104
  config["cornflow_service_email"],
104
105
  config["cornflow_service_pwd"],
105
106
  )
106
- _sync_with_airflow(
107
- config["airflow_url"],
108
- config["airflow_user"],
109
- config["airflow_pwd"],
110
- config["open_deployment"],
111
- external_app=True,
112
- )
107
+ if config["cornflow_backend"] == AIRFLOW_BACKEND:
108
+ _sync_with_airflow(
109
+ config["airflow_url"],
110
+ config["airflow_user"],
111
+ config["airflow_pwd"],
112
+ config["open_deployment"],
113
+ external_app=True,
114
+ )
113
115
  _start_application(external_application, environment, external_app_module)
114
116
 
115
117
  else:
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: cornflow
3
- Version: 2.0.0a14
3
+ Version: 2.0.0a15
4
4
  Summary: cornflow is an open source multi-solver optimization server with a REST API built using flask.
5
5
  Home-page: https://github.com/baobabsoluciones/cornflow
6
6
  Author: baobab soluciones
@@ -14,7 +14,7 @@ Requires-Dist: alembic==1.9.2
14
14
  Requires-Dist: apispec<=6.3.0
15
15
  Requires-Dist: cachetools==5.3.3
16
16
  Requires-Dist: click<=8.1.7
17
- Requires-Dist: cornflow-client==2.0.0a14
17
+ Requires-Dist: cornflow-client==2.0.0a15
18
18
  Requires-Dist: cryptography<=44.0.1
19
19
  Requires-Dist: databricks-sdk==0.29.0
20
20
  Requires-Dist: disposable-email-domains>=0.0.86
@@ -17,7 +17,7 @@ cornflow/cli/migrations.py,sha256=nJbmulqwFxuaSPmo9hJiTl1pUSojeXfAdd9aGM_g9ic,24
17
17
  cornflow/cli/permissions.py,sha256=fyIp5M0ZpJWVf_tGZG0DN0Gnk1geruadkdKK11cmRk8,1116
18
18
  cornflow/cli/roles.py,sha256=o7P3yt1g2us2B-vv5R7sXNDgUagPsvPGc7ABL0lCBOQ,521
19
19
  cornflow/cli/schemas.py,sha256=s9IUJWa2G0kpqJaN6PcwbwZtGChTaqq451QqWEyWPBI,6197
20
- cornflow/cli/service.py,sha256=H4-djwBoQ8y5N8zJtMtxqQEuiZXT8u1aLFse4leNnls,14904
20
+ cornflow/cli/service.py,sha256=U_7GNMPe-uzcgjubavJVRc_yxuZw5mK_WfzIJ9zCzJM,15052
21
21
  cornflow/cli/users.py,sha256=VBUqOrS80qdp9E4XLn4ihocHVNWVhWSt19tp0o8mZII,2324
22
22
  cornflow/cli/utils.py,sha256=p54xJEnYWda6rqSQDoZU2qZrFu9kTs4FoF0y3pJLQvI,1377
23
23
  cornflow/cli/views.py,sha256=BjJRIQ5T3C8zl3-pVVkToVjQ6xdAGwnuT9LVEnn_jqM,746
@@ -173,8 +173,8 @@ cornflow/tests/unit/test_tables.py,sha256=SW_K8LRLwR1nB0uH8CPQCjeN8Gei-TasAgkOin
173
173
  cornflow/tests/unit/test_token.py,sha256=PZ11b46UCQpCESsRiAPhpgWkGAsAwKCVNxVQai_kxXM,4199
174
174
  cornflow/tests/unit/test_users.py,sha256=N5tcF5nSncD0F_ZlBxGuS87p6kNS4hUzRLr3_AcnK-o,22802
175
175
  cornflow/tests/unit/tools.py,sha256=5LuIWqQ4dvnnWn1NiOtDJstRmwGIFRFy7GBFOdnqFEU,3752
176
- cornflow-2.0.0a14.dist-info/METADATA,sha256=LUKxEhd3dlX8t-PUSDKCmRLpFcsSaJANQ7U8vIKOopk,9571
177
- cornflow-2.0.0a14.dist-info/WHEEL,sha256=0CuiUZ_p9E4cD6NyLD6UG80LBXYyiSYZOKDm5lp32xk,91
178
- cornflow-2.0.0a14.dist-info/entry_points.txt,sha256=q9cPKAFBsmHkERCqQ2JcOTM-tVBLHTl-DGxwCXowAWM,46
179
- cornflow-2.0.0a14.dist-info/top_level.txt,sha256=Qj9kLFJW1PLb-ZV2s_aCkQ-Wi5W6KC6fFR-LTBrx-rU,24
180
- cornflow-2.0.0a14.dist-info/RECORD,,
176
+ cornflow-2.0.0a15.dist-info/METADATA,sha256=K5Bvb6cJdn_POUMT1VL7mQ-DQSB2whn5smqe3KLUrnI,9571
177
+ cornflow-2.0.0a15.dist-info/WHEEL,sha256=0CuiUZ_p9E4cD6NyLD6UG80LBXYyiSYZOKDm5lp32xk,91
178
+ cornflow-2.0.0a15.dist-info/entry_points.txt,sha256=q9cPKAFBsmHkERCqQ2JcOTM-tVBLHTl-DGxwCXowAWM,46
179
+ cornflow-2.0.0a15.dist-info/top_level.txt,sha256=Qj9kLFJW1PLb-ZV2s_aCkQ-Wi5W6KC6fFR-LTBrx-rU,24
180
+ cornflow-2.0.0a15.dist-info/RECORD,,