You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
refactor: make dj.Schema a proper class subclassing _Schema
Rename schemas.Schema → schemas._Schema (internal) and define
dj.Schema as a class that inherits from _Schema with a thread-safety
check in __init__. This eliminates the confusing function-vs-class
duality where dj.Schema was a function wrapper and schemas.Schema
was the class.
Now dj.Schema is a real class: isinstance, hasattr, and subclass
checks all work naturally. The test for rebuild_lineage can use
dj.Schema directly instead of importing from datajoint.schemas.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
0 commit comments