Skip to content

Commit 584c462

Browse files
Move dynamic propagation of registry into Python namespaces out of
the main dynd namespace. This is primarily a stopgap to get the CI tests working again before moving this registration code into the type portion of dynd-python.
1 parent c35773a commit 584c462

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

dynd/__init__.py

-4
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,3 @@
1919
'__libdynd_version__', '__version__', '__libdynd_git_sha1__', '__git_sha1__',
2020
'annotate', 'test', 'load'
2121
]
22-
23-
from .nd.registry import propagate_all
24-
25-
propagate_all()

dynd/nd/__init__.py

+6-2
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,11 @@
1212
parse_json, squeeze, dtype_of, old_linspace, fields, ndim_of
1313
from .callable import callable
1414

15+
from . import functional
16+
17+
from .registry import propagate_all
18+
19+
propagate_all()
20+
1521
inf = float('inf')
1622
nan = float('nan')
17-
18-
from . import functional

0 commit comments

Comments
 (0)