mirror of
				https://github.com/Eledio/superfaktura-client.git
				synced 2025-10-31 16:11:20 +01:00 
			
		
		
		
	superfaktura_api: fix download method docstring example
This commit is contained in:
		| @@ -116,11 +116,9 @@ class SuperFakturaAPI: | |||||||
|             SuperFakturaAPIException: If the API request fails or returns an error. |             SuperFakturaAPIException: If the API request fails or returns an error. | ||||||
|  |  | ||||||
|         Examples: |         Examples: | ||||||
|             >>> from superfaktura.invoice import Invoice |             >>> api = SuperFakturaAPI() | ||||||
|             >>> from superfaktura.enumerations.language import Language |             >>> with open("data.pdf", "wb") as f: | ||||||
|             >>> invoice = Invoice() |             >>>     api.download("some/endpoint", descriptor=f) | ||||||
|             >>> with open("invoice.pdf", "wb") as f: |  | ||||||
|             >>>     invoice.get_pdf(invoice=invoice_data, descriptor=f, language=Language.English) |  | ||||||
|  |  | ||||||
|         Notes: |         Notes: | ||||||
|             The available endpoints can be found in the SuperFaktura API documentation. |             The available endpoints can be found in the SuperFaktura API documentation. | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user