diff options
| author | 2019-09-26 20:28:31 -0700 | |
|---|---|---|
| committer | 2019-10-01 18:25:31 -0700 | |
| commit | 7a15665079fb9d31bf27e2a23600b42fb7758ed6 (patch) | |
| tree | 2635451c198e2543562692ce3e8f621dffcbaecc /tests | |
| parent | Add type alias for infraction objects (diff) | |
Use None for default values for notify_infraction's parameters
These adjustments make it easier to call the function using values
directly from the infraction object as arguments.
* Set actual default values inside the function if values are None
* Accept only a string for expires_at
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions