def METHOD_NAME(self, file_id):
    with self._large_file_uploads_lock:
        upload_urls = self._large_file_uploads.get(file_id, [])
        if not upload_urls:
            return (None, None)
        else:
            return upload_urls.pop()