Skip to content

Commit

Permalink
the fix
Browse files Browse the repository at this point in the history
  • Loading branch information
sanderegg committed Nov 28, 2023
1 parent 70cab0c commit 22465c1
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ async def _concurently_safe_acquire_client() -> DaskClient:
tasks_file_link_type = (
self.settings.COMPUTATIONAL_BACKEND_DEFAULT_CLUSTER_FILE_LINK_TYPE
)
if cluster.type is ClusterTypeInModel.ON_DEMAND:
if cluster.type == ClusterTypeInModel.ON_DEMAND.value:
tasks_file_link_type = (
self.settings.COMPUTATIONAL_BACKEND_ON_DEMAND_CLUSTERS_FILE_LINK_TYPE
)
Expand Down

0 comments on commit 22465c1

Please sign in to comment.