legacyremote: fix api versioning todo

This commit is contained in:
Thomas Waldmann 2025-05-19 21:18:52 +02:00
parent 708c93a4b0
commit 31b369ff85
No known key found for this signature in database
GPG key ID: 243ACFA951F78E01

View file

@ -619,10 +619,7 @@ class LegacyRemoteRepository:
send_buffer()
self.ignore_responses |= set(waiting_for) # we lose order here
@api(
since=parse_version("1.0.0"),
v1_or_v2={"since": parse_version("2.0.0b8"), "previously": True}, # TODO fix version
)
@api(since=parse_version("1.0.0"), v1_or_v2={"since": parse_version("2.0.0b10"), "previously": True})
def open(self, path, create=False, lock_wait=None, lock=True, exclusive=False, v1_or_v2=False):
"""actual remoting is done via self.call in the @api decorator"""