Formatting

This commit is contained in:
Nicolas Mowen 2025-01-18 09:33:44 -07:00
parent a4586ff1e9
commit 901e883b2c
2 changed files with 6 additions and 2 deletions

View File

@ -32,7 +32,9 @@ class RealTimeProcessorApi(ABC):
pass
@abstractmethod
def handle_request(self, topic: str, request_data: dict[str, any]) -> dict[str, any] | None:
def handle_request(
self, topic: str, request_data: dict[str, any]
) -> dict[str, any] | None:
"""Handle metadata requests.
Args:
topic (str): topic that dictates what work is requested.

View File

@ -212,7 +212,9 @@ class EmbeddingsContext:
return self.db.execute_sql(sql_query).fetchall()
def clear_face_classifier(self) -> None:
self.requestor.send_data(EmbeddingsRequestEnum.clear_face_classifier.value, None)
self.requestor.send_data(
EmbeddingsRequestEnum.clear_face_classifier.value, None
)
def delete_face_ids(self, face: str, ids: list[str]) -> None:
folder = os.path.join(FACE_DIR, face)