Part of canonical.launchpad.database.message View In Hierarchy
Implements interfaces: canonical.launchpad.interfaces.message.IDirectEmailAuthorization
| Method | __init__ | Create a UserContactBy instance. |
| Method | is_allowed | See IDirectEmailAuthorization. |
| Method | throttle_date | See IDirectEmailAuthorization. |
| Method | message_quota | See IDirectEmailAuthorization. |
| Method | record | See IDirectEmailAuthorization. |
| Method | _getThrottlers | Return a result set of entries affecting throttling decisions. |
| Method | _isAllowedAfter | Like .is_allowed but used with an explicit cutoff date. |
UserContactBy instance.| Parameters | sender | The sender we're checking. (type: IPerson) |
| after | The cutoff date for throttling. Primarily used only for
testing purposes. (type: datetime.datetime) |
| Parameters | after | Explicit cut off date. (type: datetime.datetime) |
For testing purposes only.
| Parameters | after | Explicit cut off date. (type: datetime.datetime) |
| Returns | True if email is allowed (type: bool) | |