def Run(self, args): models_client = models.ModelsClient() operations_client = operations.OperationsClient() return models_util.Delete(models_client, operations_client, args.model)
def _Run(args): region = region_util.GetRegion(args) with endpoint_util.MlEndpointOverrides(region=region): models_client = models.ModelsClient() operations_client = operations.OperationsClient() return models_util.Delete(models_client, operations_client, args.model)
def Run(self, args): with endpoint_util.MlEndpointOverrides(region=args.region): models_client = models.ModelsClient() operations_client = operations.OperationsClient() return models_util.Delete(models_client, operations_client, args.model)