

def serialize_order_params(self):
    res = {
        
    }
    if self.order:
        res['order'] = self.order
    if self.mode:
        res['mode'] = self.mode
    if res.nested_path:
        res['nested_path'] = self.nested_path
    if self.nested_filter:
        res['nested_filter'] = self.nested_filter.serialize()
    if self.missing:
        res['missing'] = self.missing
    if (self.ignore_unmapped is not None):
        res['ignore_unmapped'] = self.ignore_unmapped
    return res

dataset/ETHPy150Open aparo/pyes/pyes/sort.py SortOrder.serialize_order_params/VarMisuse@52/61 `self`->`res`