Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add improved reprs #284

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Add improved reprs #284

wants to merge 1 commit into from

Conversation

zbruick
Copy link
Contributor

@zbruick zbruick commented Oct 1, 2019

Description Of Changes

Add improved reprs based on feedback in #260.

Checklist

siphon/catalog.py Outdated Show resolved Hide resolved
__repr__ = __str__
def __repr__(self):
"""Return informative repr for TDSCatalog."""
return str(TDSCatalog) + ' ' + self.catalog_name
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Isn’t this just returning then self.catalog_name + ‘ ‘ + self.catalog_name?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Updated this to a new return

@zbruick
Copy link
Contributor Author

zbruick commented Nov 1, 2019

I can reproduce the error locally on the Radar example. I'll look into it.

@zbruick
Copy link
Contributor Author

zbruick commented Nov 1, 2019

Seems like the radar issue was spurious. This is ready for review again.

@dopplershift dopplershift modified the milestones: 0.9, 0.10 Mar 5, 2021
@dopplershift dopplershift changed the base branch from master to main November 5, 2024 00:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

improve repr of siphon objects
2 participants