mirror of
https://git.anonymousland.org/anonymousland/synapse-product.git
synced 2025-02-09 18:18:28 -05:00
Make None optional
This commit is contained in:
parent
11faa4296d
commit
54cc69154e
@ -99,7 +99,7 @@ class EventBase(object):
|
|||||||
|
|
||||||
return d
|
return d
|
||||||
|
|
||||||
def get(self, key, default):
|
def get(self, key, default=None):
|
||||||
return self._event_dict.get(key, default)
|
return self._event_dict.get(key, default)
|
||||||
|
|
||||||
def get_internal_metadata_dict(self):
|
def get_internal_metadata_dict(self):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user