api: remove data_format and simplify usages of get request

This commit is contained in:
Richard Kubíček
2025-03-03 20:09:52 +01:00
parent 92ae1f615e
commit 73da343c61
6 changed files with 19 additions and 54 deletions

View File

@@ -1,32 +0,0 @@
"""
Data Format Enumeration.
This module provides an enumeration of data formats that can be used in the SuperFaktura API.
Classes:
- DataFormat: Enumeration of data formats.
Usage:
from superfaktura.enumerations.data_format import DataFormat
data_format = DataFormat.JSON
"""
import enum
class DataFormat(enum.Enum):
"""
Data Format Enumeration.
This enumeration represents the different data formats that can be used in the SuperFaktura API.
Values:
- JSON: JSON format
- PDF: PDF format
Usage:
data_format = DataFormat.JSON
"""
JSON = enum.auto()
PDF = enum.auto()