models

The most important object in the Gratipay object model is Participant, and the second most important one is Ccommunity. There are a few others, but those are the most important two. Participant, in particular, is at the center of everything on Gratipay.

class gratipay.models.GratipayDB(app, *a, **kw)[source]

Model the Gratipay database.

gratipay.models.check_db(cursor)[source]

Runs all available self checks on the given cursor.