From 20599d094568ce063bf23ccaed09e1a8fac4ac8c Mon Sep 17 00:00:00 2001 From: James Martin Date: Mon, 4 Mar 2024 13:59:26 +1100 Subject: [PATCH] Updated Batch docs to reference the correct order of arguments for the batch_submit task --- prefect_aws/batch.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/prefect_aws/batch.py b/prefect_aws/batch.py index 0dc57810..8abfb50a 100644 --- a/prefect_aws/batch.py +++ b/prefect_aws/batch.py @@ -21,8 +21,8 @@ async def batch_submit( Args: job_name: The AWS batch job name. - job_definition: The AWS batch job definition. job_queue: Name of the AWS batch job queue. + job_definition: The AWS batch job definition. aws_credentials: Credentials to use for authentication with AWS. **batch_kwargs: Additional keyword arguments to pass to the boto3 `submit_job` function. See the documentation for @@ -49,8 +49,8 @@ def example_batch_submit_flow(): ) job_id = batch_submit( "job_name", - "job_definition", "job_queue", + "job_definition", aws_credentials ) return job_id