D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
usr
/
lib
/
python3
/
dist-packages
/
botocore
/
__pycache__
/
Filename :
paginate.cpython-312.pyc
back
Copy
� P��e k � �� � d dl Z d dlZd dlZd dlmZ d dlZd dlmZ d dlm Z m Z ej e� Z G d� d� Z G d� d� Z G d � d � Z G d� d� Z G d � d� Z G d� d� Zy)� N)�tee)�PaginationError)�merge_dicts�set_value_from_jmespathc �. � e Zd ZdZd� Zd� Zd� Zd� Zd� Zy)�TokenEncoderab Encodes dictionaries into opaque strings. This for the most part json dumps + base64 encoding, but also supports having bytes in the dictionary in addition to the types that json can handle by default. This is intended for use in encoding pagination tokens, which in some cases can be complex structures and / or contain bytes. c � � t j |� }t j |j d� � j d� S # t t f$ r2 | j |g � \ }}||d<