more linting

This commit is contained in:
Danglewood
2025-01-06 19:45:20 -08:00
parent 5d35199148
commit da7ccbc5f2

View File

@@ -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