MCPcopy Create free account
hub / github.com/CodeClash-ai/CodeClash / is_running_in_aws_batch

Function is_running_in_aws_batch

codeclash/utils/aws.py:9–11  ·  view source on GitHub ↗

Returns True if running in AWS Batch, False otherwise.

()

Source from the content-addressed store, hash-verified

7
8
9def is_running_in_aws_batch() -> bool:
10 """Returns True if running in AWS Batch, False otherwise."""
11 return os.getenv("AWS_BATCH_JOB_ID") is not None
12
13
14def get_aws_metadata() -> dict:

Callers 5

build_imageMethod · 0.90
get_output_pathFunction · 0.90
_saveMethod · 0.90
_saveMethod · 0.90
get_aws_metadataFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected