+
    ,j                    @    ^ RI Ht ^ RIHt ^ RIHt  ! R R]4      tR# )    )annotations)PyRecord)PackageRecordc                     ] tR t^tR R lt]R R l4       t]P                  R R l4       t]R R l4       t]P                  R	 R
 l4       t]R R l4       t	]	P                  R R l4       t	]
R R l4       tR R ltRtR# )RepoDataRecordc          
     ,    V ^8  d   QhRRRRRRRRRR/# )	   package_recordr   	file_namestrurlchannelreturnNone )formats   "8lib/python3.14/site-packages/rattler/repo_data/record.py__annotate__RepoDataRecord.__annotate__   s1      }  3 Y\ ae     c                	X    \         P                  ! VP                  VVV4      pWPn        R # )N)r   create_repodata_record_record)selfr
   r   r   r   records   &&&&& r   __init__RepoDataRecord.__init__   s+    00""	
 r   c                   V ^8  d   QhRR/# r	   r   r   r   )r   s   "r   r   r      s        S  r   c                .    V P                   P                  # )aN  
The canonical URL from where to get this package.

Examples
--------
```python
>>> from rattler import PrefixRecord
>>> record = PrefixRecord.from_path(
...     "../test-data/conda-meta/libsqlite-3.40.0-hcfcfb64_0.json"
... )
>>> record.url
'https://conda.anaconda.org/conda-forge/win-64/libsqlite-3.40.0-hcfcfb64_0.tar.bz2'
>>>
```
r   r   r   s   &r   r   RepoDataRecord.url   s    " ||r   c                    V ^8  d   QhRRRR/# r	   valuer   r   r   r   )r   s   "r   r   r   %   s     ! ! ! !r   c                &    WP                   n        R# )aM  
Set the canonical URL for this package.

Examples
--------
```python
>>> from rattler import PrefixRecord
>>> record = PrefixRecord.from_path(
...     "../test-data/conda-meta/libsqlite-3.40.0-hcfcfb64_0.json"
... )
>>> record.url = "https://example.com/package.tar.bz2"
>>> record.url
'https://example.com/package.tar.bz2'
>>>
```
Nr!   r   r&   s   &&r   r   r#   $   s    $ !r   c                   V ^8  d   QhRR/# r   r   )r   s   "r   r   r   9   s     $ $ $r   c                .    V P                   P                  # )ax  
String representation of the channel where the
package comes from. This could be a URL but it
could also be a channel name.

Examples
--------
```python
>>> from rattler import PrefixRecord
>>> record = PrefixRecord.from_path(
...     "../test-data/conda-meta/libsqlite-3.40.0-hcfcfb64_0.json"
... )
>>> record.channel
'https://conda.anaconda.org/conda-forge/win-64'
>>>
```
r   r   r"   s   &r   r   RepoDataRecord.channel8   s    & ||###r   c                    V ^8  d   QhRRRR/# r%   r   )r   s   "r   r   r   N   s     % %S %T %r   c                &    WP                   n        R# )a  
Set the channel for this package.

Examples
--------
```python
>>> from rattler import PrefixRecord
>>> record = PrefixRecord.from_path(
...     "../test-data/conda-meta/libsqlite-3.40.0-hcfcfb64_0.json"
... )
>>> record.channel = "conda-forge"
>>> record.channel
'conda-forge'
>>>
```
Nr+   r(   s   &&r   r   r,   M   s    $  %r   c                   V ^8  d   QhRR/# r   r   )r   s   "r   r   r   b   s     & &3 &r   c                .    V P                   P                  # )a  
The filename of the package.

Examples
--------
```python
>>> from rattler import PrefixRecord
>>> record = PrefixRecord.from_path(
...     "../test-data/conda-meta/libsqlite-3.40.0-hcfcfb64_0.json"
... )
>>> record.file_name
'libsqlite-3.40.0-hcfcfb64_0.tar.bz2'
>>>
```
r   r   r"   s   &r   r   RepoDataRecord.file_namea   s    " ||%%%r   c                    V ^8  d   QhRRRR/# r%   r   )r   s   "r   r   r   u   s     ' 's 't 'r   c                &    WP                   n        R# )a:  
Set the filename of the package.

Examples
--------
```python
>>> from rattler import PrefixRecord
>>> record = PrefixRecord.from_path(
...     "../test-data/conda-meta/libsqlite-3.40.0-hcfcfb64_0.json"
... )
>>> record.file_name = "new-package-1.0.tar.bz2"
>>> record.file_name
'new-package-1.0.tar.bz2'
>>>
```
Nr1   r(   s   &&r   r   r2   t   s    $ "'r   c                    V ^8  d   QhRRRR/# )r	   	py_recordr   r   r   r   )r   s   "r   r   r      s     	 	 	^ 	r   c                \    VP                   '       g   Q hV P                  V 4      pWn        V# )z<
Construct Rattler RepoDataRecord from FFI PyRecord object.
)is_repodata_record__new__r   )clsr6   r   s   && r   _from_py_recordRepoDataRecord._from_py_record   s.     +++++S!"r   c                   V ^8  d   QhRR/# r   r   )r   s   "r   r   r      s     : :# :r   c                L    \        V 4      P                   RV P                   R2# )ap  
Returns a representation of the RepoDataRecord.

Examples
--------
```python
>>> from rattler import RepoData, Channel
>>> repo_data = RepoData.from_path(
...     "../test-data/test-server/repo/noarch/repodata.json"
... )
>>> repo_data.into_repo_data(Channel("test"))[0]
RepoDataRecord(url="https://conda.anaconda.org/test/noarch/test-package-0.1-0.tar.bz2")
>>>
```
z(url="z"))type__name__r   r"   s   &r   __repr__RepoDataRecord.__repr__   s&      t*%%&fTXXJb99r   )r   N)r@   
__module____qualname____firstlineno__r   propertyr   setterr   r   classmethodr;   rA   __static_attributes__r   r   r   r   r      s        $ 	ZZ! !& $ $( ^^% %& & &$ ' '& 	 	: :r   r   N)
__future__r   rattler.rattlerr    rattler.repo_data.package_recordr   r   r   r   r   <module>rM      s    " $ :]:] ]:r   