Dashboard
PHP:
8.2.30
OS:
Linux
User:
dh_nv8b2m
/
/
usr
/
lib
/
python3
/
dist-packages
/
boto
/
dynamodb
/
__pycache__
📤 Upload
📝 New File
📁 New Folder
Close
Editing: schema.cpython-310.pyc
o ckF[� � @ s G d d� de �ZdS )c @ sr e Zd ZdZdd� Zdd� Zeddd��Zed d � �Z edd� �Z ed d� �Zedd� �Zedd� �Z dd� ZdS )�Schemaa" Represents a DynamoDB schema. :ivar hash_key_name: The name of the hash key of the schema. :ivar hash_key_type: The DynamoDB type specification for the hash key of the schema. :ivar range_key_name: The name of the range key of the schema or None if no range key is defined. :ivar range_key_type: The DynamoDB type specification for the range key of the schema or None if no range key is defined. :ivar dict: The underlying Python dictionary that needs to be passed to Layer1 methods. c C s || _ d S �N��_dict)�self�schema_dict� r �6/usr/lib/python3/dist-packages/boto/dynamodb/schema.py�__init__( s zSchema.__init__c C s( | j r d| j| j f }|S d| j }|S )Nz Schema(%s:%s)z Schema(%s))�range_key_name� hash_key_name)r �sr r r �__repr__+ s �zSchema.__repr__Nc C sF d|d |d d�i}|dur|d |d d�|d<