MCPcopy Create free account
hub / github.com/baidu/bigflow / sort_by

Method sort_by

bigflow_python/python/bigflow/output.py:177–190  ·  view source on GitHub ↗

通过key_read_fn获取key,并根据key对数据进行排序(默认为升序) Args: key_reader_fn (callable): 用户获取key的函数 reverse (bool): 是否降序排序 Returns: FileBase: 返回self

(self, key_read_fn=None, reverse=False)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 3

sort_byFunction · 0.45
transform_to_nodeMethod · 0.45
transform_to_nodeMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected