def get_object_type(value):
    if not isclass(value):
        obj_type = type(value)
    else:
        obj_type = value
    return obj_type
Getting object type.
dataset/ETHPy150Open Relrin/aiorest-ws/aiorest_ws/utils/validators.py/get_object_type