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

Parameterized preprocessor #33

Open
y2k-shubham opened this issue May 16, 2019 · 1 comment
Open

Parameterized preprocessor #33

y2k-shubham opened this issue May 16, 2019 · 1 comment

Comments

@y2k-shubham
Copy link

The signature of process_arg(..) method of Preprocessor's hints that there's provision for passing and using arguments to preprocessor

@abc.abstractmethod
    def process_arg(self, arg, node, raw_args):
        pass

.
More precisely, I want to supply some arguments to my preprocessor from within my dag-definition-YAML file
.

  • Is that even possible?
  • I couldn't any example detailing how to achieve this
@mchalek
Copy link
Member

mchalek commented May 16, 2019

This is a good question. Sadly I believe it is not possible to do this right now, but it's been a while since I have looked at this code so I'm not 100% sure. I don't have time right now but I will set a reminder to look into this again sometime soon.

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

No branches or pull requests

2 participants