We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 98625ed commit 0bab812Copy full SHA for 0bab812
pynetbox/core/endpoint.py
@@ -459,7 +459,8 @@ def update(self, objects):
459
if not isinstance(objects, list):
460
raise ValueError(
461
"Objects passed must be list[dict|Record] - was {}".format(
462
- type(objects))
+ type(objects)
463
+ )
464
)
465
for o in objects:
466
if isinstance(o, Record):
@@ -473,8 +474,7 @@ def update(self, objects):
473
474
series.append(o)
475
else:
476
- "Object passed must be dict|Record - was {}".format(
477
+ "Object passed must be dict|Record - was {}".format(type(objects))
478
479
req = Request(
480
base=self.url,
0 commit comments