Ejemplo n.º 1
0
    def __init__(self,
                 request_args,
                 request_kwargs,
                 request_context,
                 result_object_id=None):
        self.request_args = request_args
        self.request_kwargs = request_kwargs
        self.request_context = request_context

        if result_object_id is None:
            self.result_object_id = get_custom_object_id()
        else:
            self.result_object_id = result_object_id
Ejemplo n.º 2
0
 def __init__(self, request_body, result_object_id=None):
     self.request_body = request_body
     if result_object_id is None:
         self.result_object_id = get_custom_object_id()
     else:
         self.result_object_id = result_object_id
Ejemplo n.º 3
0
 def __init__(self, work_object_id=None):
     if work_object_id is None:
         self.work_object_id = get_custom_object_id()
     else:
         self.work_object_id = work_object_id