Файловый менеджер - Редактировать - /opt/imh-python/lib/python3.9/site-packages/botocore/__pycache__/serialize.cpython-39.pyc
Ðазад
a p�h�v � @ s$ d Z ddlZddlZddlZddlZddlmZ ddlmZ ddlm Z m Z ddlmZ ddlm Z ddlmZ dd lmZ dd lmZ dZdZd Zd dd�ZG dd� de�ZG dd� de�ZG dd� de�ZG dd� de�ZG dd� de�ZG dd� dee�ZG dd� de�Zeeeeed�ZdS )!a� Protocol input serializes. This module contains classes that implement input serialization for the various AWS protocol types. These classes essentially take user input, a model object that represents what the expected input should look like, and it returns a dictionary that contains the various parts of a request. A few high level design decisions: * Each protocol type maps to a separate class, all inherit from ``Serializer``. * The return value for ``serialize_to_request`` (the main entry point) returns a dictionary that represents a request. This will have keys like ``url_path``, ``query_string``, etc. This is done so that it's a) easy to test and b) not tied to a particular HTTP library. See the ``serialize_to_request`` docstring for more details. Unicode ------- The input to the serializers should be text (str/unicode), not bytes, with the exception of blob types. Those are assumed to be binary, and if a str/unicode type is passed in, it will be encoded as utf-8. � N)�ElementTree)�six)�json� formatdate)�parse_to_aware_datetime)�percent_encode)�is_json_value_header)�conditionally_calculate_md5)�validate�iso8601z%Y-%m-%dT%H:%M:%SZz%Y-%m-%dT%H:%M:%S.%fZTc C s&