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
While testing the EDRInterface class, I tried creating one in a noteboo and got an error from inside the __repr__ function, because it was trying to display the number of collections, but self.collections was None.
The text was updated successfully, but these errors were encountered:
stevehadd
changed the title
EDR Interface object needs a __repr__ function
EDR Interface object __repr__ function sometimes fails
Mar 24, 2022
OK, this was actually just my mistake. I had a typo in the server URL. You might like nonetheless to have a more graceful fail ion this case, maybe have the repr print an error message about server not existing.
While testing the EDRInterface class, I tried creating one in a noteboo and got an error from inside the
__repr__
function, because it was trying to display the number of collections, butself.collections
wasNone
.The text was updated successfully, but these errors were encountered: