Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/SeldonIO/seldon-server
/ doExitBecauseDbNotEmpty
Function
doExitBecauseDbNotEmpty
scripts/add_attr_schema.py:69–71 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
67
68
69
def
doExitBecauseDbNotEmpty():
70
print
"To run this script, the relevant DB tables must be empty. Please rerun this script with the -clean option to delete these entries."
71
exit(1)
72
73
def
addToDb(types):
74
with
db:
Callers
1
doDbChecks
Function · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected