@@ -43,15 +43,15 @@ def upload_function_stats( # type: ignore[no-untyped-def]
4343 return False
4444
4545 # Get function counts: (total_calls, error_calls, invalid_args)
46- counts = wrapped_func ._get_counts ()
46+ counts = wrapped_func ._get_counts () # pylint: disable=protected-access
4747 total_calls , error_calls , invalid_args = counts
4848
4949 # Skip functions that haven't been called
5050 if total_calls == 0 :
5151 return True
5252
5353 # Get parameter statistics
54- param_stats = wrapped_func ._get_param_stats ()
54+ param_stats = wrapped_func ._get_param_stats () # pylint: disable=protected-access
5555
5656 # Build event parameters
5757 event_params = {
@@ -122,7 +122,7 @@ def upload_all_stats(
122122 skipped = 0
123123
124124 for wrapped_func in _wrapped :
125- counts = wrapped_func ._get_counts ()
125+ counts = wrapped_func ._get_counts () # pylint: disable=protected-access
126126 total_calls = counts [0 ]
127127
128128 if skip_uncalled and total_calls == 0 :
@@ -135,9 +135,9 @@ def upload_all_stats(
135135 # Upload summary statistics
136136 summary_params = {
137137 "total_wrapped_functions" : len (_wrapped ),
138- "functions_called" : sum (1 for f in _wrapped if f ._get_counts ()[0 ] > 0 ),
139- "total_function_calls" : sum (f ._get_counts ()[0 ] for f in _wrapped ),
140- "total_errors" : sum (f ._get_counts ()[1 ] for f in _wrapped ),
138+ "functions_called" : sum (1 for f in _wrapped if f ._get_counts ()[0 ] > 0 ), # pylint: disable=protected-access
139+ "total_function_calls" : sum (f ._get_counts ()[0 ] for f in _wrapped ), # pylint: disable=protected-access
140+ "total_errors" : sum (f ._get_counts ()[1 ] for f in _wrapped ), # pylint: disable=protected-access
141141 }
142142
143143 if package_name :
0 commit comments