Fix not picking up result from falsy result (#107)

* Fix not picking up result from falsy result

* add test and docs

* typo
This commit is contained in:
Stan Triepels
2023-09-01 02:36:15 +02:00
committed by GitHub
parent a08ef61ba5
commit d8cc0cc4f4
4 changed files with 31 additions and 2 deletions
+4
View File
@@ -46,6 +46,10 @@ def hello():
return "hello"
def return_falsy_value():
return []
def result(obj):
print(f"RESULT HOOK {obj.name} : {obj.result()}")