We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 31b4f86 commit c8422a9Copy full SHA for c8422a9
google/cloud/aiplatform/models.py
@@ -2775,7 +2775,7 @@ def upload_xgboost_model_file(
2775
Also if model directory does not contain a supported model file.
2776
"""
2777
if not display_name:
2778
- display_name = cls.__class__.__generate_display_name("XGBoost model")
+ display_name = cls._generate_display_name("XGBoost model")
2779
2780
XGBOOST_SUPPORTED_MODEL_FILE_EXTENSIONS = [
2781
".pkl",
0 commit comments