Skip to content

DOC: pass right arguments to Lock - #962

Merged
snowman2 merged 1 commit into
vylor:masterfrom
pjonsson:docs-fix-lock-args
Nov 19, 2026
Merged

snowman2 merged 1 commit into
vylor:masterfrom
pjonsson:docs-fix-lock-args

Conversation

@pjonsson

@pjonsson pjonsson commented Nov 18, 2026 •

Copy link
Copy Markdown
Contributor

There is no client argument
for dask.distributed.Lock(),
so remove the argument.

Calling Lock with the client
parameter results in raising
a TypeError about init
getting an unexpected keyword
argument.

  • Fully documented, including docs/history.rst for all changes and docs/rioxarray.rst for new API

Comment thread docs/examples/dask_read_write.ipynb Resolved
There is no client argument
for dask.distributed.Lock(),
so remove the argument.

Calling Lock with the client
parameter results in raising
a TypeError about __init__
getting an unexpected keyword
argument.
@pjonsson pjonsson changed the title DOC: use right kind of lock DOC: pass right arguments to Lock Nov 19, 2026
@snowman2 snowman2 added the documentation Documentation related issue label Nov 19, 2026
@snowman2
snowman2 merged commit ef4508f into vylor:master Nov 19, 2026
@snowman2

Copy link
Copy Markdown
Member

Thanks @pjonsson 👍

@pjonsson
pjonsson deleted the docs-fix-lock-args branch November 19, 2026 19:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Documentation related issue

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants