-
-
Notifications
You must be signed in to change notification settings - Fork 13
Open
Description
Using a functools.partial() object in health() results in an error:
File "/usr/local/lib/python3.10/site-packages/fastapi_health/route.py", line 40, in health
f"{condition.__name__}",
AttributeError: 'functools.partial' object has no attribute '__name__'
you can use condition.func.__name__ instead.
Metadata
Metadata
Assignees
Labels
No labels