Skip to content

Commit 4a75ae1

Browse files
committed
Remove declare_context assertion when creating headings for FreeTable with adapters.
1 parent edce262 commit 4a75ae1

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

datajoint/heading.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -227,7 +227,6 @@ def init_from_database(self, conn, database, table_name, context):
227227
attr.update(special)
228228
# process adapted attribute types
229229
if special and TYPE_PATTERN['ADAPTED'].match(attr['type']):
230-
assert context is not None, 'Declaration context is not set'
231230
adapter_name = special['type']
232231
try:
233232
attr.update(adapter=get_adapter(context, adapter_name))

0 commit comments

Comments
 (0)