def case(case_, expand_tree=None): if expand_tree is None: expand_tree = {} return Preserializer.case(case_, expand_tree=expand_tree)