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

Method nested_level

bigflow_python/python/bigflow/ptable.py:133–146  ·  view source on GitHub ↗

返回该PTable的嵌套层级,即其Value中包含几个PTable Returns: int: 嵌套层级 >>> _pipeline.parallelize({"A": 1}).nested_level() >>> 0 >>> _pipeline.parallelize({"A": "a": 1}).nested_level() >>> 1

(self)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 14

__repr__Method · 0.95
flattenFunction · 0.80
__init__Method · 0.80
flattenFunction · 0.80
test_from_pcollectionMethod · 0.80
test_from_parallelizeMethod · 0.80
pipeFunction · 0.80
flatten_valuesFunction · 0.80
flattenFunction · 0.80
test_nested_flattenMethod · 0.80
test_flattenMethod · 0.80
test_nested_flattenMethod · 0.80

Calls

no outgoing calls

Tested by 6

test_from_pcollectionMethod · 0.64
test_from_parallelizeMethod · 0.64
test_nested_flattenMethod · 0.64
test_flattenMethod · 0.64
test_nested_flattenMethod · 0.64
test_constructMethod · 0.64