def parse_service_args()

in services/handlers/fetch_resources/config.py [0:0]


def parse_service_args(parser: ArgumentParser) -> None:
    parser.add_argument(
        "-l",
        "--service-location",
        default="us-central1",
        type=str,
        help=(
            "The location/region where the service is running "
            "(default: 'us-central1')."
        ),
    )
    parser.add_argument(
        "-q",
        "--queue",
        default="resource-discovery",
        type=str,
        help=(
            "The name of the queue to use for resource discovery "
            "(default: 'resource-discovery')."
        ),
    )
    parser.add_argument(
        "-hn",
        "--handler-name",
        default="fetch-resources-handler",
        type=str,
        help=(
            "The name of the handler responsible for processing resources "
            "(default: 'fetch-resources-handler')."
        ),
    )