def METHOD_NAME(
    self, task_id: str, fileformat: str, filename: str, *, status_check_period: int = 2
) -> None:
    """Upload annotations for a task in the specified format
    (e.g. 'YOLO ZIP 1.0')."""
    self.client.tasks.retrieve(obj_id=task_id).import_annotations(
        format_name=fileformat,
        filename=filename,
        status_check_period=status_check_period,
        pbar=DeferredTqdmProgressReporter(),
    )