File tree Expand file tree Collapse file tree 1 file changed +8
-1
lines changed
Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -2701,6 +2701,8 @@ def create_validation_task(
27012701 input : dict ,
27022702 * ,
27032703 metadata : Optional [dict ] = None ,
2704+ project_id : str = None ,
2705+ project_run_id : str = None ,
27042706 ** optional_args ,
27052707 ) -> Dict :
27062708 """Creates a validation, calls the POST /validations endpoint.
@@ -2721,7 +2723,12 @@ def create_validation_task(
27212723 :raises: :py:class:`~las.InvalidCredentialsException`, :py:class:`~las.TooManyRequestsException`,\
27222724 :py:class:`~las.LimitExceededException`, :py:class:`requests.exception.RequestException`
27232725 """
2724- body = dictstrip ({'input' : input , 'metadata' : metadata })
2726+ body = dictstrip ({
2727+ 'input' : input ,
2728+ 'metadata' : metadata ,
2729+ 'projectId' : project_id ,
2730+ 'projectRunId' : project_run_id ,
2731+ })
27252732 body .update (** optional_args )
27262733 return self ._make_request (requests .post , f'/validations/{ validation_id } /tasks' , body = body )
27272734
You can’t perform that action at this time.
0 commit comments