Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions openapi_core/unmarshalling/schemas/util.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ def format_uuid(value: Any) -> UUID:
return UUID(value)


def format_byte(value: str, encoding: str = "utf8") -> str:
return str(b64decode(value), encoding)
def format_byte(value: str, encoding: str = "utf8") -> bytes:
return b64decode(value)


def format_number(value: str) -> Union[int, float]:
Expand Down