Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/bslatkin/effectivepython
/ ZooDatabase
Class
ZooDatabase
example_code/item_112.py:51–60 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
49
50
print(
"Example 1"
)
51
class
ZooDatabase:
52
53
def
get_animals(self, species):
54
pass
55
56
def
get_food_period(self, species):
57
pass
58
59
def
feed_animal(self, name, when):
60
pass
61
62
63
print(
"Example 2"
)
Callers
1
get_database
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected