MCPcopy Create free account
hub / github.com/SeldonIO/seldon-server / doExitBecauseDbNotEmpty

Function doExitBecauseDbNotEmpty

python/seldon/shell/attr_schema_utils.py:78–80  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

76
77
78def doExitBecauseDbNotEmpty():
79 print "To run this script, the relevant DB tables must be empty. Please rerun this script with the -clean option to delete these entries."
80 exit(1)
81
82def addToDb(db, types):
83 with db:

Callers 1

doDbChecksFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected