* refactor: remove redundant comments and docstrings * fix(signal): annotate async context manager as a generator
37 lines
727 B
Python
37 lines
727 B
Python
from nanobot.pairing.store import (
|
|
approve_code,
|
|
clear_channel,
|
|
deny_code,
|
|
format_expiry,
|
|
format_pairing_reply,
|
|
generate_code,
|
|
get_approved,
|
|
handle_pairing_command,
|
|
is_approved,
|
|
list_pending,
|
|
record_delivery,
|
|
revoke,
|
|
revoke_channel,
|
|
)
|
|
|
|
PAIRING_CODE_META_KEY = "_pairing_code"
|
|
PAIRING_COMMAND_META_KEY = "_pairing_command"
|
|
|
|
__all__ = [
|
|
"approve_code",
|
|
"clear_channel",
|
|
"deny_code",
|
|
"format_expiry",
|
|
"format_pairing_reply",
|
|
"generate_code",
|
|
"get_approved",
|
|
"handle_pairing_command",
|
|
"is_approved",
|
|
"list_pending",
|
|
"record_delivery",
|
|
"revoke",
|
|
"revoke_channel",
|
|
"PAIRING_CODE_META_KEY",
|
|
"PAIRING_COMMAND_META_KEY",
|
|
]
|