
    z	i                    @    S r SSKJr  SSKJr  SSKJr   " S S5      rg)	z
Base Pub result class
    )annotations)Any   )DataBinc                  X    \ rS rSrSrSrS	S
S jjrS r\SS j5       r	\SS j5       r
Srg)	PubResult   z!Result of Primitive Unified Bloc._data	_metadataNc                0    Xl         U=(       d    0 U l        g)zInitialize a pub result.

Args:
    data: Result data.
    metadata: Metadata specific to this pub. Keys are expected to be strings.
Nr
   )selfdatametadatas      a/home/james-whalen/.local/lib/python3.13/site-packages/qiskit/primitives/containers/pub_result.py__init__PubResult.__init__   s     
!R    c                    U R                   (       a  SU R                    3OSn[        U 5      R                   SU R                   U S3$ )Nz, metadata= z(data=))r   type__name__r   )r   r   s     r   __repr__PubResult.__repr__'   s@    48MM[0rt*%%&fTZZL
!DDr   c                    U R                   $ )zResult data for the pub.)r   r   s    r   r   PubResult.data+   s     zzr   c                    U R                   $ )zMetadata for the pub.)r   r   s    r   r   PubResult.metadata0   s     ~~r   )N)r   r   r   zdict[str, Any] | None)returnr   )r!   dict)r   
__module____qualname____firstlineno____doc__	__slots__r   r   propertyr   r   __static_attributes__ r   r   r   r      s=    +&I(E    r   r   N)r&   
__future__r   typingr   data_binr   r   r*   r   r   <module>r.      s    #   r   