Skip to content

Commit 1962462

Browse files
committed
Merge remote-tracking branch 'origin/main' into meilisearch-1.3.0
2 parents 31f9da6 + f9d5f87 commit 1962462

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
VERSION = "1.4.7"
1+
VERSION = "1.4.8"

meilisearch_python_async/models/client.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ class Config:
5858
else (
5959
f"{str(v).split('+')[0].replace(' ', 'T')}Z"
6060
if "+" in str(v)
61-
else f"{str(v).split('.')[0].replace(' ', 'T')}Z"
61+
else f"{str(v).replace(' ', 'T')}Z"
6262
)
6363
}
6464

@@ -122,7 +122,7 @@ class Config:
122122
else (
123123
f"{str(v).split('+')[0].replace(' ', 'T')}Z"
124124
if "+" in str(v)
125-
else f"{str(v).split('.')[0].replace(' ', 'T')}Z"
125+
else f"{str(v).replace(' ', 'T')}Z"
126126
)
127127
}
128128

@@ -147,7 +147,7 @@ class Config:
147147
else (
148148
f"{str(v).split('+')[0].replace(' ', 'T')}Z"
149149
if "+" in str(v)
150-
else f"{str(v).split('.')[0].replace(' ', 'T')}Z"
150+
else f"{str(v).replace(' ', 'T')}Z"
151151
)
152152
}
153153

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tool.poetry]
22
name = "meilisearch-python-async"
3-
version = "1.4.7"
3+
version = "1.4.8"
44
description = "A Python async client for the Meilisearch API"
55
authors = ["Paul Sanders <[email protected]>"]
66
license = "MIT"

tests/test_client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -278,7 +278,7 @@ async def test_create_key(test_key_info, test_client):
278278
assert key.description == test_key_info.description
279279
assert key.actions == test_key_info.actions
280280
assert key.indexes == test_key_info.indexes
281-
assert key.expires_at.date() == expires_at.date()
281+
assert key.expires_at == expires_at.replace(tzinfo=None)
282282

283283

284284
async def test_create_key_no_expires(test_key_info, test_client):

0 commit comments

Comments
 (0)