File tree Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 11[tool .poetry ]
22name = " twitter_openapi_python"
3- version = " 0.0.13 "
3+ version = " 0.0.14 "
44description = " Twitter OpenAPI"
55authors = [
" fa0311 <[email protected] >" ]
66license = " proprietary" # or "AGPL-3.0-only"
Original file line number Diff line number Diff line change 33from setuptools import find_packages , setup
44
55NAME = "twitter_openapi_python"
6- VERSION = "0.0.13 "
6+ VERSION = "0.0.14 "
77PYTHON_REQUIRES = ">=3.7"
88REQUIRES = [
99 "twitter_openapi_python_generated == 0.0.9" ,
Original file line number Diff line number Diff line change @@ -110,8 +110,8 @@ def get_twitter_openapi_python_client(
110110 api : twitter .ApiClient ,
111111 ) -> TwitterOpenapiPythonClient :
112112 http = urllib3 .PoolManager ()
113- flag = http .request ("GET" , self .placeholder_url .format (hash = self .hash )). json ()
114- return TwitterOpenapiPythonClient (api , flag )
113+ flag = http .request ("GET" , self .placeholder_url .format (hash = self .hash ))
114+ return TwitterOpenapiPythonClient (api , json . loads ( flag . data ) )
115115
116116 def get_client_from_cookies (
117117 self ,
You can’t perform that action at this time.
0 commit comments