Server : Apache System : Linux iad1-shared-b8-43 6.6.49-grsec-jammy+ #10 SMP Thu Sep 12 23:23:08 UTC 2024 x86_64 User : dh_edsupp ( 6597262) PHP Version : 8.2.26 Disable Function : NONE Directory : /lib/python3/dist-packages/boto/dynamodb/__pycache__/ |
Upload File : |
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<