fix bug: undefined name 'partial'

This commit is contained in:
Yifan Yang 2025-05-12 13:16:49 +08:00 committed by GitHub
parent cd7caf12df
commit d3f9603e58
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -69,6 +69,7 @@ import argparse
import copy import copy
import logging import logging
import warnings import warnings
from functools import partial
from pathlib import Path from pathlib import Path
from typing import List, Optional, Tuple, Union from typing import List, Optional, Tuple, Union