🔧 chore(util.py): exclude "self" parameter from template building

The "self" parameter is now excluded from the template building process. This change improves the accuracy of the generated template by removing unnecessary information.
This commit is contained in:
Gabriel Luiz Freitas Almeida 2023-06-29 17:39:12 -03:00
commit 26c42cac05

View file

@ -165,6 +165,7 @@ def build_template_from_method(
"required": param.default == param.empty,
}
for name, param in params.items()
if name != "self"
},
}