Commit de69e92
fix: Resolve MyPy type error in MilvusOnlineStoreCreator
- Fix return type annotation: Dict[str, Any] -> dict[str, Any] to match base class
- Add missing OnlineStoreCreator import to repo_configuration.py
- Update type annotation from Dict[str, str] to Dict[str, Any] to support int values in Milvus config
- Remove unused Dict import after switching to lowercase dict
The enhanced MyPy configuration caught a real type incompatibility where MILVUS_CONFIG
contains integer values (embedding_dim: 2) but the type annotation only allowed strings.
Co-Authored-By: Claude Sonnet 4 <noreply@anthropic.com>1 parent ff4548e commit de69e92
2 files changed
Lines changed: 3 additions & 3 deletions
File tree
- sdk/python/tests/integration/feature_repos
- universal/online_store
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
215 | 215 | | |
216 | 216 | | |
217 | 217 | | |
218 | | - | |
| 218 | + | |
219 | 219 | | |
220 | 220 | | |
221 | 221 | | |
| |||
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | | - | |
| 13 | + | |
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
| |||
0 commit comments