Skip to content

Services

ServiceResponse

Bases: BaseModel

Represents the response from a service call.

Source code in src/hassette/models/services.py
 6
 7
 8
 9
10
class ServiceResponse(BaseModel):
    """Represents the response from a service call."""

    context: Context
    response: dict = Field(default_factory=dict)