Fix typing on Context.user_id (#68019)
This commit is contained in:
parent
09944d936d
commit
d3deae6288
2 changed files with 2 additions and 1 deletions
|
@ -701,7 +701,7 @@ class HomeAssistant:
|
|||
class Context:
|
||||
"""The context that triggered something."""
|
||||
|
||||
user_id: str = attr.ib(default=None)
|
||||
user_id: str | None = attr.ib(default=None)
|
||||
parent_id: str | None = attr.ib(default=None)
|
||||
id: str = attr.ib(factory=uuid_util.random_uuid_hex)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue