@@ -50,6 +50,7 @@ def create(
5050 provider : Literal ["notion" , "google-drive" , "onedrive" ],
5151 * ,
5252 container_tags : List [str ] | NotGiven = NOT_GIVEN ,
53+ document_limit : int | NotGiven = NOT_GIVEN ,
5354 metadata : Optional [Dict [str , Union [str , float , bool ]]] | NotGiven = NOT_GIVEN ,
5455 redirect_url : str | NotGiven = NOT_GIVEN ,
5556 # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
@@ -63,6 +64,9 @@ def create(
6364 Initialize connection and get authorization URL
6465
6566 Args:
67+ document_limit: Maximum number of documents to sync from this connection (default: 100,
68+ max: 10000)
69+
6670 extra_headers: Send extra headers
6771
6872 extra_query: Add additional query parameters to the request
@@ -78,6 +82,7 @@ def create(
7882 body = maybe_transform (
7983 {
8084 "container_tags" : container_tags ,
85+ "document_limit" : document_limit ,
8186 "metadata" : metadata ,
8287 "redirect_url" : redirect_url ,
8388 },
@@ -148,6 +153,7 @@ async def create(
148153 provider : Literal ["notion" , "google-drive" , "onedrive" ],
149154 * ,
150155 container_tags : List [str ] | NotGiven = NOT_GIVEN ,
156+ document_limit : int | NotGiven = NOT_GIVEN ,
151157 metadata : Optional [Dict [str , Union [str , float , bool ]]] | NotGiven = NOT_GIVEN ,
152158 redirect_url : str | NotGiven = NOT_GIVEN ,
153159 # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
@@ -161,6 +167,9 @@ async def create(
161167 Initialize connection and get authorization URL
162168
163169 Args:
170+ document_limit: Maximum number of documents to sync from this connection (default: 100,
171+ max: 10000)
172+
164173 extra_headers: Send extra headers
165174
166175 extra_query: Add additional query parameters to the request
@@ -176,6 +185,7 @@ async def create(
176185 body = await async_maybe_transform (
177186 {
178187 "container_tags" : container_tags ,
188+ "document_limit" : document_limit ,
179189 "metadata" : metadata ,
180190 "redirect_url" : redirect_url ,
181191 },
0 commit comments