MCPcopy Create free account
hub / github.com/kivy/python-for-android / Person

Class Person

testapps/testapp_sqlite_openssl/main.py:50–62  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

48db = SqliteDatabase('test.db')
49
50class Person(Model):
51 name = CharField()
52 birthday = DateField()
53 is_relative = BooleanField()
54
55 class Meta:
56 database = db
57
58 def __repr__(self):
59 return '<Person: {}, {}>'.format(self.name, self.birthday)
60
61 def __str__(self):
62 return repr(self)
63
64db.connect()
65try:

Callers 1

main.pyFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected