Exemplo n.º 1
0
def get_object_as_dict(o, cls, wrapper_name=None, skip_depth=0):
    return list(
        HierDictDocument._object_to_doc(cls, o, wrapper_name, skip_depth))[0]
Exemplo n.º 2
0
def get_object_as_dict(o, cls, wrapper_name=None, skip_depth=0):
    return list(HierDictDocument._object_to_doc(cls, o, wrapper_name, skip_depth))[0]