From 735f212a22a809fecf3a7c8c50a70d4cd7268d43 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Richard=20Kub=C3=AD=C4=8Dek?= Date: Tue, 4 Mar 2025 13:49:14 +0100 Subject: [PATCH] invoice: fix docstring --- superfaktura/invoice.py | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/superfaktura/invoice.py b/superfaktura/invoice.py index cbbd827..4f43648 100644 --- a/superfaktura/invoice.py +++ b/superfaktura/invoice.py @@ -152,7 +152,7 @@ class InvoiceRespModel: - error (int): The error code. - error_message (str): The error message. - invoice_id (Optional[int]): The ID of the invoice. - - invoice_token (Optional[str]): The token of + - invoice_token (Optional[str]): The token of the invoice. """ error: int @@ -178,7 +178,7 @@ class InvoiceSettings: summary_bg_color: Optional[str] = None def as_dict(self) -> dict: - """Returns a dictionary representation of the ClientContactModel.""" + """Returns a dictionary representation of the InvoiceSettings.""" data = asdict(self) for key in list(data.keys()): if data[key] is None: @@ -265,10 +265,6 @@ class Invoice(SuperFakturaAPI): Returns: InvoiceRespModel: The response model for the invoice. - :param invoice_settings: - :param contact: - :param items: - :param invoice_model: """ data = { "Invoice": invoice_model.as_dict(),