v0.3.2 + bug fix caught in unittests
This commit is contained in:
Родитель
226f25634d
Коммит
a974e0fec1
|
@ -1,3 +1,3 @@
|
|||
from models import DAG
|
||||
|
||||
__version__ = "0.3.1"
|
||||
__version__ = "0.3.2"
|
||||
|
|
|
@ -643,7 +643,7 @@ class TaskInstance(Base):
|
|||
ti_key_str = ti_key_str.format(**locals())
|
||||
|
||||
params = {}
|
||||
if hasattr(task, 'dag'):
|
||||
if hasattr(task, 'dag') and task.dag.params:
|
||||
params.update(task.dag.params)
|
||||
if task.params:
|
||||
params.update(task.params)
|
||||
|
@ -665,7 +665,6 @@ class TaskInstance(Base):
|
|||
'task_instance_key_str': ti_key_str
|
||||
}
|
||||
|
||||
|
||||
def render_templates(self):
|
||||
task = self.task
|
||||
jinja_context = self.get_template_context()
|
||||
|
|
2
setup.py
2
setup.py
|
@ -1,7 +1,7 @@
|
|||
from setuptools import setup, find_packages
|
||||
|
||||
# Kept manually in sync with airflow.__version__
|
||||
version = '0.3.1'
|
||||
version = '0.3.2'
|
||||
|
||||
setup(
|
||||
name='airflow',
|
||||
|
|
Загрузка…
Ссылка в новой задаче