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

Update the Wrapper class to have an informative str representation #298

Merged
merged 2 commits into from
Mar 3, 2021
Merged

Conversation

D-X-Y
Copy link
Contributor

@D-X-Y D-X-Y commented Mar 2, 2021

Update the Wrapper class to have an informative str representation

Description

Add the __repr__ function for Wrapper.

Motivation and Context

Before this PR, the print output of a Wrapper instance is useless and shows little information.

Screenshots of Test Results (if appropriate):

image
image

Types of changes

  • Fix bugs
  • Add new feature
  • Update documentation

@D-X-Y
Copy link
Contributor Author

D-X-Y commented Mar 3, 2021

@you-n-g would you mind helping review the codes and merge?

@you-n-g
Copy link
Collaborator

you-n-g commented Mar 3, 2021

@D-X-Y It looks great now!
Thanks for your PR

@you-n-g you-n-g merged commit d1d7061 into microsoft:main Mar 3, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants