From 5b1c7d41722ddc0c756169888c1b7e5c981a75c5 Mon Sep 17 00:00:00 2001 From: RacerCodeQualityPyreMissingAnnotations Bot Date: Wed, 13 May 2026 06:56:15 -0700 Subject: [PATCH] Fix PYRE_MISSING_ANNOTATIONS issues in fbcode/HolisticTraceAnalysis/hta/common/trace_filter.py Reviewed By: fengxizhou Differential Revision: D104792447 --- hta/common/trace_filter.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hta/common/trace_filter.py b/hta/common/trace_filter.py index 2bbdf64b..a288c8b0 100644 --- a/hta/common/trace_filter.py +++ b/hta/common/trace_filter.py @@ -218,7 +218,7 @@ def __call__( class NameStringColumnFilter(Filter): - def __init__(self, name_pattern: str): + def __init__(self, name_pattern: str) -> None: self.name_pattern = name_pattern def __call__( @@ -319,7 +319,7 @@ def __call__( def _filter_gpu_kernels_with_cuda_sync( df: pd.DataFrame, symbol_table: TraceSymbolTable -): +) -> pd.Series: """Helper function that finds rows in the dataframe that are either GPU kernels or CUDA synchronization events."""