Skip to content

Commit 474908b

Browse files
author
gateio
committed
update to v6.92.2
1 parent de80751 commit 474908b

File tree

6 files changed

+38
-7
lines changed

6 files changed

+38
-7
lines changed
Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
# This workflow will upload a Python Package using Twine when a release is created
2+
# For more information see: https://help.github.com/en/actions/language-and-framework-guides/using-python-with-github-actions#publishing-to-package-registries
3+
4+
name: Upload Python Package
5+
6+
on: push
7+
8+
jobs:
9+
deploy:
10+
11+
runs-on: ubuntu-latest
12+
13+
steps:
14+
- uses: actions/checkout@v2
15+
- name: Set up Python
16+
uses: actions/setup-python@v2
17+
with:
18+
python-version: '3.x'
19+
- name: Install dependencies
20+
run: |
21+
python -m pip install --upgrade pip
22+
pip install setuptools wheel twine
23+
- name: Build and publish
24+
run: |
25+
python setup.py sdist bdist_wheel
26+
- name: Publish package
27+
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags')
28+
uses: pypa/[email protected]
29+
with:
30+
user: __token__
31+
password: ${{ secrets.PYPI_API_TOKEN }}

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ APIv4 provides spot, margin and futures trading operations. There are public API
55

66
This Python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
77

8-
- API version: 4.92.1
9-
- Package version: 6.92.1
8+
- API version: 4.92.2
9+
- Package version: 6.92.2
1010
- Build package: org.openapitools.codegen.languages.PythonClientCodegen
1111
For more information, please visit [https://www.gate.io/page/contacts](https://www.gate.io/page/contacts)
1212

gate_api/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414

1515
from __future__ import absolute_import
1616

17-
__version__ = "6.92.1"
17+
__version__ = "6.92.2"
1818

1919
# import apis into sdk package
2020
from gate_api.api.earn_uni_api import EarnUniApi

gate_api/api_client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ def __init__(self, configuration=None, header_name=None, header_value=None,
8383
self.default_headers[header_name] = header_value
8484
self.cookie = cookie
8585
# Set default User-Agent.
86-
self.user_agent = 'OpenAPI-Generator/6.92.1/python'
86+
self.user_agent = 'OpenAPI-Generator/6.92.2/python'
8787
self.client_side_validation = configuration.client_side_validation
8888

8989
def __enter__(self):

gate_api/configuration.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -313,8 +313,8 @@ def to_debug_report(self):
313313
return "Python SDK Debug Report:\n"\
314314
"OS: {env}\n"\
315315
"Python Version: {pyversion}\n"\
316-
"Version of the API: 4.92.1\n"\
317-
"SDK Package Version: 6.92.1".\
316+
"Version of the API: 4.92.2\n"\
317+
"SDK Package Version: 6.92.2".\
318318
format(env=sys.platform, pyversion=sys.version)
319319

320320
def get_host_settings(self):

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
from setuptools import setup, find_packages # noqa: H301
1414

1515
NAME = "gate-api"
16-
VERSION = "6.92.1"
16+
VERSION = "6.92.2"
1717
# To install the library, run the following
1818
#
1919
# python setup.py install

0 commit comments

Comments
 (0)