Exemple #1
0
 def get_circular() -> List[Entity]:  # Get entities that are linked to itself.
     return [Entity.get_by_id(row['domain_id']) for row in Db.get_circular()]
Exemple #2
0
 def get_entities_linked_to_itself() -> list[Entity]:
     return [Entity.get_by_id(row['domain_id']) for row in Db.get_circular()]