Add typing info to EventMetadata
This commit is contained in:
parent
80bad7bf8d
commit
267e02480f
1 changed files with 6 additions and 6 deletions
|
@ -27,12 +27,12 @@ class EventMetadata():
|
||||||
|
|
||||||
def __init__(
|
def __init__(
|
||||||
self,
|
self,
|
||||||
event_name,
|
event_name: str,
|
||||||
timestamp,
|
timestamp: int,
|
||||||
cpu_id,
|
cpu_id: int,
|
||||||
procname = None,
|
procname: str = None,
|
||||||
pid = None,
|
pid: int = None,
|
||||||
tid = None,
|
tid: int = None,
|
||||||
) -> None:
|
) -> None:
|
||||||
"""
|
"""
|
||||||
Constructor.
|
Constructor.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue