Skip to content

Commit

Permalink
Fix type signature for tensor names (#1443)
Browse files Browse the repository at this point in the history
* Fix type signature for tensor names

* Use Optional instead of |
  • Loading branch information
jleibs authored and emilk committed Mar 2, 2023
1 parent 89e09e1 commit 0422c25
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rerun_py/rerun_sdk/rerun/log/tensor.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ def log_tensor(
entity_path: str,
tensor: npt.ArrayLike,
*,
names: Optional[Iterable[str]] = None,
names: Optional[Iterable[Optional[str]]] = None,
meter: Optional[float] = None,
ext: Optional[Dict[str, Any]] = None,
timeless: bool = False,
Expand Down

0 comments on commit 0422c25

Please sign in to comment.