Skip to content

Commit

Permalink
[Generator] (tidy) renamed filter
Browse files Browse the repository at this point in the history
  • Loading branch information
Supam committed Feb 26, 2025
1 parent 5541d48 commit 5f2542d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .generator/src/generator/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ def load_environment(version: str) -> Environment:
env.filters["is_json_api"] = openapi.is_json_api
env.filters["capitalize"] = utils.capitalize
env.filters["is_primitive"] = utils.is_primitive
env.filters["print"] = utils.print_filter
env.filters["debug"] = utils.debug_filter
env.filters["response_type"] = type.get_type_for_response
env.filters["return_type"] = type.return_type
env.filters["tf_sort_params_by_type"] = type.tf_sort_params_by_type
Expand Down
2 changes: 1 addition & 1 deletion .generator/src/generator/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,6 @@ def is_nullable(schema):
return schema.get("nullable", False)


def print_filter(value):
def debug_filter(value):
print(value)
return value

0 comments on commit 5f2542d

Please sign in to comment.