Fixed the documentation of the PeriodConverter and IncomeExpensesAccountConverter path converters.
This commit is contained in:
		| @@ -28,8 +28,8 @@ from .period import Period, get_period | |||||||
|  |  | ||||||
|  |  | ||||||
| class PeriodConverter(BaseConverter): | class PeriodConverter(BaseConverter): | ||||||
|     """The supplier converter to convert the period specification from and to |     """The converter to convert the period specification from and to the | ||||||
|     the corresponding period in the routes.""" |     corresponding period in the routes.""" | ||||||
|  |  | ||||||
|     def to_python(self, value: str) -> Period: |     def to_python(self, value: str) -> Period: | ||||||
|         """Converts a period specification to a period. |         """Converts a period specification to a period. | ||||||
| @@ -52,8 +52,8 @@ class PeriodConverter(BaseConverter): | |||||||
|  |  | ||||||
|  |  | ||||||
| class IncomeExpensesAccountConverter(BaseConverter): | class IncomeExpensesAccountConverter(BaseConverter): | ||||||
|     """The supplier converter to convert the income and expenses log pseudo |     """The converter to convert the income and expenses log account code from | ||||||
|     account code from and to the corresponding pseudo account in the routes.""" |     and to the corresponding account in the routes.""" | ||||||
|  |  | ||||||
|     def to_python(self, value: str) -> CurrentAccount: |     def to_python(self, value: str) -> CurrentAccount: | ||||||
|         """Converts an account code to an account. |         """Converts an account code to an account. | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user