changed ci to production && fixed get_prices method && fixed GetPriceData model

This commit is contained in:
2024-04-05 02:07:37 +07:00
parent aac0458437
commit 7f97b60956
3 changed files with 11 additions and 11 deletions
+9 -9
View File
@@ -23,15 +23,15 @@ jobs:
- name: Build package
run: python setup.py sdist bdist_wheel
# - name: Publish package
# uses: pypa/gh-action-pypi-publish@release/v1
# with:
# user: __token__
# password: ${{ secrets.PYPI_API_TOKEN }}
- name: Publish package to TestPyPI
- name: Publish package
uses: pypa/gh-action-pypi-publish@release/v1
with:
user: __token__
password: ${{ secrets.TEST_PYPI_API_TOKEN }}
repository-url: https://test.pypi.org/legacy/
password: ${{ secrets.PYPI_API_TOKEN }}
# - name: Publish package to TestPyPI
# uses: pypa/gh-action-pypi-publish@release/v1
# with:
# user: __token__
# password: ${{ secrets.TEST_PYPI_API_TOKEN }}
# repository-url: https://test.pypi.org/legacy/
+1 -1
View File
@@ -81,7 +81,7 @@ class Methods:
def get_prices(
self,
*,
group_directions: int = None
group_directions: str = None
) -> models.GetPricesData:
"""
Implementation of get_prices
+1 -1
View File
@@ -4,7 +4,7 @@ from pydantic import BaseModel
class GetPricesData(BaseModel):
group_directions: str
group_directions: dict
class GetMessageReportData(BaseModel):