nautobot / pynautobot

Nautobot Python SDK
https://pynautobot.readthedocs.io/en/latest/index.html
Apache License 2.0
36 stars 32 forks source link

Update __repr__ to include Class Name #67

Open jvanderaa opened 2 years ago

jvanderaa commented 2 years ago

Per issue #65...

It would be good to provide a more descriptive __repr__ to not confuse what the object is that is being viewed.

nautics889 commented 1 year ago

@jvanderaa please have a look at https://github.com/nautobot/pynautobot/pull/113

I actually thought about adding id also, but the represetation string would look too long as for me.