1
0
Fork 0

add type hint

This commit is contained in:
Lukas Wurzinger 2025-05-02 18:29:16 +02:00
parent eb275988bd
commit ffa3bb3956
No known key found for this signature in database

View file

@ -17,7 +17,7 @@ class PushMirrorConfig:
immediate: bool | None = None
sync_on_commit: bool | None = None
def overlay(self, other: Self) -> Self:
def overlay(self: Self, other: Self) -> Self:
result = type(self)()
for f in fields(self):
value = ( # pyright: ignore[reportAny]