Skip to content

Commit 3a3c807

Browse files
author
Worker Agent
committed
[DES-185] port teams adapter facade + tests
1 parent 48e9628 commit 3a3c807

3 files changed

Lines changed: 1437 additions & 1 deletion

File tree

Lines changed: 41 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,43 @@
1-
"""Microsoft Teams adapter for chat-py"""
1+
"""Microsoft Teams adapter for chat-py."""
2+
3+
from __future__ import annotations
4+
5+
from .adapter import (
6+
BOT_FRAMEWORK_ISSUER,
7+
BOT_FRAMEWORK_JWKS_URL,
8+
DEFAULT_TEAMS_API_URL,
9+
TeamsAdapter,
10+
TeamsAdapterConfig,
11+
TeamsAuthCertificate,
12+
TeamsAuthFederated,
13+
create_teams_adapter,
14+
verify_bearer_token,
15+
)
16+
from .cards import AUTO_SUBMIT_ACTION_ID, card_to_adaptive_card, card_to_fallback_text
17+
from .errors import handle_teams_error
18+
from .markdown import TeamsFormatConverter
19+
from .thread_id import TeamsThreadId, decode_thread_id, encode_thread_id, is_dm
220

321
__version__ = "0.1.0"
22+
23+
__all__ = [
24+
"AUTO_SUBMIT_ACTION_ID",
25+
"BOT_FRAMEWORK_ISSUER",
26+
"BOT_FRAMEWORK_JWKS_URL",
27+
"DEFAULT_TEAMS_API_URL",
28+
"TeamsAdapter",
29+
"TeamsAdapterConfig",
30+
"TeamsAuthCertificate",
31+
"TeamsAuthFederated",
32+
"TeamsFormatConverter",
33+
"TeamsThreadId",
34+
"__version__",
35+
"card_to_adaptive_card",
36+
"card_to_fallback_text",
37+
"create_teams_adapter",
38+
"decode_thread_id",
39+
"encode_thread_id",
40+
"handle_teams_error",
41+
"is_dm",
42+
"verify_bearer_token",
43+
]

0 commit comments

Comments
 (0)