Skip to content

Commit d226ae0

Browse files
add Self to generated code imports
1 parent 14f9bba commit d226ae0

File tree

1 file changed

+1
-1
lines changed
  • betterproto2_compiler/src/betterproto2_compiler/templates

1 file changed

+1
-1
lines changed

betterproto2_compiler/src/betterproto2_compiler/templates/header.py.j2

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ import dateutil.parser
1818
import warnings
1919
from collections.abc import AsyncIterable, AsyncIterator, Iterable, Iterator
2020
import typing
21-
from typing import TYPE_CHECKING
21+
from typing import TYPE_CHECKING, Self
2222

2323
{% if output_file.settings.pydantic_dataclasses %}
2424
import pydantic

0 commit comments

Comments
 (0)