Exemplo n.º 1
0
def generate_bentoml_deployment_snapshot_path(service_name, service_version,
                                              platform):
    return os.path.join(str(Path.home()), '.bentoml', 'deployment-snapshots',
                        platform, service_name, service_version)
Exemplo n.º 2
0
def generate_bentoml_deployment_snapshot_path(service_name, platform):
    return os.path.join(str(Path.home()), '.bentoml', 'deployment-snapshot',
                        service_name, platform,
                        datetime.now().isoformat())