Skip to content

Commit 060dd89

Browse files
author
方佳
committed
Merge branch 'main_merge_26082212' into 'main'
feat:add token expires_at See merge request webull/webull-openapi-python-sdk!41
2 parents d3193b4 + 60b4ce8 commit 060dd89

2 files changed

Lines changed: 4 additions & 3 deletions

File tree

‎webull/__init__.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__ = '2.0.17'
1+
__version__ = '2.0.18'

‎webull/core/http/initializer/token/bean/access_token.py‎

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,8 @@
3434
# coding=utf-8
3535

3636
class AccessToken:
37-
def __init__(self, token, expires, status):
37+
def __init__(self, token, expires, status, expires_at=None):
3838
self.token = token
3939
self.expires = expires
40-
self.status = status
40+
self.status = status
41+
self.expires_at = expires_at

0 commit comments

Comments
 (0)