remove connection classes
This commit is contained in:
8
app/src/iter_registry.py
Normal file
8
app/src/iter_registry.py
Normal file
@@ -0,0 +1,8 @@
|
||||
|
||||
|
||||
class IterRegistry(type):
|
||||
def __iter__(cls):
|
||||
for ref in cls._registry:
|
||||
obj = ref()
|
||||
if obj is not None:
|
||||
yield obj
|
||||
Reference in New Issue
Block a user