Skip to content

Commit

Permalink
improve type checking for mypy
Browse files Browse the repository at this point in the history
  • Loading branch information
pattonw committed Dec 13, 2024
1 parent 777b9aa commit 6677dda
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions funlib/persistence/arrays/array.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import logging
from functools import reduce
from typing import Optional, Sequence, Union
from typing import Optional, Sequence, Union, Any

import dask.array as da
import numpy as np
Expand Down Expand Up @@ -86,7 +86,7 @@ def __init__(

# used for custom metadata unrelated to indexing with physical units
# only used if not reading from zarr and there is no built in `.attrs`
self._attrs = {}
self._attrs: dict[str, Any] = {}

if lazy_op is not None:
self.apply_lazy_ops(lazy_op)
Expand Down

0 comments on commit 6677dda

Please sign in to comment.