We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 40c1630 commit 4746433Copy full SHA for 4746433
linode_api4/objects/account.py
@@ -3,6 +3,7 @@
3
from datetime import datetime
4
5
import requests
6
+from deprecated import deprecated
7
8
from linode_api4.errors import ApiError, UnexpectedResponseError
9
from linode_api4.objects import DATE_FORMAT, Volume
@@ -305,6 +306,12 @@ def volume(self):
305
306
return Volume(self._client, self.entity.id)
307
return None
308
309
+ @deprecated(
310
+ reason="`mark_read` API is deprecated. Use the 'mark_seen' "
311
+ "API instead. Please note that the `mark_seen` API functions "
312
+ "differently and will mark all events up to and including the "
313
+ "referenced event-id as 'seen' rather than individual events.",
314
+ )
315
def mark_read(self):
316
"""
317
Marks a single Event as read.
0 commit comments