Hi Flyte Team, I am trying to use the AWS Batch in...
# flyte-support
s
Hi Flyte Team, I am trying to use the AWS Batch integration to submit a job to a fair share job queue. The Config has a schedulingPriority but it does not seem to be used in the AWS Batch SubmitJob as I am receiving this error from FlytePropeller
ClientException: Job without shareIdentifier or schedulingPriority cannot be submitted to a job queue with fair share scheduling policy
Below is the code that I am using to test this.
Copy code
from flytekitplugins.awsbatch import AWSBatchConfig
import flytekit as fl

config = AWSBatchConfig(
    parameters={"schedulingPriority": "1"},
    propagateTags=True,
    tags={"hello": "world2"},
    schedulingPriority=1
)

@fl.task(task_config=config)
def t1(a: int) -> str:
    return str(a)