Compare commits

...
Author SHA1 Message Date
Andrew FerlitschandGitHub 3fd7c6a5b1 documented what to do for FS 2.x cleanup 2023-11-14 10:18:23 -08:00
@@ -130,8 +130,15 @@ class MatchingEngineIndexEndpointResourceCleanupManager(VertexAIResourceCleanupM
resource.delete(force=True)
class FeatureStoreCleanupManager(VertexAIResourceCleanupManager):
# TODO: only deleting legacy
# not deleting ingestions jobs
# not deleting batch serving jobs
vertex_ai_resource = aiplatform.Featurestore
# for FS 2.0
# TODO: use _v1beta1, and gapic clients
# delete features, feature groups, feature views, feature online stores
def resource_name(self, resource: Any) -> str:
return resource.name