feat: Migrate messages from monitor service to database
This commit is contained in:
parent
f7a61f5847
commit
cbe3a05ebe
1 changed files with 2 additions and 1 deletions
|
|
@ -33,7 +33,8 @@ def get_messages(
|
|||
Returns:
|
||||
List[Data]: A list of Data objects representing the retrieved messages.
|
||||
"""
|
||||
migrate_messages_from_monitor_service_to_database()
|
||||
with session_scope() as session:
|
||||
migrate_messages_from_monitor_service_to_database(session)
|
||||
messages_read: list[Message] = []
|
||||
with session_scope() as session:
|
||||
stmt = select(MessageTable)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue