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
The def __str__(self) method will both make it nicer for logging, as well as enabling the classes to be used more easily with other frameworks like method caching which often relies on str(obj). The default __str__ implementation is not good enough for these usecases.
A lot of the model classes already have one, but not all.
The text was updated successfully, but these errors were encountered:
Wim-De-Clercq
added a commit
to Wim-De-Clercq/skosprovider_sqlalchemy
that referenced
this issue
Nov 5, 2018
The
def __str__(self)
method will both make it nicer for logging, as well as enabling the classes to be used more easily with other frameworks like method caching which often relies onstr(obj)
. The default__str__
implementation is not good enough for these usecases.A lot of the model classes already have one, but not all.
The text was updated successfully, but these errors were encountered: