diff --git a/moto/moto_proxy/utils.py b/moto/moto_proxy/utils.py index 7fc3017b3..71b873782 100644 --- a/moto/moto_proxy/utils.py +++ b/moto/moto_proxy/utils.py @@ -2,17 +2,20 @@ from typing import Dict, Optional, Tuple import multipart +class Part: + headers = [] + data : bytes def get_body_from_form_data( body: bytes, boundary: str ) -> Tuple[Optional[bytes], Dict[str, str]]: print("YO BYTES", body) - current_part = { headers : [], data : "" } + current_part = Part() parts = [] def on_part_begin(): - current_part = { headers : [], data : "" } + current_part = Part() print("YO PART BEGAN") return