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