@@ -597,22 +597,22 @@ def get_prop_publish_status_with_http_info(self, prop_id, **kwargs): # noqa: E5
597597 collection_formats = collection_formats ,
598598 _request_auth = local_var_params .get ('_request_auth' ))
599599
600- def list_props (self , author_id , ** kwargs ): # noqa: E501
600+ def list_props (self , ** kwargs ): # noqa: E501
601601 """List Props # noqa: E501
602602
603603 Returns a list Prop objects. # noqa: E501
604604 This method makes a synchronous HTTP request by default. To make an
605605 asynchronous HTTP request, please pass async_req=True
606606
607- >>> thread = api.list_props(author_id, async_req=True)
607+ >>> thread = api.list_props(async_req=True)
608608 >>> result = thread.get()
609609
610- :param author_id: Must be a valid user ID. (required)
611- :type author_id: str
612610 :param n: The number of objects to return.
613611 :type n: int
614612 :param offset: A zero-based offset from the default object sorting from where search results start.
615613 :type offset: int
614+ :param author_id: Must be a valid user ID.
615+ :type author_id: str
616616 :param async_req: Whether to execute the request asynchronously.
617617 :type async_req: bool, optional
618618 :param _preload_content: if False, the urllib3.HTTPResponse object will
@@ -629,24 +629,24 @@ def list_props(self, author_id, **kwargs): # noqa: E501
629629 :rtype: list[Prop]
630630 """
631631 kwargs ['_return_http_data_only' ] = True
632- return self .list_props_with_http_info (author_id , ** kwargs ) # noqa: E501
632+ return self .list_props_with_http_info (** kwargs ) # noqa: E501
633633
634- def list_props_with_http_info (self , author_id , ** kwargs ): # noqa: E501
634+ def list_props_with_http_info (self , ** kwargs ): # noqa: E501
635635 """List Props # noqa: E501
636636
637637 Returns a list Prop objects. # noqa: E501
638638 This method makes a synchronous HTTP request by default. To make an
639639 asynchronous HTTP request, please pass async_req=True
640640
641- >>> thread = api.list_props_with_http_info(author_id, async_req=True)
641+ >>> thread = api.list_props_with_http_info(async_req=True)
642642 >>> result = thread.get()
643643
644- :param author_id: Must be a valid user ID. (required)
645- :type author_id: str
646644 :param n: The number of objects to return.
647645 :type n: int
648646 :param offset: A zero-based offset from the default object sorting from where search results start.
649647 :type offset: int
648+ :param author_id: Must be a valid user ID.
649+ :type author_id: str
650650 :param async_req: Whether to execute the request asynchronously.
651651 :type async_req: bool, optional
652652 :param _return_http_data_only: response data without head status code
@@ -674,9 +674,9 @@ def list_props_with_http_info(self, author_id, **kwargs): # noqa: E501
674674 local_var_params = locals ()
675675
676676 all_params = [
677- 'author_id' ,
678677 'n' ,
679- 'offset'
678+ 'offset' ,
679+ 'author_id'
680680 ]
681681 all_params .extend (
682682 [
@@ -698,9 +698,6 @@ def list_props_with_http_info(self, author_id, **kwargs): # noqa: E501
698698 )
699699 local_var_params [key ] = val
700700 del local_var_params ['kwargs' ]
701- # verify the required parameter 'author_id' is set
702- if self .api_client .client_side_validation and local_var_params .get ('author_id' ) is None : # noqa: E501
703- raise ApiValueError ("Missing the required parameter `author_id` when calling `list_props`" ) # noqa: E501
704701
705702 if self .api_client .client_side_validation and 'n' in local_var_params and local_var_params ['n' ] > 100 : # noqa: E501
706703 raise ApiValueError ("Invalid value for parameter `n` when calling `list_props`, must be a value less than or equal to `100`" ) # noqa: E501
0 commit comments