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

dedicated decorator for specifying parser for a single mapper #35

Open
gamboviol opened this issue Mar 31, 2011 · 1 comment
Open

dedicated decorator for specifying parser for a single mapper #35

gamboviol opened this issue Mar 31, 2011 · 1 comment

Comments

@gamboviol
Copy link

(Used to be "parser attribute on a single mapper gets applied to others in same MultiMapper".)

@klbostee
Copy link
Owner

Yeah, that's actually sort of by design. Dumbo options always apply to the whole program, and attaching them to individual mappers is basically just a convenient way of specifying that those options should be set for each program that uses the mapper.

It should be straightforward to introduce a dedicated parser decorator that doesn't use the options system and directly applies a given parser to a mapper though. Patches or pull requests are welcome.. :)

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

2 participants