cornflow 2.0.0a15__py3-none-any.whl → 2.0.0a17__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
@@ -145,6 +145,8 @@ def _setup_environment_variables():
145
145
  databricks_token_endpoint = os.getenv("DATABRICKS_TOKEN_ENDPOINT")
146
146
  databricks_ep_clusters = os.getenv("DATABRICKS_EP_CLUSTERS")
147
147
  databricks_client_id = os.getenv("DATABRICKS_CLIENT_ID")
148
+ databricks_health_url = os.getenv("DATABRICKS_HEALTH_URL")
149
+ os.environ["DATABRICKS_HEALTH_URL"] = databricks_health_url
148
150
  os.environ["DATABRICKS_HOST"] = databricks_url
149
151
  os.environ["DATABRICKS_CLIENT_SECRET"] = databricks_auth_secret
150
152
  os.environ["DATABRICKS_TOKEN_ENDPOINT"] = databricks_token_endpoint
@@ -218,6 +220,7 @@ def _setup_environment_variables():
218
220
  "open_deployment": open_deployment,
219
221
  "external_application": external_application,
220
222
  "external_app_module": external_app_module,
223
+ "cornflow_backend": cornflow_backend,
221
224
  }
222
225
  elif cornflow_backend == DATABRICKS_BACKEND:
223
226
  return {
@@ -228,6 +231,7 @@ def _setup_environment_variables():
228
231
  "databricks_token_endpoint": databricks_token_endpoint,
229
232
  "databricks_ep_clusters": databricks_ep_clusters,
230
233
  "databricks_client_id": databricks_client_id,
234
+ "databricks_health_url": databricks_health_url,
231
235
  "cornflow_db_conn": cornflow_db_conn,
232
236
  "cornflow_admin_user": cornflow_admin_user,
233
237
  "cornflow_admin_email": cornflow_admin_email,
@@ -239,6 +243,7 @@ def _setup_environment_variables():
239
243
  "open_deployment": open_deployment,
240
244
  "external_application": external_application,
241
245
  "external_app_module": external_app_module,
246
+ "cornflow_backend": cornflow_backend,
242
247
  }
243
248
  else:
244
249
  raise Exception("Selected backend not among valid options")
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: cornflow
3
- Version: 2.0.0a15
3
+ Version: 2.0.0a17
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.0a15
17
+ Requires-Dist: cornflow-client==2.0.0a17
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=U_7GNMPe-uzcgjubavJVRc_yxuZw5mK_WfzIJ9zCzJM,15052
20
+ cornflow/cli/service.py,sha256=9Woe7P5Sx52Ge-8WqQP71COgp_Onfgq1LF5boa3et44,15347
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.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,,
176
+ cornflow-2.0.0a17.dist-info/METADATA,sha256=rPTmYJZ6XGzd-W9XtNkrY_HNYso7_F-zevJMEZV1Wk4,9571
177
+ cornflow-2.0.0a17.dist-info/WHEEL,sha256=0CuiUZ_p9E4cD6NyLD6UG80LBXYyiSYZOKDm5lp32xk,91
178
+ cornflow-2.0.0a17.dist-info/entry_points.txt,sha256=q9cPKAFBsmHkERCqQ2JcOTM-tVBLHTl-DGxwCXowAWM,46
179
+ cornflow-2.0.0a17.dist-info/top_level.txt,sha256=Qj9kLFJW1PLb-ZV2s_aCkQ-Wi5W6KC6fFR-LTBrx-rU,24
180
+ cornflow-2.0.0a17.dist-info/RECORD,,