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

Async formatters #1461

Merged
merged 7 commits into from
Nov 13, 2019
Merged

Async formatters #1461

merged 7 commits into from
Nov 13, 2019

Conversation

kclowes
Copy link
Collaborator

@kclowes kclowes commented Sep 26, 2019

What was wrong?

Updates #1209 to most recent master since it was opened so long ago.

Related to Issue #1413

How was it fixed?

Pulled in master and updated tests.

Todo:

Cute Animal Picture

image

@kclowes kclowes force-pushed the async-api-formatters-ii branch 2 times, most recently from 99c3f2b to b385c2c Compare September 27, 2019 16:59
@kclowes kclowes changed the title [WIP] Async formatters Async formatters Sep 27, 2019
web3/_utils/method_formatters.py Outdated Show resolved Hide resolved
web3/_utils/method_formatters.py Show resolved Hide resolved
tests/core/method-class/test_result_formatters.py Outdated Show resolved Hide resolved
@kclowes kclowes changed the title Async formatters [WIP] Async formatters Sep 27, 2019
@kclowes kclowes force-pushed the async-api-formatters-ii branch 5 times, most recently from 026dd77 to 1740e3a Compare November 6, 2019 19:02
@kclowes kclowes changed the title [WIP] Async formatters Async formatters Nov 11, 2019
Copy link
Member

@pipermerriam pipermerriam left a comment

Choose a reason for hiding this comment

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

👍 keep an eye out for more areas where code is not intuitive and finding ways to drop in some larger comments that try and explain things in a more natural way.

web3/manager.py Outdated Show resolved Hide resolved
except TypeError:
raise ValueError("input_munger expects a 3-tuple")

def input_munger(self, module, args, kwargs):
# TODO: Create friendly error output.
mungers_iter = iter(self.mungers)
root_munger = next(mungers_iter)
Copy link
Member

Choose a reason for hiding this comment

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

I know this code wasn't changed, but it strikes me as something that is in need of a nice comment explaining what it is doing as it is quite cryptic at-a-glance.

kclowes added a commit to kclowes/web3.py that referenced this pull request Nov 13, 2019
@kclowes kclowes merged commit f55f563 into ethereum:master Nov 13, 2019
@kclowes kclowes deleted the async-api-formatters-ii branch November 13, 2019 21:52
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.

3 participants