| Conditions | 1 |
| Total Lines | 11 |
| Code Lines | 2 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | from NextCloud.base import WithRequester |
||
| 23 | def delete_notification(self, notification_id): |
||
| 24 | """ |
||
| 25 | Delete single notification by id for a user |
||
| 26 | |||
| 27 | Args: |
||
| 28 | notification_id (int): Notification id |
||
| 29 | |||
| 30 | Returns: |
||
| 31 | |||
| 32 | """ |
||
| 33 | return self.requester.delete(url=notification_id) |
||
| 34 | |||
| 41 | return self.requester.delete() |