Added timeout and limit to script entries
This commit is contained in:
@@ -13,14 +13,19 @@ class ReadEntry(Entry):
|
||||
_read: Whether content has been read
|
||||
"""
|
||||
|
||||
def __init__(self, io_buffer, id: str, timestamp: datetime):
|
||||
def __init__(
|
||||
self,
|
||||
id: str,
|
||||
timestamp: datetime,
|
||||
io_buffer,
|
||||
):
|
||||
"""
|
||||
Initialize a new read entry.
|
||||
|
||||
Args:
|
||||
io_buffer: Buffer to use for IO operations
|
||||
id: Unique identifier for this entry
|
||||
timestamp: Creation timestamp for this entry
|
||||
io_buffer: Buffer to use for IO operations
|
||||
"""
|
||||
super().__init__(id, timestamp)
|
||||
self._content = ""
|
||||
|
||||
Reference in New Issue
Block a user