From 8005509d68ef03ba90f14b223356832789868f5b Mon Sep 17 00:00:00 2001 From: Suyash Gupta Date: Mon, 5 Sep 2022 16:01:21 +0530 Subject: [PATCH] update Task class to support callbacks --- tes/models.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/tes/models.py b/tes/models.py index f0f50c2..dd81cf0 100644 --- a/tes/models.py +++ b/tes/models.py @@ -266,6 +266,12 @@ class Task(Base): description = attrib( default=None, converter=strconv, validator=optional(instance_of(str)) ) + + # This feature is not yet added to the TES specification + # To be done in a future release (probably 1.2) + callback_url = attrib( + default=None, converter=strconv, validator=optional(instance_of(str)) + ) inputs = attrib( default=None, validator=optional(list_of(Input)) )