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

.a.b.c notation for nested attrgetter #255

Closed
ghost opened this issue May 20, 2017 · 2 comments
Closed

.a.b.c notation for nested attrgetter #255

ghost opened this issue May 20, 2017 · 2 comments

Comments

@ghost
Copy link

ghost commented May 20, 2017

obj |> .a.b.c
# currently does:
obj |> attrgetter('a').b.c  # error!
# would be neat if it did:
obj |> attrgetter('a.b.c')  # more expected imo!
@evhub evhub added this to the v1.3.0 milestone May 20, 2017
@evhub evhub added the feature label May 20, 2017
@evhub
Copy link
Owner

evhub commented May 20, 2017

@Socialery That's a great catch; I'll implement in the next version for sure. Thanks!

@evhub
Copy link
Owner

evhub commented May 22, 2017

@Socialery This now works in coconut-develop! Just pip install coconut-develop to get the new behaviour.

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

No branches or pull requests

1 participant