Skip to content

Commit 40cddc4

Browse files
committed
Use updated fetch syntax
1 parent 31b6153 commit 40cddc4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

datajoint/relational_operand.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -457,7 +457,7 @@ def __len__(self):
457457
"""
458458
number of tuples in the relation.
459459
"""
460-
return U().aggr(self, n='count(*)').fetch1['n']
460+
return U().aggr(self, n='count(*)').fetch1('n')
461461

462462
def __bool__(self):
463463
"""

0 commit comments

Comments
 (0)