Skip to content

Commit ae53cdd

Browse files
improve table definition in the doc string
1 parent 9264e4d commit ae53cdd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

datajoint/schema.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,7 @@ def process_table_class(self, table_class, context, assert_declared=False):
194194
# add table definition to the doc string
195195
if isinstance(table_class.definition, str):
196196
table_class.__doc__ = ((table_class.__doc__ or "") + "\n\nTable definition:\n"
197-
+ table_class.describe(printout=False))
197+
+ table_class.describe(printout=False, context=context))
198198

199199
# fill values in Lookup tables from their contents property
200200
if isinstance(instance, Lookup) and hasattr(instance, 'contents') and is_declared:

0 commit comments

Comments
 (0)