Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/algorithmiaio/algorithmia-python
/ getName
Method
getName
Algorithmia/datadirectory.py:33–35 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
31
pass
32
33
def
getName(self):
34
_, name = getParentAndBase(self.path)
35
return
name
36
37
def
exists(self):
38
# Heading a directory apparently isn't a valid operation
Callers
2
test_get_name
Method · 0.95
getDir
Method · 0.45
Calls
1
getParentAndBase
Function · 0.90
Tested by
1
test_get_name
Method · 0.76