📂 FileMgr
📍
/
usr
/
lib
/
python3
/
dist-packages
/
boto3
/
resources
/
__pycache__
✏️ /usr/lib/python3/dist-packages/boto3/resources/__pycache__/factory.cpython-312.pyc
✕ Tutup
� ��e�X � � � d dl Z d dlmZ ddlmZ ddlmZ ddlmZm Z ddl mZmZ dd l mZ dd lmZ ddlmZmZ e j( e� Z G d� d � Zy)� N)�partial� )� docstring)�ResourceLoadException� )� ServiceAction�WaiterAction)�ResourceMeta�ServiceResource)�CollectionFactory)� ResourceModel)�ResourceHandler�build_identifiersc �z � e Zd ZdZd� Zd� Zd� Zd� Zd� Zd� Z d� Z d � Zd � Zd� Z d� Zd � Zd� Zd� Zd� Zd� Z dd�Zy)�ResourceFactoryaW A factory to create new :py:class:`~boto3.resources.base.ServiceResource` classes from a :py:class:`~boto3.resources.model.ResourceModel`. There are two types of lookups that can be done: one on the service itself (e.g. an SQS resource) and another on models contained within the service (e.g. an SQS Queue resource). c �0 � t � | _ || _ y �N)r �_collection_factory�_emitter)�self�emitters �9/usr/lib/python3/dist-packages/boto3/resources/factory.py�__init__zResourceFactory.__init__% s � �#4�#6�� ��� � c � � t j d|j |� t |||j � }d}|j r%|j j |j � }|j |� t |j |�� }d|i}| j ||||�� | j ||||�� | j |||||�� | j |||�� | j ||||�� | j ||||�� |}|j |k( rd }|j d z |z }t g} | j"