From 5b11b1985592fef95deb762ae91bdabfaa376d97 Mon Sep 17 00:00:00 2001 From: zmoody Date: Fri, 3 Aug 2018 16:05:22 -0500 Subject: [PATCH] Fixes #79 - Circuit Terminations REPR Circuit Termination records don't have a name attribute, so we'll use the underlying circuit ID to represent them. --- pynetbox/circuits.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/pynetbox/circuits.py b/pynetbox/circuits.py index 7785cadd..6072c81f 100644 --- a/pynetbox/circuits.py +++ b/pynetbox/circuits.py @@ -20,3 +20,9 @@ class Circuits(Record): def __str__(self): return self.cid + + +class CircuitTerminations(Record): + + def __str__(self): + return self.circuit.cid