Standardize path endpoint templates

This commit is contained in:
Jeremy Stretch
2020-10-05 13:23:55 -04:00
parent 50aecd02f4
commit 32b8148da1
8 changed files with 158 additions and 94 deletions

View File

@@ -150,6 +150,10 @@ class PathEndpoint(models.Model):
# Return the path as a list of three-tuples (A termination, cable, B termination)
return list(zip(*[iter(path)] * 3))
@property
def path(self):
return self._path
@property
def connected_endpoint(self):
"""