improve repr of siphon objects #260
Labels
Area: Catalog
good first issue
Straightforward issues suitable for new and inexperienced contributors to the project
Type: Enhancement
I am trying to learn to use siphon. It seems very powerful. Thank you for creating it!
My usual method for learning a new library is to try to introspect the objects via a combination of doc strings, tab completion, etc (in addition to rtfm of course). One challenge with siphon is that it's
__repr__
methods for its objects are often insufficiently informative, making it hard to quickly understand the datatypes returned by the different methods. For example.I would have preferred to see
Or
Here this is especially confusing because
k
really is a string butv
is asiphon.catalog.CatalogRef
. Again, a better repr would beI believe that making these reprs more verbose would make the library easier to use for new users.
The text was updated successfully, but these errors were encountered: