Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion src/sequince/array_api.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
from __future__ import annotations

from collections.abc import Callable
from typing import Any

import numpy as _np
Expand All @@ -23,7 +24,7 @@
from ._scipy_compat import enable_scipy_array_api as _enable_scipy_array_api
from .typing import Array

IS_NAMESPACE_FUNCTIONS = {
IS_NAMESPACE_FUNCTIONS: dict[str, Callable[[Any], bool]] = {
"numpy": is_numpy_namespace,
"torch": is_torch_namespace,
"jax": is_jax_namespace,
Expand Down
Loading