Skip to content

Commit

Permalink
Re-generate Python bindings typings
Browse files Browse the repository at this point in the history
  • Loading branch information
touilleMan committed Sep 25, 2024
1 parent 5007525 commit 921265f
Show file tree
Hide file tree
Showing 18 changed files with 110 additions and 596 deletions.
4 changes: 2 additions & 2 deletions server/parsec/_parsec_pyi/protocol/__init__.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

from __future__ import annotations

from . import anonymous_cmds, authenticated_cmds, invited_cmds
from . import anonymous_cmds, authenticated_cmds, invited_cmds, tos_cmds

class ActiveUsersLimit:
NO_LIMIT: ActiveUsersLimit
Expand All @@ -23,4 +23,4 @@ class ActiveUsersLimit:
def __lt__(self, other: object) -> bool: ...
def __ne__(self, other: object) -> bool: ...

__all__ = ["ActiveUsersLimit", "anonymous_cmds", "authenticated_cmds", "invited_cmds"]
__all__ = ["ActiveUsersLimit", "anonymous_cmds", "authenticated_cmds", "invited_cmds", "tos_cmds"]
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,6 @@ from . import (
certificate_get,
device_create,
events_listen,
invite_1_greeter_wait_peer,
invite_2a_greeter_get_hashed_nonce,
invite_2b_greeter_send_nonce,
invite_3a_greeter_wait_peer_trust,
invite_3b_greeter_signify_trust,
invite_4_greeter_communicate,
invite_cancel,
invite_complete,
invite_greeter_cancel_greeting_attempt,
Expand Down Expand Up @@ -55,12 +49,6 @@ class AnyCmdReq:
| certificate_get.Req
| device_create.Req
| events_listen.Req
| invite_1_greeter_wait_peer.Req
| invite_2a_greeter_get_hashed_nonce.Req
| invite_2b_greeter_send_nonce.Req
| invite_3a_greeter_wait_peer_trust.Req
| invite_3b_greeter_signify_trust.Req
| invite_4_greeter_communicate.Req
| invite_cancel.Req
| invite_complete.Req
| invite_greeter_cancel_greeting_attempt.Req
Expand Down Expand Up @@ -97,12 +85,6 @@ __all__ = [
"certificate_get",
"device_create",
"events_listen",
"invite_1_greeter_wait_peer",
"invite_2a_greeter_get_hashed_nonce",
"invite_2b_greeter_send_nonce",
"invite_3a_greeter_wait_peer_trust",
"invite_3b_greeter_signify_trust",
"invite_4_greeter_communicate",
"invite_cancel",
"invite_complete",
"invite_greeter_cancel_greeting_attempt",
Expand Down

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

20 changes: 1 addition & 19 deletions server/parsec/_parsec_pyi/protocol/invited_cmds/v4/__init__.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,6 @@
from __future__ import annotations

from . import (
invite_1_claimer_wait_peer,
invite_2a_claimer_send_hashed_nonce,
invite_2b_claimer_send_nonce,
invite_3a_claimer_signify_trust,
invite_3b_claimer_wait_peer_trust,
invite_4_claimer_communicate,
invite_claimer_cancel_greeting_attempt,
invite_claimer_start_greeting_attempt,
invite_claimer_step,
Expand All @@ -23,13 +17,7 @@ class AnyCmdReq:
def load(
cls, raw: bytes
) -> (
invite_1_claimer_wait_peer.Req
| invite_2a_claimer_send_hashed_nonce.Req
| invite_2b_claimer_send_nonce.Req
| invite_3a_claimer_signify_trust.Req
| invite_3b_claimer_wait_peer_trust.Req
| invite_4_claimer_communicate.Req
| invite_claimer_cancel_greeting_attempt.Req
invite_claimer_cancel_greeting_attempt.Req
| invite_claimer_start_greeting_attempt.Req
| invite_claimer_step.Req
| invite_info.Req
Expand All @@ -38,12 +26,6 @@ class AnyCmdReq:

__all__ = [
"AnyCmdReq",
"invite_1_claimer_wait_peer",
"invite_2a_claimer_send_hashed_nonce",
"invite_2b_claimer_send_nonce",
"invite_3a_claimer_signify_trust",
"invite_3b_claimer_wait_peer_trust",
"invite_4_claimer_communicate",
"invite_claimer_cancel_greeting_attempt",
"invite_claimer_start_greeting_attempt",
"invite_claimer_step",
Expand Down
Loading

0 comments on commit 921265f

Please sign in to comment.