mirror of
https://github.com/exituser/prosto-sms-python.git
synced 2026-09-17 04:58:58 +00:00
Merge pull request #7 from exituser/fix/data-error
changed ci to production && fixed get_prices method && fixed GetPrice…
This commit is contained in:
@@ -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/
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
@@ -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):
|
||||||
|
|||||||
Reference in New Issue
Block a user