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

Function doExitBecauseDbNotEmpty

python/seldon/cli/attr_schema_utils.py:71–73  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

69
70
71def doExitBecauseDbNotEmpty():
72 print "To run this script, the relevant DB tables must be empty. Please rerun this script with the -clean option to delete these entries."
73 exit(1)
74
75def addToDb(db, types):
76 with db:

Callers 1

doDbChecksFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected