We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5f1160b commit f563165Copy full SHA for f563165
src/firewheel/control/repository_db.py
@@ -68,7 +68,12 @@ def list_repositories(self):
68
69
# Add all model components that have been added via entry points
70
for entry in entry_points(group="firewheel.mc_repo"):
71
- entries.append({"path": entry.load()[0]})
+ # Typically `entry` is a `__path__` attribute of a module; this attribute
72
+ # is defined as a sequence of strings enumerating the locations where the
73
+ # package's submodules will be found
74
+ # https://docs.python.org/3/reference/import.html#path-attributes-on-modules
75
+ for path in entry.load():
76
+ entries.append({"path": path})
77
78
return iter(entries)
79
0 commit comments