Docs improvements

This commit is contained in:
Darren Burns
2024-08-06 16:17:07 +01:00
parent 2f3bd5c2aa
commit 76d6f45a09

View File

@@ -20,7 +20,7 @@ DOWNLOAD_TIMEOUT = 4
@rich.repr.auto @rich.repr.auto
class AppService: class AppService:
"""Manages a Textual app process. """Creates and manages a single Textual app subprocess.
When a user connects to the websocket in their browser, a new AppService When a user connects to the websocket in their browser, a new AppService
instance is created to manage the corresponding Textual app process. instance is created to manage the corresponding Textual app process.
@@ -36,6 +36,7 @@ class AppService:
debug: bool = False, debug: bool = False,
) -> None: ) -> None:
self.command = command self.command = command
"""The command to launch the Textual app subprocess."""
self.remote_write_bytes = write_bytes self.remote_write_bytes = write_bytes
"""Write bytes to the client browser websocket.""" """Write bytes to the client browser websocket."""
self.remote_write_str = write_str self.remote_write_str = write_str