@@ -61,11 +61,11 @@ def list_by_farmer_id(
6161 max_last_modified_date_time : Optional [datetime .datetime ] = None ,
6262 max_page_size : Optional [int ] = 50 ,
6363 skip_token : Optional [str ] = None ,
64- ** kwargs
64+ ** kwargs : Any
6565 ) -> AsyncIterable ["_models.BoundaryListResponse" ]:
6666 """Returns a paginated list of boundary resources under a particular farmer.
6767
68- :param farmer_id: Id of the associated farmer.
68+ :param farmer_id: ID of the associated farmer.
6969 :type farmer_id: str
7070 :param is_primary: Is the boundary primary.
7171 :type is_primary: bool
@@ -199,15 +199,15 @@ async def get_next(next_link=None):
199199 def search_by_farmer_id (
200200 self ,
201201 farmer_id : str ,
202- body : Optional ["_models.SearchBoundaryQuery" ] = None ,
203- ** kwargs
202+ query : Optional ["_models.SearchBoundaryQuery" ] = None ,
203+ ** kwargs : Any
204204 ) -> AsyncIterable ["_models.BoundaryListResponse" ]:
205205 """Search for boundaries by fields and intersecting geometry.
206206
207- :param farmer_id: Id of the farmer.
207+ :param farmer_id: ID of the farmer.
208208 :type farmer_id: str
209- :param body : Query filters.
210- :type body : ~azure.agrifood.farming.models.SearchBoundaryQuery
209+ :param query : Query filters.
210+ :type query : ~azure.agrifood.farming.models.SearchBoundaryQuery
211211 :keyword callable cls: A custom type or function that will be passed the direct response
212212 :return: An iterator like instance of either BoundaryListResponse or the result of cls(response)
213213 :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.agrifood.farming.models.BoundaryListResponse]
@@ -241,8 +241,8 @@ def prepare_request(next_link=None):
241241 query_parameters ['api-version' ] = self ._serialize .query ("api_version" , api_version , 'str' )
242242
243243 body_content_kwargs = {} # type: Dict[str, Any]
244- if body is not None :
245- body_content = self ._serialize .body (body , 'SearchBoundaryQuery' )
244+ if query is not None :
245+ body_content = self ._serialize .body (query , 'SearchBoundaryQuery' )
246246 else :
247247 body_content = None
248248 body_content_kwargs ['content' ] = body_content
@@ -256,8 +256,8 @@ def prepare_request(next_link=None):
256256 }
257257 url = self ._client .format_url (url , ** path_format_arguments )
258258 body_content_kwargs = {} # type: Dict[str, Any]
259- if body is not None :
260- body_content = self ._serialize .body (body , 'SearchBoundaryQuery' )
259+ if query is not None :
260+ body_content = self ._serialize .body (query , 'SearchBoundaryQuery' )
261261 else :
262262 body_content = None
263263 body_content_kwargs ['content' ] = body_content
@@ -306,7 +306,7 @@ def list(
306306 max_last_modified_date_time : Optional [datetime .datetime ] = None ,
307307 max_page_size : Optional [int ] = 50 ,
308308 skip_token : Optional [str ] = None ,
309- ** kwargs
309+ ** kwargs : Any
310310 ) -> AsyncIterable ["_models.BoundaryListResponse" ]:
311311 """Returns a paginated list of boundary resources across all farmers.
312312
@@ -439,13 +439,13 @@ async def get_next(next_link=None):
439439
440440 def search (
441441 self ,
442- body : Optional ["_models.SearchBoundaryQuery" ] = None ,
443- ** kwargs
442+ query : Optional ["_models.SearchBoundaryQuery" ] = None ,
443+ ** kwargs : Any
444444 ) -> AsyncIterable ["_models.BoundaryListResponse" ]:
445445 """Search for boundaries across all farmers by fields and intersecting geometry.
446446
447- :param body : Query filters.
448- :type body : ~azure.agrifood.farming.models.SearchBoundaryQuery
447+ :param query : Query filters.
448+ :type query : ~azure.agrifood.farming.models.SearchBoundaryQuery
449449 :keyword callable cls: A custom type or function that will be passed the direct response
450450 :return: An iterator like instance of either BoundaryListResponse or the result of cls(response)
451451 :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.agrifood.farming.models.BoundaryListResponse]
@@ -478,8 +478,8 @@ def prepare_request(next_link=None):
478478 query_parameters ['api-version' ] = self ._serialize .query ("api_version" , api_version , 'str' )
479479
480480 body_content_kwargs = {} # type: Dict[str, Any]
481- if body is not None :
482- body_content = self ._serialize .body (body , 'SearchBoundaryQuery' )
481+ if query is not None :
482+ body_content = self ._serialize .body (query , 'SearchBoundaryQuery' )
483483 else :
484484 body_content = None
485485 body_content_kwargs ['content' ] = body_content
@@ -492,8 +492,8 @@ def prepare_request(next_link=None):
492492 }
493493 url = self ._client .format_url (url , ** path_format_arguments )
494494 body_content_kwargs = {} # type: Dict[str, Any]
495- if body is not None :
496- body_content = self ._serialize .body (body , 'SearchBoundaryQuery' )
495+ if query is not None :
496+ body_content = self ._serialize .body (query , 'SearchBoundaryQuery' )
497497 else :
498498 body_content = None
499499 body_content_kwargs ['content' ] = body_content
@@ -528,11 +528,11 @@ async def get_next(next_link=None):
528528 async def get_cascade_delete_job_details (
529529 self ,
530530 job_id : str ,
531- ** kwargs
531+ ** kwargs : Any
532532 ) -> "_models.CascadeDeleteJob" :
533533 """Get cascade delete job for specified boundary.
534534
535- :param job_id: Id of the job.
535+ :param job_id: ID of the job.
536536 :type job_id: str
537537 :keyword callable cls: A custom type or function that will be passed the direct response
538538 :return: CascadeDeleteJob, or the result of cls(response)
@@ -585,7 +585,7 @@ async def _create_cascade_delete_job_initial(
585585 job_id : str ,
586586 farmer_id : str ,
587587 boundary_id : str ,
588- ** kwargs
588+ ** kwargs : Any
589589 ) -> "_models.CascadeDeleteJob" :
590590 cls = kwargs .pop ('cls' , None ) # type: ClsType["_models.CascadeDeleteJob"]
591591 error_map = {
@@ -635,7 +635,7 @@ async def begin_create_cascade_delete_job(
635635 job_id : str ,
636636 farmer_id : str ,
637637 boundary_id : str ,
638- ** kwargs
638+ ** kwargs : Any
639639 ) -> AsyncLROPoller ["_models.CascadeDeleteJob" ]:
640640 """Create a cascade delete job for specified boundary.
641641
@@ -704,13 +704,13 @@ async def get(
704704 self ,
705705 farmer_id : str ,
706706 boundary_id : str ,
707- ** kwargs
707+ ** kwargs : Any
708708 ) -> "_models.Boundary" :
709709 """Gets a specified boundary resource under a particular farmer.
710710
711- :param farmer_id: Id of the associated farmer.
711+ :param farmer_id: ID of the associated farmer.
712712 :type farmer_id: str
713- :param boundary_id: Id of the boundary.
713+ :param boundary_id: ID of the boundary.
714714 :type boundary_id: str
715715 :keyword callable cls: A custom type or function that will be passed the direct response
716716 :return: Boundary, or the result of cls(response)
@@ -763,17 +763,17 @@ async def create_or_update(
763763 self ,
764764 farmer_id : str ,
765765 boundary_id : str ,
766- body : Optional ["_models.Boundary" ] = None ,
767- ** kwargs
766+ boundary : Optional ["_models.Boundary" ] = None ,
767+ ** kwargs : Any
768768 ) -> "_models.Boundary" :
769769 """Creates or updates a boundary resource.
770770
771- :param farmer_id: Id of the farmer resource.
771+ :param farmer_id: ID of the farmer resource.
772772 :type farmer_id: str
773- :param boundary_id: Id of the boundary resource.
773+ :param boundary_id: ID of the boundary resource.
774774 :type boundary_id: str
775- :param body : Boundary resource payload to create or update.
776- :type body : ~azure.agrifood.farming.models.Boundary
775+ :param boundary : Boundary resource payload to create or update.
776+ :type boundary : ~azure.agrifood.farming.models.Boundary
777777 :keyword callable cls: A custom type or function that will be passed the direct response
778778 :return: Boundary, or the result of cls(response)
779779 :rtype: ~azure.agrifood.farming.models.Boundary
@@ -807,8 +807,8 @@ async def create_or_update(
807807 header_parameters ['Accept' ] = self ._serialize .header ("accept" , accept , 'str' )
808808
809809 body_content_kwargs = {} # type: Dict[str, Any]
810- if body is not None :
811- body_content = self ._serialize .body (body , 'Boundary' )
810+ if boundary is not None :
811+ body_content = self ._serialize .body (boundary , 'Boundary' )
812812 else :
813813 body_content = None
814814 body_content_kwargs ['content' ] = body_content
@@ -837,13 +837,13 @@ async def delete(
837837 self ,
838838 farmer_id : str ,
839839 boundary_id : str ,
840- ** kwargs
840+ ** kwargs : Any
841841 ) -> None :
842842 """Deletes a specified boundary resource under a particular farmer.
843843
844- :param farmer_id: Id of the farmer.
844+ :param farmer_id: ID of the farmer.
845845 :type farmer_id: str
846- :param boundary_id: Id of the boundary.
846+ :param boundary_id: ID of the boundary.
847847 :type boundary_id: str
848848 :keyword callable cls: A custom type or function that will be passed the direct response
849849 :return: None, or the result of cls(response)
@@ -895,17 +895,17 @@ async def get_overlap(
895895 boundary_id : str ,
896896 other_farmer_id : str ,
897897 other_boundary_id : str ,
898- ** kwargs
898+ ** kwargs : Any
899899 ) -> "_models.BoundaryOverlapResponse" :
900900 """Returns overlapping acreage between two boundary Ids.
901901
902- :param farmer_id: Id of the farmer.
902+ :param farmer_id: ID of the farmer.
903903 :type farmer_id: str
904- :param boundary_id: Id of the boundary.
904+ :param boundary_id: ID of the boundary.
905905 :type boundary_id: str
906906 :param other_farmer_id: FarmerId of the other field.
907907 :type other_farmer_id: str
908- :param other_boundary_id: Id of the other boundary.
908+ :param other_boundary_id: ID of the other boundary.
909909 :type other_boundary_id: str
910910 :keyword callable cls: A custom type or function that will be passed the direct response
911911 :return: BoundaryOverlapResponse, or the result of cls(response)
0 commit comments