mirror of
https://github.com/exituser/prosto-sms-python.git
synced 2026-09-17 03:48:57 +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
|
||||
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/
|
||||
|
||||
@@ -81,7 +81,7 @@ class Methods:
|
||||
def get_prices(
|
||||
self,
|
||||
*,
|
||||
group_directions: int = None
|
||||
group_directions: str = None
|
||||
) -> models.GetPricesData:
|
||||
"""
|
||||
Implementation of get_prices
|
||||
|
||||
@@ -4,7 +4,7 @@ from pydantic import BaseModel
|
||||
|
||||
|
||||
class GetPricesData(BaseModel):
|
||||
group_directions: str
|
||||
group_directions: dict
|
||||
|
||||
|
||||
class GetMessageReportData(BaseModel):
|
||||
|
||||
Reference in New Issue
Block a user