

def __init__(self, event_dict, internal_metadata_dict={
    
}, rejected_reason=None):
    event_dict = dict(event_dict)
    signatures = {name: {sig_id: sig for (sig_id, sig) in sigs.items()} for (name, sigs) in event_dict.pop('signatures', {
        
    }).items()}
    unsigned = dict(event_dict.pop('unsigned', {
        
    }))
    event_dict = intern_dict(event_dict)
    if USE_FROZEN_DICTS:
        frozen_dict = freeze(event_dict)
    else:
        frozen_dict = event_dict
    super(FrozenEvent, self).__init__(frozen_dict, signatures=signatures, unsigned=unsigned, internal_metadata_dict=internal_metadata_dict, rejected_reason=rejected_reason)

dataset/ETHPy150Open matrix-org/synapse/synapse/events/__init__.py FrozenEvent.__init__/original