Skip to content

Commit 7cee67e

Browse files
committed
fix(memory): import ModuleConfig from concrete module to fix mypy error
Import Module and ModuleConfig from dimos.core.module instead of the lazy-loaded dimos.core namespace, which mypy sees as type Any.
1 parent 9c238f2 commit 7cee67e

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

dimos/memory/embedding.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,8 @@
2020
from reactivex import operators as ops
2121
from reactivex.observable import Observable
2222

23-
from dimos.core import In, Module, ModuleConfig, rpc
23+
from dimos.core import In, rpc
24+
from dimos.core.module import Module, ModuleConfig
2425
from dimos.models.embedding.base import Embedding, EmbeddingModel
2526
from dimos.models.embedding.clip import CLIPModel
2627
from dimos.msgs.geometry_msgs import PoseStamped

0 commit comments

Comments
 (0)