Skip to content

Commit

Permalink
Remove use of lambda func
Browse files Browse the repository at this point in the history
  • Loading branch information
luisfpereira committed Jan 17, 2025
1 parent 1f5ad56 commit 81df9ac
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion topobenchmark/transforms/_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,9 @@ def discover_objs(package_path, condition=None):
Dictionary mapping class names to their corresponding class objects.
"""
if condition is None:
condition = lambda name, obj: True

def condition(name, obj):
return True

objs = {}

Expand Down

0 comments on commit 81df9ac

Please sign in to comment.