mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
docs: update docstrings in sockets.py
This commit is contained in:
parent
dfad37a262
commit
8498d4344b
@ -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
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user