Skip to content

Commit dedab91

Browse files
committed
pushed CI/CD fix
1 parent 85561af commit dedab91

File tree

1 file changed

+2
-2
lines changed
  • metadata-ingestion/src/datahub/ingestion/source

1 file changed

+2
-2
lines changed

metadata-ingestion/src/datahub/ingestion/source/vertexai.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -395,7 +395,7 @@ def _search_dataset(self, dataset_id: str) -> Optional[VertexAiResourceNoun]:
395395
]
396396

397397
if self.datasets is None:
398-
self.datasets: Dict[str, VertexAiResourceNoun] = {}
398+
self.datasets = {}
399399

400400
for dtype in dataset_types:
401401
dataset_class = getattr(self.client.datasets, dtype)
@@ -633,7 +633,7 @@ def _search_endpoint(self, model: Model) -> List[Endpoint]:
633633
Search for an endpoint associated with the model.
634634
"""
635635
if self.endpoints is None:
636-
endpoint_dict:Dict[str, List[Endpoint]] = {}
636+
endpoint_dict: Dict[str, List[Endpoint]] = {}
637637
for endpoint in self.client.Endpoint.list():
638638
for resource in endpoint.list_models():
639639
if resource.model not in endpoint_dict:

0 commit comments

Comments
 (0)