Skip to content

Commit

Permalink
[dagster-dask] Make dagster-dask support 2024.3.0 (#20428)
Browse files Browse the repository at this point in the history
## Summary & Motivation

`dask==2024.3.0` was just released and broke one of our tests, this
fixes it by changing a `map()` to a list comprehension (`map` returns an
iterator).

## How I Tested These Changes

Existing test suite.
  • Loading branch information
smackesey authored Mar 12, 2024
1 parent e556a8a commit 881e388
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ def normalize(name):
name = camel_to_snake1.sub(r"\1_\2", name)
return camel_to_snake2.sub(r"\1_\2", name).lower()

return map(normalize, names)
return [normalize(n) for n in names]


DataFrameUtilities = {
Expand Down

0 comments on commit 881e388

Please sign in to comment.