Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/M-Nauta/ProtoTree
/ num_leaves
Method
num_leaves
prototree/node.py:44–45 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
42
43
@property
44
def
num_leaves(self) -> int:
45
return
len(self.leaves)
46
47
@property
48
def
depth(self) -> int:
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected