
    3i                        S SK r S SKJs  Js  Jr  S SKJr  S SKJr  S SK	J
r
Jr  S SKJr  S SKJr  S SKJrJrJr  \R(                  " \R*                  " SSS9S	S
9r\R(                  " \R.                  " \SS9SS
9r\" S\R2                  \R4                  \R6                  /S9\" \\\R8                  " SSS9\R8                  " S SS9\R:                  " 5       S9S\S\R<                  S\S\ S\ S\!SS4S j5       5       r"g)    N)	ClientAPI)NOT_CLUSTER_ONLYreset)
invariants)wait_for_version_increase)HealthCheckgivensettingsT)add_filterable_datawith_hnsw_paramscoll)keyi  )max_size	recordseti_ )deadlinesuppress_health_check   
   )	min_value	max_value)
collection
record_setlimitoffsetshould_compactclientr   r   r   r   r   returnc                    U R                  [        R                  5        [        U5        UR	                  UR
                  UR                  UR                  S9nUR                  5       S   nUR                  " S0 UD6  [        (       dC  U(       a<  [        [        R                  " US   5      5      S:  a  [        XR
                  U5        UR                  XTS9S   n	UR                  5       S   n
XXUU-    :X  d   eg )N)namemetadataembedding_functionversionidsr   )r   r    )	set_levelloggingERRORr   create_collectionr   r    r!   	get_modeladdr   lenr   wrapr   get)caplogr   r   r   r   r   r   r   initial_version
result_idsall_offset_idss              ]/home/james-whalen/.local/lib/python3.13/site-packages/chromadb/test/api/test_limit_offset.pytest_get_limit_offsetr3      s    0 W]]#	&M##__$$%88 $ D nn&y1OHHz c*//*U2C"DEJ%fooO5e<JXXZ&N%@@@@    )#r&   !chromadb.test.property.strategiestestproperty
strategieshypothesis.strategiesstchromadb.apir   chromadb.test.conftestr   r   chromadb.test.propertyr   -chromadb.test.utils.wait_for_version_increaser   
hypothesisr   r	   r
   sharedcollectionscollection_st
recordsetsrecordset_stfunction_scoped_fixturelarge_base_examplefilter_too_muchintegersbooleans
Collectiondictintboolr3   r$   r4   r2   <module>rN      s/    6 6 " " : - S 3 3		tdK yy-$7[
 
++&&## 
++R
0;;b1;;=AA %%A 	A
 A A A 
AAr4   