Skip to content
This repository has been archived by the owner on Nov 1, 2022. It is now read-only.

Commit

Permalink
Update dependency layer-api to v0.9.369180 (#195)
Browse files Browse the repository at this point in the history
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Emin Demirci <[email protected]>
  • Loading branch information
renovate[bot] and eminn authored Jul 5, 2022
1 parent c6bead6 commit 6424063
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions layer/clients/executor_service.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
from logging import Logger
from typing import Iterator

from layerapi.api.service.executor.executor_api_pb2 import GetUploadPathRequest
from layerapi.api.service.executor.executor_api_pb2 import GetFunctionUploadPathRequest
from layerapi.api.service.executor.executor_api_pb2_grpc import ExecutorAPIStub

from layer.config import ClientConfig
Expand Down Expand Up @@ -40,8 +40,8 @@ def get_upload_path(
project_full_name: ProjectFullName,
function_name: str,
) -> str:
request = GetUploadPathRequest(
request = GetFunctionUploadPathRequest(
project_full_name=project_full_name.path,
function_name=function_name,
)
return self._service.GetUploadPath(request=request)
return self._service.GetFunctionUploadPath(request=request).function_upload_path
6 changes: 3 additions & 3 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ rich = ">=11"
transformers = "*"
yarl = ">=1.6.3"
wrapt = ">=1.13.3"
layer-api = "0.9.369053"
layer-api = "0.9.369180"
numpy = { version = "<1.22", python = "~3.7" } # 1.22 doesn't support python 3.7, this is a transitive dependency comming from various other packages
requests = ">=2.23.0"
nvsmi = "^0.4.2"
Expand Down

0 comments on commit 6424063

Please sign in to comment.