matridge.util¶
Attributes¶
Classes¶
dict() -> new empty dictionary |
Functions¶
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Module Contents¶
- class matridge.util.MatrixMixin[source]¶
Bases:
slidge.core.mixins.MessageMixin
- session: matridge.session.Session[source]¶
- async __get_reply_to(msg)[source]¶
- Parameters:
msg (nio.RoomMessage)
- Return type:
Optional[slidge.util.types.MessageReference]
- matridge.util.get_new_content(source)[source]¶
- Parameters:
source (dict)
- Return type:
Optional[nio.RoomMessage]
- class matridge.util.Credentials[source]¶
Bases:
TypedDict
dict() -> new empty dictionary dict(mapping) -> new dictionary initialized from a mapping object’s
(key, value) pairs
- dict(iterable) -> new dictionary initialized as if via:
d = {} for k, v in iterable:
d[k] = v
- dict(**kwargs) -> new dictionary initialized with the name=value pairs
in the keyword argument list. For example: dict(one=1, two=2)
Initialize self. See help(type(self)) for accurate signature.