File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -290,25 +290,25 @@ def push_scope( # noqa: F811
290290
291291
292292@scopemethod
293- def set_attribute (key : str , value : "Any" ) -> None :
293+ def set_attribute (attribute : str , value : "Any" ) -> None :
294294 """
295295 Set an attribute.
296296
297297 Any attributes-based telemetry (logs, metrics) captured in this scope will
298298 include this attribute.
299299 """
300- return get_isolation_scope ().set_attribute (key , value )
300+ return get_isolation_scope ().set_attribute (attribute , value )
301301
302302
303303@scopemethod
304- def remove_attribute (key : str ) -> None :
304+ def remove_attribute (attribute : str ) -> None :
305305 """
306306 Remove an attribute.
307307
308308 If the attribute doesn't exist, this function will not have any effect and
309309 it will also not raise an exception.
310310 """
311- return get_isolation_scope ().remove_attribute (key )
311+ return get_isolation_scope ().remove_attribute (attribute )
312312
313313
314314@scopemethod
You can’t perform that action at this time.
0 commit comments