Skip to content

Commit 6f9cf3d

Browse files
committed
remove JsonField changes
1 parent d86c7b4 commit 6f9cf3d

File tree

3 files changed

+0
-17
lines changed

3 files changed

+0
-17
lines changed

pynetbox/models/dcim.py

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -270,20 +270,8 @@ def __str__(self):
270270
circuit = Circuits
271271

272272

273-
class CablePath(Record):
274-
path = JsonField
275-
276-
277273
class Cables(Record):
278274
def __str__(self):
279275
if len(self.a_terminations) == 1 and len(self.b_terminations) == 1:
280276
return "{} <> {}".format(self.a_terminations[0], self.b_terminations[0])
281277
return "Cable #{}".format(self.id)
282-
283-
284-
class ModuleTypeProfiles(Record):
285-
schema = JsonField
286-
287-
288-
class ModuleTypes(Record):
289-
attribute_data = JsonField

pynetbox/models/users.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,6 @@
1717
from pynetbox.core.response import JsonField, Record
1818

1919

20-
class UserConfig(Record):
21-
data = JsonField
22-
23-
2420
class Users(Record):
2521
def __str__(self):
2622
return self.username

pynetbox/models/virtualization.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@ class VirtualMachines(Record):
2323
primary_ip = IpAddresses
2424
primary_ip4 = IpAddresses
2525
primary_ip6 = IpAddresses
26-
local_context_data = JsonField
2726
config_context = JsonField
2827

2928
@property

0 commit comments

Comments
 (0)