Public Member Functions | |
| Context | __copy__ (self) |
| Context | __deepcopy__ (self, dict[int, Any] memo) |
| bool | __eq__ (self, object other) |
| None | __init__ (self, str|None user_id=None, str|None parent_id=None, str|None id=None) |
| ReadOnlyDict[str, str|None] | as_dict (self) |
| json_fragment | json_fragment (self) |
Public Attributes | |
| id | |
| parent_id | |
| user_id | |
Private Member Functions | |
| dict[str, str|None] | _as_dict (self) |
| ReadOnlyDict[str, str|None] | _as_read_only_dict (self) |
Static Private Attributes | |
| __slots__ | |
| None homeassistant.core.Context.__init__ | ( | self, | |
| str | None | user_id = None, |
||
| str | None | parent_id = None, |
||
| str | None | id = None |
||
| ) |
| Context homeassistant.core.Context.__copy__ | ( | self | ) |
| Context homeassistant.core.Context.__deepcopy__ | ( | self, | |
| dict[int, Any] | memo | ||
| ) |
| bool homeassistant.core.Context.__eq__ | ( | self, | |
| object | other | ||
| ) |
|
private |
|
private |
| ReadOnlyDict[str, str | None] homeassistant.core.Context.as_dict | ( | self | ) |
| json_fragment homeassistant.core.Context.json_fragment | ( | self | ) |