Skip to content

Commit ee807a4

Browse files
authored
fix(types): support typing if storage= is not passed (#604)
1 parent 7e67bf4 commit ee807a4

File tree

1 file changed

+2
-2
lines changed
  • src/boost_histogram/_internal

1 file changed

+2
-2
lines changed

src/boost_histogram/_internal/hist.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -150,8 +150,8 @@ def __init__(self, *args: CppHistogram, metadata: Any = ...) -> None:
150150
def __init__(
151151
self,
152152
*axes: Union[Axis, CppAxis],
153-
storage: Storage,
154-
metadata: Any = None,
153+
storage: Storage = ...,
154+
metadata: Any = ...,
155155
) -> None:
156156
...
157157

0 commit comments

Comments
 (0)