my_datatables.py 文件源码

python
阅读 19 收藏 0 点赞 0 评论 0

项目:ostip 作者: kx499 项目源码 文件源码
def __new__(cls, column_name, mData=None, search_like=True,
                filter=str, searchable=True, filterarg='cell',
                nulls_order=None):
        """Set default values for mData and filter.

        On creation, sets default None values for mData and string value for
        filter (cause: Object representation is not JSON serializable).
        """
        # check if allowed value
        if nulls_order and nulls_order not in ['nullsfirst', 'nullslast']:
            raise ValueError('`%s` is not an allowed value for nulls_order.'
                             % nulls_order)

        return super(ColumnDT, cls).__new__(
            cls, column_name, mData, search_like, filter, searchable,
            filterarg, nulls_order)
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号