Skip to content

Commit

Permalink
remove typecheck
Browse files Browse the repository at this point in the history
  • Loading branch information
Jeremiah Lowin authored and Jeremiah Lowin committed Aug 19, 2015
1 parent 3bd84cc commit ef80d1b
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions airflow/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -2165,9 +2165,6 @@ def set(
Store an XCom value.
"""

if not isinstance(task, basestring) or not isinstance(dag, basestring):
raise TypeError('Expected string; received {}'.format(type(task)))

session.expunge_all()
session.add(XCom(
key=key,
Expand Down

0 comments on commit ef80d1b

Please sign in to comment.