Skip to content

Commit f2212c0

Browse files
committed
Add unified client
1 parent 561c75a commit f2212c0

23 files changed

+14152
-0
lines changed

generate-code.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -179,6 +179,8 @@ def main():
179179
## TODO(v4): Delete this workaround in v4. This workaround keeps backward compatibility.
180180
rewrite_liff_function_name_backward_compats()
181181

182+
run_command('python3 tools/generate_unified_client.py')
183+
182184

183185
if __name__ == "__main__":
184186
main()

linebot/v3/__init__.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,3 +20,6 @@
2020
WebhookHandler,
2121
WebhookPayload,
2222
)
23+
24+
from .line_bot_client import LineBotClient # noqa
25+
from .async_line_bot_client import AsyncLineBotClient # noqa

linebot/v3/async_line_bot_client.py

Lines changed: 6668 additions & 0 deletions
Large diffs are not rendered by default.

linebot/v3/audience/api/async_manage_audience.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,9 @@ class AsyncManageAudience(object):
5252
Ref: https://openapi-generator.tech
5353
5454
Do not edit the class manually.
55+
56+
Tip: Use :class:`linebot.v3.AsyncLineBotClient` for a unified client
57+
that combines all LINE API operations into a single instance.
5558
"""
5659

5760
def __init__(self, api_client=None):

linebot/v3/audience/api/async_manage_audience_blob.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,9 @@ class AsyncManageAudienceBlob(object):
3939
Ref: https://openapi-generator.tech
4040
4141
Do not edit the class manually.
42+
43+
Tip: Use :class:`linebot.v3.AsyncLineBotClient` for a unified client
44+
that combines all LINE API operations into a single instance.
4245
"""
4346

4447
def __init__(self, api_client=None):

linebot/v3/audience/api/manage_audience.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,9 @@ class ManageAudience(object):
5050
Ref: https://openapi-generator.tech
5151
5252
Do not edit the class manually.
53+
54+
Tip: Use :class:`linebot.v3.LineBotClient` for a unified client
55+
that combines all LINE API operations into a single instance.
5356
"""
5457

5558
def __init__(self, api_client=None):

linebot/v3/audience/api/manage_audience_blob.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,9 @@ class ManageAudienceBlob(object):
3737
Ref: https://openapi-generator.tech
3838
3939
Do not edit the class manually.
40+
41+
Tip: Use :class:`linebot.v3.LineBotClient` for a unified client
42+
that combines all LINE API operations into a single instance.
4043
"""
4144

4245
def __init__(self, api_client=None):

linebot/v3/insight/api/async_insight.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,9 @@ class AsyncInsight(object):
4343
Ref: https://openapi-generator.tech
4444
4545
Do not edit the class manually.
46+
47+
Tip: Use :class:`linebot.v3.AsyncLineBotClient` for a unified client
48+
that combines all LINE API operations into a single instance.
4649
"""
4750

4851
def __init__(self, api_client=None):

linebot/v3/insight/api/insight.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,9 @@ class Insight(object):
4141
Ref: https://openapi-generator.tech
4242
4343
Do not edit the class manually.
44+
45+
Tip: Use :class:`linebot.v3.LineBotClient` for a unified client
46+
that combines all LINE API operations into a single instance.
4447
"""
4548

4649
def __init__(self, api_client=None):

linebot/v3/liff/api/async_liff.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,9 @@ class AsyncLiff(object):
4040
Ref: https://openapi-generator.tech
4141
4242
Do not edit the class manually.
43+
44+
Tip: Use :class:`linebot.v3.AsyncLineBotClient` for a unified client
45+
that combines all LINE API operations into a single instance.
4346
"""
4447

4548
def __init__(self, api_client=None):

0 commit comments

Comments
 (0)