Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/bslatkin/effectivepython
/ DatabaseConnection
Class
DatabaseConnection
example_code/item_111.py:51–53 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
49
50
print(
"Example 1"
)
51
class
DatabaseConnection:
52
def
__init__(self, host, port):
53
pass
54
55
56
class
DatabaseConnectionError(Exception):
Callers
1
item_111.py
File · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected