docs: update docstrings in sockets.py

This commit is contained in:
psychedelicious 2024-05-26 21:05:27 +10:00
parent dfad37a262
commit 8498d4344b

View File

@ -39,10 +39,16 @@ from invokeai.app.services.events.events_common import (
class QueueSubscriptionEvent(BaseModel): class QueueSubscriptionEvent(BaseModel):
"""Event data for subscribing to the socket.io queue room.
This is a pydantic model to ensure the data is in the correct format."""
queue_id: str queue_id: str
class BulkDownloadSubscriptionEvent(BaseModel): class BulkDownloadSubscriptionEvent(BaseModel):
"""Event data for subscribing to the socket.io bulk downloads room.
This is a pydantic model to ensure the data is in the correct format."""
bulk_download_id: str bulk_download_id: str