Skip to content

Commit 5782c58

Browse files
committed
python-dotenv needs python >= 3.9
1 parent 8bfdd98 commit 5782c58

File tree

5 files changed

+32
-30
lines changed

5 files changed

+32
-30
lines changed

playground/python/app/ingestion.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,13 @@
77

88
load_dotenv("../.env")
99

10+
1011
async def main():
1112
print("IngestionClient version", __version__)
1213

13-
client = IngestionClient(environ.get("ALGOLIA_APPLICATION_ID"), environ.get("ALGOLIA_ADMIN_KEY"), "eu")
14+
client = IngestionClient(
15+
environ.get("ALGOLIA_APPLICATION_ID"), environ.get("ALGOLIA_ADMIN_KEY"), "eu"
16+
)
1417

1518
print("client initialized", client)
1619

playground/python/app/search.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
1-
from algoliasearch.search import __version__
2-
from algoliasearch.search.client import SearchClientSync, SearchClient
3-
from algoliasearch.search.config import SearchConfig
1+
from algoliasearch.search.client import SearchClient
42
from asyncio import run
53
from dotenv import load_dotenv
64
from os import environ

playground/python/poetry.lock

Lines changed: 25 additions & 24 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

playground/python/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ python = ">= 3.8.1"
1313
algoliasearch = { path = "../../clients/algoliasearch-client-python", develop = true }
1414
ruff = "== 0.13.3"
1515
pyright = "== 1.1.406"
16-
python-dotenv = "== 1.1.1"
16+
python-dotenv = "== 1.0.1"
1717

1818
[tool.poetry.scripts]
1919
search = "app.search:main"

playground/python/requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
argcomplete==3.6.2
2-
click==8.2.1
2+
click==8.3.0
33
packaging==25.0
44
pipx==1.8.0
55
platformdirs==4.4.0

0 commit comments

Comments
 (0)