Functions
__getattr__
Lazy import pattern for DevServer to avoid loading heavy dependencies.
This defers the import of w…
__getattr__
def __getattr__(name: str) -> Any
Lazy import pattern for DevServer to avoid loading heavy dependencies.
This defers the import of watchdog and other dev server dependencies until actually needed, preventing noisy runtime warnings in free-threaded Python when users run other commands that don't require the dev server.
Parameters 1
| Name | Type | Default | Description |
|---|---|---|---|
name |
str |
— | The attribute name being accessed |
Returns
The requested attribute (DevServer)Any
—