diff --git a/.github/ISSUE_TEMPLATE/py-runtime-bug-report.md b/.github/ISSUE_TEMPLATE/py-runtime-bug-report.md index 4c4759c6c3..7505e64d15 100644 --- a/.github/ISSUE_TEMPLATE/py-runtime-bug-report.md +++ b/.github/ISSUE_TEMPLATE/py-runtime-bug-report.md @@ -20,10 +20,10 @@ A clear and concise description of what you expected to happen. If applicable, add screenshots to help explain your problem. **Runtime (please complete the following information):** - - OS: [e.g. Linux, MacOS] - - Genkit Version [e.g. 0.3.1] + - OS: [e.g. Linux, macOS] + - Genkit Version: [e.g. 0.3.1] -** Node version +**Python version** - run `python3 --version` at paste here **Additional context** diff --git a/py/bin/sanitize_schema_typing.py b/py/bin/sanitize_schema_typing.py index 2ec483c654..6138127e9f 100644 --- a/py/bin/sanitize_schema_typing.py +++ b/py/bin/sanitize_schema_typing.py @@ -129,7 +129,7 @@ def visit_ClassDef(self, _node: ast.ClassDef) -> ast.ClassDef: # noqa: N802 """ # First apply base class transformations recursively node = super().generic_visit(_node) - new_body: list[ ast.stmt | ast.Constant | ast.Assign ] = [] + new_body: list[ast.stmt | ast.Constant | ast.Assign] = [] # Handle Docstrings if not node.body or not isinstance(node.body[0], ast.Expr) or not isinstance(node.body[0].value, ast.Constant):