Fiz name of decorated functions

This commit is contained in:
Andras Schmelczer 2022-07-03 17:47:49 +02:00
parent 40e4530c02
commit 26a91293f2
No known key found for this signature in database
GPG key ID: 0EA1BC97D0AB076E

View file

@ -50,7 +50,7 @@ def get_config(
chunk_count=chunk_count,
chunk_size=chunk_size,
input_length=input_length,
function_name=function.__name__,
function_name=function.__name__ if hasattr(function, "__name__") else "unknown",
)
return config