Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ndleah/python-mini-project
/ validation
Method
validation
Sqlite-crud/main.py:88–89 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
86
87
# User Input Validation
88
def
validation(self):
89
return
len(self.name.get()) != 0 and len(self.price.get()) != 0
90
91
def
add_product(self):
92
if
self.validation():
Callers
1
add_product
Method · 0.95
Calls
no outgoing calls
Tested by
no test coverage detected