Skip to content

Commit ae6e2d7

Browse files
committed
Rename NUMBA flag
1 parent e0d267c commit ae6e2d7

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

caterva2/services/server.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
# Requirements
3232
import blosc2
3333

34-
if blosc2._NUMBA_:
34+
if blosc2._HAS_NUMBA:
3535
import numba
3636
import dotenv
3737
import fastapi
@@ -730,7 +730,7 @@ def make_expr(
730730
"np": np,
731731
"blosc2": blosc2,
732732
}
733-
if blosc2._NUMBA_:
733+
if blosc2._HAS_NUMBA:
734734
SAFE_GLOBALS["numba"] = numba
735735

736736
# Register the source so inspect can find it when saving later on

0 commit comments

Comments
 (0)