Thanks Shah for the heads up! Coming to think of it, why can't 'provide_context' be a argument in the BaseOperator? wouldn't this allow all the operators to make use of the variables?
Best regards Niranda Perera Research Assistant Dept of CSE, University of Moratuwa [email protected] +94 71 554 8430 https://lk.linkedin.com/in/niranda On Tue, Jun 20, 2017 at 3:03 PM, Shah Altaf <[email protected]> wrote: > Hi Niranda - the best way I find is to have a quick peek at the source > code. Just as an example the MsSql operator, go to the source code > > https://pythonhosted.org/airflow/_modules/mssql_operator.html > > And look for template_fields. Anything you see in the template_fields will > allow for templating. > > > On Tue, Jun 20, 2017 at 9:33 AM Niranda Perera <[email protected]> > wrote: > > > Hi, > > > > I was going through the jinja templating in airflow and in the generic > > operators, it seemed like, it is limited to the bash and python > operators? > > > > I would like to get a clarification on this? > > > > Best regards > > > > Niranda Perera > > Research Assistant > > Dept of CSE, University of Moratuwa > > [email protected] > > +94 71 554 8430 <+94%2071%20554%208430> > > https://lk.linkedin.com/in/niranda > > >
