def METHOD_NAME(cls, col_type, scale):
    if col_type == oracledb.NUMBER:
        if scale is None:
            return TYPE_INTEGER
        if scale > 0:
            return TYPE_FLOAT
        return TYPE_INTEGER
    else:
        return TYPES_MAP.get(col_type, None)