Merge pull request #7 from exituser/fix/data-error

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