Skip to content

Commit

Permalink
Update utils/templates/types.py.tpl
Browse files Browse the repository at this point in the history
Co-authored-by: Quentin Pradet <[email protected]>
  • Loading branch information
miguelgrinberg and pquentin authored Sep 11, 2024
1 parent 1c046aa commit 1c1a9d1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion utils/templates/types.py.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ PipeSeparatedFlags = str


{% for k in classes %}
class {{ k.name }}({% if k.parent %}{{ k.parent }}{% else %}AttrDict[Any]{% endif %}):
class {{ k.name }}({ k.parent if k.parent else "AttrDict[Any]" }}):
{% if k.args %}
"""
{% for arg in k.args %}
Expand Down

0 comments on commit 1c1a9d1

Please sign in to comment.