parameters: (
      key: str, obj: Dict[str, Any], camera: pygeometry.Camera
  )
return_statement: return shot
docstring: Read shot from a json object
docstring_summary: Read shot from a json object
docstring_tokens: Read shot from a json object
function: def single_shot_from_json(
      key: str, obj: Dict[str, Any], camera: pygeometry.Camera
  ) -> pymap.Shot:
      """
      Read shot from a json object
      """
      pose = pose_from_json(obj)
      shot = pymap.Shot(key, camera, pose)
      assign_shot_attributes(obj, shot)
      return shot
function_tokens: def single_shot_from_json ( key : str , obj : Dict [ str , Any ] , camera : pygeometry . Camera ) -> pymap . Shot : pose = pose_from_json ( obj ) shot = pymap . Shot ( key , camera , pose ) assign_shot_attributes ( obj , shot ) return shot