AAS HTTP Client Documentation
Loading...
Searching...
No Matches
attachment.py
Go to the documentation of this file.
1"""Attachment wrapper class for AAS HTTP Client."""
2
3from dataclasses import dataclass
4
5
6@dataclass(frozen=True)
7class Attachment:
8 """Represents an attachment with its content and metadata."""
9
10 content: bytes
11 content_type: str
12 filename: str | None = None
Represents an attachment with its content and metadata.
Definition attachment.py:8