Exemplo n.º 1
0
 def Run(self, args):
     with endpoint_util.MlEndpointOverrides(region=args.region):
         client = versions_api.VersionsClient()
         return versions_util.Delete(client,
                                     operations.OperationsClient(),
                                     args.version,
                                     model=args.model)
Exemplo n.º 2
0
def _Run(args):
    region = region_util.GetRegion(args)
    with endpoint_util.MlEndpointOverrides(region=region):
        client = versions_api.VersionsClient()
        return versions_util.Delete(client,
                                    operations.OperationsClient(),
                                    args.version,
                                    model=args.model)
Exemplo n.º 3
0
 def Run(self, args):
     return versions_util.Delete(versions_api.VersionsClient(),
                                 operations.OperationsClient(),
                                 args.version,
                                 model=args.model)