From be6e66e82e889c497a7254965cc5398c3bc39901 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E3=81=B5=E3=81=81?= Date: Sun, 15 Jun 2025 22:57:37 +0900 Subject: [PATCH] update example MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: ふぁ --- example/requirements.txt | Bin 940 -> 94 bytes example/sample/login.py | 3 +++ twitter_openapi_python/pyproject.toml | 2 +- twitter_openapi_python/setup.py | 2 +- twitter_openapi_python/tool/publish.ps1 | 2 +- .../twitter_openapi_python/client.py | 4 ++-- 6 files changed, 8 insertions(+), 5 deletions(-) diff --git a/example/requirements.txt b/example/requirements.txt index a9f74522fdc80eb94306db0736db9186ff1d9717..7741656730ad3984e98856290d8857c408d55949 100644 GIT binary patch delta 47 zcmZ3(9>?_m-{cl13l$RvLk3<3E`}0@a)wkOEMTZ)h-XM-CbbbLT@dqN-iSq zRV{F;#rbG2r+SWRF4Y-OITlq5+d!{{LJ4$`gBA`KM&6@XlH0u3j&N52lPVK&J%J^+ zXL#oS^fEKA)WGh+zY*)QKSxIQ(cshys7js-Ay{Ru>bC!Y54>&g&p(` zV)Ka@Qts>nY9;#cTb;-|e_ido9{$i7&=JnrWs8n$O&61F;2=mP-ABrhIi_i$+JDan zTSKLiQkv*"] license = "proprietary" # or "AGPL-3.0-only" diff --git a/twitter_openapi_python/setup.py b/twitter_openapi_python/setup.py index 950765cd..f14fa0d5 100644 --- a/twitter_openapi_python/setup.py +++ b/twitter_openapi_python/setup.py @@ -5,7 +5,7 @@ from setuptools import find_packages, setup NAME = "twitter_openapi_python" -VERSION = "0.0.40" +VERSION = "0.0.41" PYTHON_REQUIRES = ">=3.7" REQUIRES = [ "twitter_openapi_python_generated == 0.0.33", diff --git a/twitter_openapi_python/tool/publish.ps1 b/twitter_openapi_python/tool/publish.ps1 index 1f890ca3..58db2cd8 100644 --- a/twitter_openapi_python/tool/publish.ps1 +++ b/twitter_openapi_python/tool/publish.ps1 @@ -1,5 +1,5 @@ pip install wheel twine -Remove-Item twitter_openapi_python_generated.egg-info/* +Remove-Item twitter_openapi_python.egg-info/* Remove-Item dist/* python setup.py sdist python setup.py bdist_wheel diff --git a/twitter_openapi_python/twitter_openapi_python/client.py b/twitter_openapi_python/twitter_openapi_python/client.py index e9d2b045..2054f751 100644 --- a/twitter_openapi_python/twitter_openapi_python/client.py +++ b/twitter_openapi_python/twitter_openapi_python/client.py @@ -54,10 +54,10 @@ def get_user_list_api(self) -> UserListApiUtils: return UserListApiUtils(twitter.UserListApi(self.api), self.placeholder, self.ct) def get_v11_get_api(self) -> V11GetApiUtils: - return V11GetApiUtils(twitter.V11GetApi(self.api), self.placeholder, self.ct) + return V11GetApiUtils(twitter.V11GetApi(self.api), self.placeholder) def get_v11_post_api(self) -> V11PostApiUtils: - return V11PostApiUtils(twitter.V11PostApi(self.api), self.placeholder, self.ct) + return V11PostApiUtils(twitter.V11PostApi(self.api), self.placeholder) class TwitterOpenapiPython: