You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Caling method save() for a changed object get an error:
File "/opt/python3.6/site-packages/pynetbox/core/response.py", line 358, in save
diff = self._diff()
File "/opt/python3.6/site-packages/pynetbox/core/response.py", line 333, in _diff
{fmt_dict(k, v) for k, v in self.serialize().items()}
File "/opt/python3.6/site-packages/pynetbox/core/response.py", line 333, in
{fmt_dict(k, v) for k, v in self.serialize().items()}
File "/opt/python3.6/site-packages/pynetbox/core/response.py", line 329, in fmt_dict
return k, "".join(v)
TypeError: sequence item 0: expected str instance, int found
In file pynetbox/core/response.py
Line: 329
return k, "".join(v)
should change to
return k, "".join(map(str, v))
The text was updated successfully, but these errors were encountered:
Hi.
Caling method save() for a changed object get an error:
File "/opt/python3.6/site-packages/pynetbox/core/response.py", line 358, in save
diff = self._diff()
File "/opt/python3.6/site-packages/pynetbox/core/response.py", line 333, in _diff
{fmt_dict(k, v) for k, v in self.serialize().items()}
File "/opt/python3.6/site-packages/pynetbox/core/response.py", line 333, in
{fmt_dict(k, v) for k, v in self.serialize().items()}
File "/opt/python3.6/site-packages/pynetbox/core/response.py", line 329, in fmt_dict
return k, "".join(v)
TypeError: sequence item 0: expected str instance, int found
In file pynetbox/core/response.py
Line: 329
return k, "".join(v)
should change to
return k, "".join(map(str, v))
The text was updated successfully, but these errors were encountered: