-
Notifications
You must be signed in to change notification settings - Fork 38
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
57ffcd6
commit c459cc7
Showing
6 changed files
with
164 additions
and
46 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
# Parsec Cloud (https://parsec.cloud) Copyright (c) BUSL-1.1 2016-present Scille SAS | ||
|
||
# /!\ Autogenerated by misc/gen_protocol_typings.py, any modification will be lost ! | ||
|
||
from __future__ import annotations | ||
|
||
from . import v4 | ||
from . import v4 as latest | ||
|
||
__all__ = ["latest", "v4"] |
13 changes: 13 additions & 0 deletions
13
server/parsec/_parsec_pyi/protocol/tos_cmds/v4/__init__.pyi
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
# Parsec Cloud (https://parsec.cloud) Copyright (c) BUSL-1.1 2016-present Scille SAS | ||
|
||
# /!\ Autogenerated by misc/gen_protocol_typings.py, any modification will be lost ! | ||
|
||
from __future__ import annotations | ||
|
||
from . import tos_accept, tos_get | ||
|
||
class AnyCmdReq: | ||
@classmethod | ||
def load(cls, raw: bytes) -> tos_accept.Req | tos_get.Req: ... | ||
|
||
__all__ = ["AnyCmdReq", "tos_accept", "tos_get"] |
40 changes: 40 additions & 0 deletions
40
server/parsec/_parsec_pyi/protocol/tos_cmds/v4/tos_accept.pyi
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
# Parsec Cloud (https://parsec.cloud) Copyright (c) BUSL-1.1 2016-present Scille SAS | ||
|
||
# /!\ Autogenerated by misc/gen_protocol_typings.py, any modification will be lost ! | ||
|
||
from __future__ import annotations | ||
|
||
from parsec._parsec import DateTime | ||
|
||
class Req: | ||
def __init__(self, tos_updated_on: DateTime) -> None: ... | ||
def dump(self) -> bytes: ... | ||
@property | ||
def tos_updated_on(self) -> DateTime: ... | ||
|
||
class Rep: | ||
@staticmethod | ||
def load(raw: bytes) -> Rep: ... | ||
def dump(self) -> bytes: ... | ||
|
||
class RepUnknownStatus(Rep): | ||
def __init__(self, status: str, reason: str | None) -> None: ... | ||
@property | ||
def status(self) -> str: ... | ||
@property | ||
def reason(self) -> str | None: ... | ||
|
||
class RepOk(Rep): | ||
def __init__( | ||
self, | ||
) -> None: ... | ||
|
||
class RepNoTos(Rep): | ||
def __init__( | ||
self, | ||
) -> None: ... | ||
|
||
class RepTosMismatch(Rep): | ||
def __init__( | ||
self, | ||
) -> None: ... |
37 changes: 37 additions & 0 deletions
37
server/parsec/_parsec_pyi/protocol/tos_cmds/v4/tos_get.pyi
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
# Parsec Cloud (https://parsec.cloud) Copyright (c) BUSL-1.1 2016-present Scille SAS | ||
|
||
# /!\ Autogenerated by misc/gen_protocol_typings.py, any modification will be lost ! | ||
|
||
from __future__ import annotations | ||
|
||
from parsec._parsec import DateTime | ||
|
||
class Req: | ||
def __init__( | ||
self, | ||
) -> None: ... | ||
def dump(self) -> bytes: ... | ||
|
||
class Rep: | ||
@staticmethod | ||
def load(raw: bytes) -> Rep: ... | ||
def dump(self) -> bytes: ... | ||
|
||
class RepUnknownStatus(Rep): | ||
def __init__(self, status: str, reason: str | None) -> None: ... | ||
@property | ||
def status(self) -> str: ... | ||
@property | ||
def reason(self) -> str | None: ... | ||
|
||
class RepOk(Rep): | ||
def __init__(self, per_locale_urls: dict[str, str], updated_on: DateTime) -> None: ... | ||
@property | ||
def per_locale_urls(self) -> dict[str, str]: ... | ||
@property | ||
def updated_on(self) -> DateTime: ... | ||
|
||
class RepNoTos(Rep): | ||
def __init__( | ||
self, | ||
) -> None: ... |
Oops, something went wrong.