Skip to content

Commit 018cc7c

Browse files
Add blosc2.CTable to __setitem__ type annotation
Agent-Logs-Url: https://github.com/Blosc/python-blosc2/sessions/83225dd5-9d5c-4ca4-ba33-6ab4021b552f Co-authored-by: FrancescAlted <314521+FrancescAlted@users.noreply.github.com>
1 parent 1d51b24 commit 018cc7c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/blosc2/tree_store.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -382,7 +382,7 @@ def _validate_key(self, key: str) -> str:
382382
return key
383383

384384
def __setitem__(
385-
self, key: str, value: blosc2.Array | SChunk | blosc2.ObjectArray | blosc2.BatchArray
385+
self, key: str, value: blosc2.Array | SChunk | blosc2.ObjectArray | blosc2.BatchArray | blosc2.CTable
386386
) -> None:
387387
"""Add a node with hierarchical key validation.
388388

0 commit comments

Comments
 (0)