Skip to content

Commit bdce204

Browse files
feat: export AutoPopulate and Job in public API
Ecosystem packages like datajoint-worker need isinstance checks against AutoPopulate and direct Job construction for FreeTable progress queries. Export both from the top-level package so they don't depend on internal module paths.
1 parent eaa0090 commit bdce204

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/datajoint/__init__.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,8 @@
3030
"list_schemas",
3131
"Table",
3232
"FreeTable",
33+
"AutoPopulate",
34+
"Job",
3335
"Manual",
3436
"Lookup",
3537
"Imported",
@@ -81,6 +83,8 @@
8183
from .logging import logger
8284
from .objectref import ObjectRef
8385
from .schemas import _Schema, VirtualModule, list_schemas, virtual_schema
86+
from .autopopulate import AutoPopulate
87+
from .jobs import Job
8488
from .table import FreeTable as _FreeTable, Table, ValidationResult
8589
from .user_tables import Computed, Imported, Lookup, Manual, Part
8690
from .version import __version__

0 commit comments

Comments
 (0)