From da7ccbc5f29efceea93da1e3a749a5c6e7015324 Mon Sep 17 00:00:00 2001 From: Danglewood <85772166+deeleeramone@users.noreply.github.com> Date: Mon, 6 Jan 2025 19:45:20 -0800 Subject: [PATCH] more linting --- .../openbb_core/provider/utils/websockets/database.py | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/openbb_platform/core/openbb_core/provider/utils/websockets/database.py b/openbb_platform/core/openbb_core/provider/utils/websockets/database.py index 19f41a7bcc8..31ed2ef5e45 100644 --- a/openbb_platform/core/openbb_core/provider/utils/websockets/database.py +++ b/openbb_platform/core/openbb_core/provider/utils/websockets/database.py @@ -366,8 +366,9 @@ class Database: raise OpenBBError(e) from e async def _deserialize_row(self, row, cursor) -> dict: - """Deserialize a row from the SQLite database. - Handles both single message column and multiple extracted fields.""" + """ + Deserialize a row from the SQLite database. Handles both single message column and multiple extracted fields. + """ # pylint: disable=import-outside-toplevel import json @@ -1072,9 +1073,7 @@ class DatabaseWriter: class BatchProcessor(threading.Thread): - """ - This class is a thread intended for use as a subprocess and is called by `DatabaseWriter.start_writer()`. - """ + """This class is a thread intended for use as a subprocess and is called by `DatabaseWriter.start_writer()`.""" def __init__( self, database_writer: DatabaseWriter, num_workers=120, collection_time=0.25