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)
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())