add type hint
This commit is contained in:
parent
eb275988bd
commit
ffa3bb3956
1 changed files with 1 additions and 1 deletions
|
@ -17,7 +17,7 @@ class PushMirrorConfig:
|
||||||
immediate: bool | None = None
|
immediate: bool | None = None
|
||||||
sync_on_commit: 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)()
|
result = type(self)()
|
||||||
for f in fields(self):
|
for f in fields(self):
|
||||||
value = ( # pyright: ignore[reportAny]
|
value = ( # pyright: ignore[reportAny]
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue