Bug Report
Description
Sometimes the .parts property on tables returns an empty list even if the table has parts.
@schema
class MyTable(dj.Manual):
definition = """
a: int
---
b: int
"""
class MyFirstPart(dj.Part):
definition = """
-> master
---
c: int
"""
class MySecondPart(dj.Part):
definition = """
-> master
---
d: int
"""
# MyTable().connection.dependencies.load() # Uncommenting this fixes the problem
assert MyTable().parts(as_objects=True) is [] # Should error but doesn't
Reproducibility
- LINUX
- Python 3.8
- DataJoint Version 0.12.9
Bug Report
Description
Sometimes the
.partsproperty on tables returns an empty list even if the table has parts.Reproducibility