

@classmethod
def _with_json_dict(cls, jsondict):
    if (not isinstance(cls, dict)):
        raise Exception('Cannot use this method with anything but a JSON dictionary, got {}'.format(jsondict))
    return cls(jsondict)

dataset/ETHPy150Open smart-on-fhir/client-py/fhirclient/models/fhirabstractbase.py FHIRAbstractBase._with_json_dict/VarMisuse@20/25 `jsondict`->`cls`