MCPcopy 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
69def 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
73def addToDb(types):
74 with db:

Callers 1

doDbChecksFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected