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

Simple implementation of allowing externally defined formatters #75

Open
wants to merge 7 commits into
base: master
from

Conversation

@monkut
Copy link

@monkut monkut commented May 23, 2017

I noticed there is a TODO in _PrintResult to provide better handling of output formatting, but this is a quick an easy way to allow end-users to provide their own defined formatters.

For your consideration.

In response to raised issue #74

@googlebot
Copy link

@googlebot googlebot commented May 23, 2017

We found a Contributor License Agreement for you (the sender of this pull request), but were unable to find agreements for the commit author(s). If you authored these, maybe you used a different email address in the git commits than was used to sign the CLA (login here to double check)? If these were authored by someone else, then they will need to sign a CLA as well, and confirm that they're okay with these being contributed to Google.

monkut added 5 commits Jun 16, 2017
monkut
…ng run is '__main__.py'

(uses filepath of __main__.py to determine the package name)
…sary field output.
@dbieber dbieber force-pushed the google:master branch from ffbfa51 to 4695f34 Dec 5, 2019
@dbieber
Copy link
Member

@dbieber dbieber commented Feb 28, 2020

FYI objects that defines a custom __str__ method are now serialized using that custom __str__ method.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

3 participants
You can’t perform that action at this time.