File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -301,7 +301,7 @@ def observed_foo(x):
301
301
302
302
def test_observe_input_formatter_with_kwargs (exporter : InMemorySpanExporter ):
303
303
def input_formatter (x , ** kwargs ):
304
- return {"x" : x + 1 , "custom-A" : f"{ kwargs .get ("a" )} --" }
304
+ return {"x" : x + 1 , "custom-A" : f"{ kwargs .get ('a' )} --" }
305
305
306
306
@observe (input_formatter = input_formatter )
307
307
def observed_foo (x , ** kwargs ):
@@ -338,7 +338,7 @@ async def test_observe_input_formatter_with_kwargs_async(
338
338
exporter : InMemorySpanExporter ,
339
339
):
340
340
def input_formatter (x , ** kwargs ):
341
- return {"x" : x + 1 , "custom-A" : f"{ kwargs .get ("a" )} --" }
341
+ return {"x" : x + 1 , "custom-A" : f"{ kwargs .get ('a' )} --" }
342
342
343
343
@observe (input_formatter = input_formatter )
344
344
async def observed_foo (x , ** kwargs ):
You can’t perform that action at this time.
0 commit comments