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(
58
58
try :
59
59
async with timeout (self ._timeout / 1000 ):
60
60
resp = await self ._session .request (
61
- method = verb . __str__ () ,
61
+ method = verb ,
62
62
url = url ,
63
63
headers = request_options .headers ,
64
64
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 \
42
42
&& echo "export PATH=$PATH:/usr/local/bin/pip" >> ~/.profile \
43
43
&& pip install --upgrade pip pipx && pipx ensurepath \
44
44
&& pipx install poetry
45
-
45
+ ENV VIRTUAL_ENV=/opt/env
46
+ RUN python -m venv $VIRTUAL_ENV
47
+ ENV PATH="$VIRTUAL_ENV/bin:$PATH"
46
48
47
49
# Go
48
50
COPY --from=go-builder /usr/local/go/ /usr/local/go/
You can’t perform that action at this time.
0 commit comments