Better docstrings

This commit is contained in:
Jonas Linter
2025-10-14 15:06:32 +02:00
parent 3714226b08
commit c16848a809
2 changed files with 3 additions and 0 deletions

View File

@@ -1038,6 +1038,7 @@ async def handle_xml_upload(
# TODO Bit sketchy. May need requests-toolkit in the future
def parse_multipart_data(content_type: str, body: bytes) -> dict[str, Any]:
"""Parse multipart/form-data from raw request body.
This is a simplified parser for the AlpineBits use case.
"""
if "multipart/form-data" not in content_type:

View File

@@ -96,6 +96,8 @@ DEFAULT_CONFIG_FILE = "config.yaml"
class Config:
"""Class to load and hold the configuration."""
def __init__(
self,
config_folder: str | Path | None = None,