File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed
clients/algoliasearch-client-python/algoliasearch/http Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -58,7 +58,7 @@ async def request(
5858 try :
5959 async with timeout (self ._timeout / 1000 ):
6060 resp = await self ._session .request (
61- method = verb . __str__ () ,
61+ method = verb ,
6262 url = url ,
6363 headers = request_options .headers ,
6464 data = request_options .data ,
Original file line number Diff line number Diff line change @@ -42,7 +42,9 @@ RUN echo "export PATH=$PATH:/usr/local/bin/python" >> ~/.profile \
4242 && echo "export PATH=$PATH:/usr/local/bin/pip" >> ~/.profile \
4343 && pip install --upgrade pip pipx && pipx ensurepath \
4444 && pipx install poetry
45-
45+ ENV VIRTUAL_ENV=/opt/env
46+ RUN python -m venv $VIRTUAL_ENV
47+ ENV PATH="$VIRTUAL_ENV/bin:$PATH"
4648
4749# Go
4850COPY --from=go-builder /usr/local/go/ /usr/local/go/
You can’t perform that action at this time.
0 commit comments