Add typing info to EventMetadata

This commit is contained in:
Christophe Bedard 2019-07-31 14:00:47 +02:00
parent 80bad7bf8d
commit 267e02480f

View file

@ -27,12 +27,12 @@ class EventMetadata():
def __init__(
self,
event_name,
timestamp,
cpu_id,
procname = None,
pid = None,
tid = None,
event_name: str,
timestamp: int,
cpu_id: int,
procname: str = None,
pid: int = None,
tid: int = None,
) -> None:
"""
Constructor.