diff --git a/google/cloud/aiplatform/utils/__init__.py b/google/cloud/aiplatform/utils/__init__.py index 593222ed0a..88419002f7 100644 --- a/google/cloud/aiplatform/utils/__init__.py +++ b/google/cloud/aiplatform/utils/__init__.py @@ -720,12 +720,7 @@ def feature_path( feature_group: str, feature: str, ) -> str: - return "projects/{project}/locations/{location}/featureGroups/{feature_group}/features/{feature}".format( - project=project, - location=location, - feature_group=feature_group, - feature=feature, - ) + return f"projects/{project}/locations/{location}/featureGroups/{feature_group}/features/{feature}" @staticmethod def parse_feature_path(path: str) -> Dict[str, str]: