Skip to content

Commit

Permalink
lint fixes (#568)
Browse files Browse the repository at this point in the history
  • Loading branch information
abhi1693 authored Aug 25, 2023
1 parent 98625ed commit 0bab812
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions pynetbox/core/endpoint.py
Original file line number Diff line number Diff line change
Expand Up @@ -459,7 +459,8 @@ def update(self, objects):
if not isinstance(objects, list):
raise ValueError(
"Objects passed must be list[dict|Record] - was {}".format(
type(objects))
type(objects)
)
)
for o in objects:
if isinstance(o, Record):
Expand All @@ -473,8 +474,7 @@ def update(self, objects):
series.append(o)
else:
raise ValueError(
"Object passed must be dict|Record - was {}".format(
type(objects))
"Object passed must be dict|Record - was {}".format(type(objects))
)
req = Request(
base=self.url,
Expand Down

0 comments on commit 0bab812

Please sign in to comment.