Skip to content

Commit 6758adc

Browse files
author
Edgar Y. Walker
committed
Add repr for FreeRelation
1 parent c25e808 commit 6758adc

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

datajoint/relation.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -285,6 +285,9 @@ def __init__(self, connection, full_table_name, definition=None, context=None):
285285
self._definition = definition
286286
self._context = context
287287

288+
def __repr__(self):
289+
return "FreeRelation(`%s`.`%s`)" % (self.database, self._table_name)
290+
288291
@property
289292
def definition(self):
290293
return self._definition

0 commit comments

Comments
 (0)