in src/mapillary/utils/verify.py [0:0]
def image_bbox_check(kwargs: dict) -> dict:
"""
Check if the right arguments have been provided for the image bounding box
:param kwargs: The dictionary parameters
:type kwargs: dict
:return: A final dictionary with the kwargs
:rtype: dict
"""
if kwarg_check(
kwargs=kwargs,
options=[
"max_captured_at",
"min_captured_at",
"image_type",
"compass_angle",
"organization_id",
"sequence_id",
"zoom",
],
callback="image_bbox_check",
):
return {
"max_captured_at": kwargs.get("max_captured_at", None),
"min_captured_at": kwargs.get("min_captured_at", None),
"image_type": kwargs.get("image_type", None),
"compass_angle": kwargs.get("compass_angle", None),
"sequence_id": kwargs.get("sequence_id", None),
"organization_id": kwargs.get("organization_id", None),
}