Fix mypy errors (#4)

Signed-off-by: Christophe Bedard <christophe.bedard@apex.ai>
This commit is contained in:
Christophe Bedard 2023-01-31 10:33:27 -08:00 committed by GitHub
parent f1e1500862
commit d4ff095a1b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -41,9 +41,9 @@ class EventMetadata():
event_name: str,
timestamp: int,
cpu_id: int,
procname: str = None,
pid: int = None,
tid: int = None,
procname: Optional[str] = None,
pid: Optional[int] = None,
tid: Optional[int] = None,
) -> None:
"""
Create an EventMetadata.