
    <iY                     R    S r SSKJr  SSKJrJrJrJrJr  SSK	J
r
   " S S\
5      rg	)
zSTIX 2.0 Bundle Representation.    )OrderedDict   )
IDPropertyListPropertySTIXObjectPropertyStringPropertyTypeProperty   )_STIXBase20c                      ^  \ rS rSrSrSr\" S\" \SS94S\" \SS94S\	" SS	94S
\
" \" SS95      4/5      rU 4S jrS rU 4S jrSrU =r$ )Bundle   zFor more detailed information on this object's properties, see
`the STIX 2.0 specification <http://docs.oasis-open.org/cti/stix/v2.0/cs01/part1-stix-core/stix-v2.0-cs01-part1-stix-core.html#_Toc496709293>`__.
bundletypez2.0)spec_versionidr   )fixedobjectsc                    > U(       aN  / nU H/  n[        U[        5      (       a  X4-   nM  UR                  U5        M1     X2R                  S/ 5      -   US'   [        [
        U ]  " S0 UD6  g )Nr    )
isinstancelistappendgetsuperr   __init__)selfargskwargsobj_listarg	__class__s        J/home/james-whalen/.local/lib/python3.13/site-packages/stix2/v20/bundle.pyr   Bundle.__init__   sa    Hc4(('~HOOC(	  !)::i+D DF9fd$.v.    c                     SU R                   ;   a<  U R                   Vs/ s H  o"S   U:X  d  M  UPM     nnU/ :X  a  [        SU-  5      eU$ [        S5      es  snf )Nr   r   zB'%s' does not match the id property of any of the bundle's objectsz)There are no objects in this empty bundle)_innerr   KeyError)r   obj_uuidelem
found_objss       r#   get_objBundle.get_obj(   sa    #+/<<R<4:;Q$<JRRcfnnooFGG Ss
   AAc                    >  [         [        U ]  U5      $ ! [         a1     U R	                  U5      s $ ! [         a    [        SU-  5      ef = ff = f)Nzi'%s' is neither a property on the bundle nor does it match the id property of any of the bundle's objects)r   r   __getitem__r(   r,   )r   keyr"   s     r#   r/   Bundle.__getitem__1   st    	R2377 	RR||C(( R   K  NQ   Q  R  RR	Rs    
A4AAAr   )__name__
__module____qualname____firstlineno____doc___typer   r	   r   r   r   r   _propertiesr   r,   r/   __static_attributes____classcell__)r"   s   @r#   r   r      su     E	e%89	z%e45 
e45	L!3!GHI K/HR Rr%   r   N)r6   collectionsr   
propertiesr   r   r   r   r	   baser   r   r   r%   r#   <module>r>      s(    % #  -R[ -Rr%   