Merge pull request #1 from exituser/feature/flake8

fixed: flake8 && more docstrings
This commit is contained in:
2024-04-05 00:53:57 +07:00
committed by GitHub
4 changed files with 11 additions and 11 deletions
-1
View File
@@ -1 +0,0 @@
from . import api
+8 -9
View File
@@ -44,16 +44,15 @@ class Methods:
) )
) )
def get_message_report( def get_message_report(
self, self,
*, *,
id: int id: int
) -> models.GetMessageReportData: ) -> models.GetMessageReportData:
""" """
Implementation of Implementation of get_msg_report
:param id: :param id: internal message id
:return: result of calling the method :return: result of calling the method
""" """
@@ -68,7 +67,7 @@ class Methods:
def get_profile(self) -> models.GetProfileData: def get_profile(self) -> models.GetProfileData:
""" """
Implementation of Implementation of get_profile
:return: result of calling the method :return: result of calling the method
""" """
@@ -85,9 +84,9 @@ class Methods:
group_directions: int = None group_directions: int = None
) -> models.GetPricesData: ) -> models.GetPricesData:
""" """
Implementation of Implementation of get_prices
:param group_directions: :param group_directions: id of the route group
:return: result of calling the method :return: result of calling the method
""" """
@@ -107,10 +106,10 @@ class Methods:
call_protection: int call_protection: int
) -> models.WaitCallData: ) -> models.WaitCallData:
""" """
Implementation of Implementation of wait_call
:param phone: :param phone: receiver phone number
:param call_protection: :param call_protection: call waiting time
:return: result of calling the method :return: result of calling the method
""" """
+2
View File
@@ -0,0 +1,2 @@
[flake8]
exclude = .git, pycache, venv