mirror of
https://github.com/basicmachines-co/basic-memory
synced 2026-06-21 13:47:35 +00:00
add type to entity_service.entity_model
This commit is contained in:
@@ -11,7 +11,7 @@ from basic_memory.services.exceptions import EntityNotFoundError
|
||||
from .service import BaseService
|
||||
|
||||
|
||||
def entity_model(entity):
|
||||
def entity_model(entity: EntitySchema):
|
||||
model = EntityModel(
|
||||
name=entity.name,
|
||||
entity_type=entity.entity_type,
|
||||
|
||||
Reference in New Issue
Block a user