package

class gratipay.models.team.package.Package[source]

A Team can have a Package associated with it. Linking/unlinking API is over on Package.

package

A computed attribute, the Package linked to this team if there is one, otherwise None. Makes a database call.

load_package(cursor)[source]

Given a database cursor, return a Package if there is one linked to this team, or None if not.