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__( 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.