Esempio n. 1
0
 def Run(self, args):
     return versions_util.SetDefault(versions_api.VersionsClient(),
                                     args.version,
                                     model=args.model)
Esempio n. 2
0
def _Run(args):
    with endpoint_util.MlEndpointOverrides(region=args.region):
        client = versions_api.VersionsClient()
        return versions_util.SetDefault(client, args.version, model=args.model)