Commit 407f798
fix(qdrant): migrate Qdrant from deprecated decorator. (#963)
## Summary
Hello, this PR addresses the deprecation warning coming from
`QdrantContainer`.
The container currently uses the deprecated `@wait_container_is_ready()`
decorator, which is scheduled for removal.
This change migrates to the recommended `LogMessageWaitStrategy`.
Additionally, the Qdrant Docker image version has been updated to match
the Qdrant client version, resolving the following warning:
`UserWarning: Qdrant client version 1.16.2 is incompatible with server
version 1.13.5.`
## Testing
All qdrant test cases passed:
```bash
poetry run pytest modules/qdrant/tests/ -v
============== 4 passed, 3 warnings in 3.07s ==============
```
The remaining warnings are related to `UserWarning: Api key is used with
an insecure connection.`, which is out of scope for this PR.
Thank you for reviewing!
---------
Co-authored-by: ethanlee <ethanlee@sebit.world>
Co-authored-by: Roy Moore <roy@moore.co.il>1 parent d48115d commit 407f798
1 file changed
+5
-7
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
18 | | - | |
19 | | - | |
20 | | - | |
| 18 | + | |
| 19 | + | |
21 | 20 | | |
22 | 21 | | |
23 | | - | |
| 22 | + | |
24 | 23 | | |
25 | 24 | | |
26 | 25 | | |
| |||
39 | 38 | | |
40 | 39 | | |
41 | 40 | | |
42 | | - | |
| 41 | + | |
43 | 42 | | |
44 | 43 | | |
45 | 44 | | |
| |||
59 | 58 | | |
60 | 59 | | |
61 | 60 | | |
62 | | - | |
63 | 61 | | |
64 | | - | |
| 62 | + | |
65 | 63 | | |
66 | 64 | | |
67 | 65 | | |
| |||
0 commit comments