def get_tmp_dirname(self) -> str:
        """
        The method returns a directory that is only used
        to store temporary files or folders related to the object
        """
        dir_path = os.path.join(self.get_dirname(), "tmp")
        os.makedirs(dir_path, exist_ok=True)

        return dir_path

        The method returns a directory that is only used
        to store temporary files or folders related to the object
        
cvat/apps/engine/models.py