tethysplatform / tethys

The Tethys Platform main Django website project repository.
http://tethysplatform.org/
BSD 2-Clause "Simplified" License
94 stars 51 forks source link

Fix Dask scheduler Client import error #1063

Closed mattw-nws closed 4 months ago

mattw-nws commented 5 months ago

Description

Introduced in #967, f863b48, tethys_compute/models/dask/dask_scheduler.py , the changed code has lowercase client instead of Client, which imports the module instead of the class, resulting in a TypeError: 'module' object is not callable error.

Changes Made to Code:

Related

Additional Notes

Quality Checks

coveralls commented 4 months ago

Coverage Status

coverage: 100.0%. remained the same when pulling c3f534994604a1cdae332cf0e803d7c5bc4746b3 on mattw-nws:bug-dask-scheduler-module-not-callable into 8680dcfc8595c30bf4e47be110d7f0fb5d1b9f60 on tethysplatform:main.