File tree 8 files changed +24
-24
lines changed
8 files changed +24
-24
lines changed Original file line number Diff line number Diff line change 16
16
python-version : 3.8
17
17
18
18
- name : Install Poetry
19
- run : curl -sSL https://install.python-poetry.org | python3 -
19
+ run : curl -sSL https://install.python-poetry.org | python3 - --version 1.8.4
20
20
21
21
- name : Build and publish
22
22
run : |
Original file line number Diff line number Diff line change 23
23
python-version : 3.8
24
24
25
25
- name : Install Poetry
26
- run : curl -sSL https://install.python-poetry.org | python3 -
26
+ run : curl -sSL https://install.python-poetry.org | python3 - --version 1.8.4
27
27
28
28
- name : Set up Poetry environment
29
29
run : |
Original file line number Diff line number Diff line change 1
1
[tool .poetry ]
2
2
name = " qstash"
3
- version = " 2.0.2 "
3
+ version = " 2.0.3 "
4
4
description = " Python SDK for Upstash QStash"
5
5
license = " MIT"
6
6
authors = [
" Upstash <[email protected] >" ]
Original file line number Diff line number Diff line change 2
2
from qstash .client import QStash
3
3
from qstash .receiver import Receiver
4
4
5
- __version__ = "2.0.2 "
5
+ __version__ = "2.0.3 "
6
6
__all__ = ["QStash" , "AsyncQStash" , "Receiver" ]
Original file line number Diff line number Diff line change @@ -24,31 +24,31 @@ def __init__(
24
24
:param token: The authorization token from the Upstash console.
25
25
:param retry: Configures how the client should retry requests.
26
26
"""
27
- http = AsyncHttpClient (
27
+ self . http = AsyncHttpClient (
28
28
token ,
29
29
retry ,
30
30
base_url ,
31
31
)
32
- self .message = AsyncMessageApi (http )
32
+ self .message = AsyncMessageApi (self . http )
33
33
"""Message api."""
34
34
35
- self .url_group = AsyncUrlGroupApi (http )
35
+ self .url_group = AsyncUrlGroupApi (self . http )
36
36
"""Url group api."""
37
37
38
- self .queue = AsyncQueueApi (http )
38
+ self .queue = AsyncQueueApi (self . http )
39
39
"""Queue api."""
40
40
41
- self .schedule = AsyncScheduleApi (http )
41
+ self .schedule = AsyncScheduleApi (self . http )
42
42
"""Schedule api."""
43
43
44
- self .signing_key = AsyncSigningKeyApi (http )
44
+ self .signing_key = AsyncSigningKeyApi (self . http )
45
45
"""Signing key api."""
46
46
47
- self .event = AsyncEventApi (http )
47
+ self .event = AsyncEventApi (self . http )
48
48
"""Event api."""
49
49
50
- self .dlq = AsyncDlqApi (http )
50
+ self .dlq = AsyncDlqApi (self . http )
51
51
"""Dlq (Dead Letter Queue) api."""
52
52
53
- self .chat = AsyncChatApi (http )
53
+ self .chat = AsyncChatApi (self . http )
54
54
"""Chat api."""
Original file line number Diff line number Diff line change @@ -25,31 +25,31 @@ def __init__(
25
25
:param token: The authorization token from the Upstash console.
26
26
:param retry: Configures how the client should retry requests.
27
27
"""
28
- http = HttpClient (
28
+ self . http = HttpClient (
29
29
token ,
30
30
retry ,
31
31
base_url ,
32
32
)
33
- self .message = MessageApi (http )
33
+ self .message = MessageApi (self . http )
34
34
"""Message api."""
35
35
36
- self .url_group = UrlGroupApi (http )
36
+ self .url_group = UrlGroupApi (self . http )
37
37
"""Url group api."""
38
38
39
- self .queue = QueueApi (http )
39
+ self .queue = QueueApi (self . http )
40
40
"""Queue api."""
41
41
42
- self .schedule = ScheduleApi (http )
42
+ self .schedule = ScheduleApi (self . http )
43
43
"""Schedule api."""
44
44
45
- self .signing_key = SigningKeyApi (http )
45
+ self .signing_key = SigningKeyApi (self . http )
46
46
"""Signing key api."""
47
47
48
- self .event = EventApi (http )
48
+ self .event = EventApi (self . http )
49
49
"""Event api."""
50
50
51
- self .dlq = DlqApi (http )
51
+ self .dlq = DlqApi (self . http )
52
52
"""Dlq (Dead Letter Queue) api."""
53
53
54
- self .chat = ChatApi (http )
54
+ self .chat = ChatApi (self . http )
55
55
"""Chat api."""
Original file line number Diff line number Diff line change @@ -35,7 +35,7 @@ async def assertion() -> None:
35
35
assertion ,
36
36
initial_delay = 1.0 ,
37
37
retry_delay = 1.0 ,
38
- timeout = 10 .0 ,
38
+ timeout = 60 .0 ,
39
39
)
40
40
41
41
Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ def assertion() -> None:
31
31
assertion ,
32
32
initial_delay = 1.0 ,
33
33
retry_delay = 1.0 ,
34
- timeout = 10 .0 ,
34
+ timeout = 60 .0 ,
35
35
)
36
36
37
37
You can’t perform that action at this time.
0 commit comments