Skip to content

Deprecate token keyword argument to map_blocks#8464

Merged
jrbourbeau merged 1 commit intodask:mainfrom
jrbourbeau:deprecate-map-blocks-token
Dec 8, 2021
Merged

Deprecate token keyword argument to map_blocks#8464
jrbourbeau merged 1 commit intodask:mainfrom
jrbourbeau:deprecate-map-blocks-token

Conversation

@jrbourbeau
Copy link
Member

In #3597 we replaced the token= keyword argument to map_blocks with a name= keyword and pointed users who were using token to name instead. This PR proposes we explicitly deprecate token by emitting a FutureWarning and mentioning that token= will be removed in the future.

@github-actions github-actions bot added the array label Dec 7, 2021
@jrbourbeau jrbourbeau mentioned this pull request Dec 7, 2021
@quasiben
Copy link
Member

quasiben commented Dec 8, 2021

rerun tests

@jrbourbeau
Copy link
Member Author

As this is a relatively minor, (probably) noncontroversial change I'm planning to merge later today if no further comments

@jrbourbeau jrbourbeau merged commit ecddc8d into dask:main Dec 8, 2021
@jrbourbeau jrbourbeau deleted the deprecate-map-blocks-token branch December 8, 2021 20:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants