original_docstring: Fetch all memberships  # noqa: E501
  
          This method makes a synchronous HTTP request by default. To make an
          asynchronous HTTP request, please pass async_req=True
          >>> thread = api.view_memberships_v3_rc1_with_http_info(orcid, async_req=True)
          >>> result = thread.get()
  
          :param async_req bool
          :param str orcid: (required)
          :return: MembershipsV30Rc1
                   If the method is called asynchronously,
                   returns the request thread.
          
docstring: Fetch all memberships  # noqa: E501
  This method makes a synchronous HTTP request by default.
  
  
docstring_tokens: Fetch all memberships # noqa : E501 This method makes a synchronous HTTP request by default .
code: def view_memberships_v3_rc1_with_http_info(self, orcid, **kwargs):  # noqa: E501
          """Fetch all memberships  # noqa: E501
  
          This method makes a synchronous HTTP request by default. To make an
          asynchronous HTTP request, please pass async_req=True
          >>> thread = api.view_memberships_v3_rc1_with_http_info(orcid, async_req=True)
          >>> result = thread.get()
  
          :param async_req bool
          :param str orcid: (required)
          :return: MembershipsV30Rc1
                   If the method is called asynchronously,
                   returns the request thread.
          """
  
          all_params = ['orcid']  # noqa: E501
          all_params.append('async_req')
          all_params.append('_return_http_data_only')
          all_params.append('_preload_content')
          all_params.append('_request_timeout')
  
          params = locals()
          for key, val in six.iteritems(params['kwargs']):
              if key not in all_params:
                  raise TypeError(
                      "Got an unexpected keyword argument '%s'"
                      " to method view_memberships_v3_rc1" % key
                  )
              params[key] = val
          del params['kwargs']
          # verify the required parameter 'orcid' is set
          if ('orcid' not in params or
                  params['orcid'] is None):
              raise ValueError("Missing the required parameter `orcid` when calling `view_memberships_v3_rc1`")  # noqa: E501
  
          collection_formats = {}
  
          path_params = {}
          if 'orcid' in params:
              path_params['orcid'] = params['orcid']  # noqa: E501
  
          query_params = []
  
          header_params = {}
  
          form_params = []
          local_var_files = {}
  
          body_params = None
          # HTTP header `Accept`
          header_params['Accept'] = self.api_client.select_header_accept(
              ['application/vnd.orcid+xml; qs=5', 'application/orcid+xml; qs=3', 'application/xml', 'application/vnd.orcid+json; qs=4', 'application/orcid+json; qs=2', 'application/json'])  # noqa: E501
  
          # Authentication setting
          auth_settings = ['orcid_auth']  # noqa: E501
  
          return self.api_client.call_api(
              '/v3.0_rc1/{orcid}/memberships', 'GET',
              path_params,
              query_params,
              header_params,
              body=body_params,
              post_params=form_params,
              files=local_var_files,
              response_type='MembershipsV30Rc1',  # noqa: E501
              auth_settings=auth_settings,
              async_req=params.get('async_req'),
              _return_http_data_only=params.get('_return_http_data_only'),
              _preload_content=params.get('_preload_content', True),
              _request_timeout=params.get('_request_timeout'),
              collection_formats=collection_formats)
code_tokens: def view_memberships_v3_rc1_with_http_info ( self , orcid , ** kwargs ) : all_params = [ 'orcid' ] all_params . append ( 'async_req' ) all_params . append ( '_return_http_data_only' ) all_params . append ( '_preload_content' ) all_params . append ( '_request_timeout' ) params = locals ( ) for key , val in six . iteritems ( params [ 'kwargs' ] ) : if key not in all_params : raise TypeError ( "Got an unexpected keyword argument '%s'" " to method view_memberships_v3_rc1" % key ) params [ key ] = val del params [ 'kwargs' ] if ( 'orcid' not in params or params [ 'orcid' ] is None ) : raise ValueError ( "Missing the required parameter `orcid` when calling `view_memberships_v3_rc1`" ) collection_formats = { } path_params = { } if 'orcid' in params : path_params [ 'orcid' ] = params [ 'orcid' ] query_params = [ ] header_params = { } form_params = [ ] local_var_files = { } body_params = None header_params [ 'Accept' ] = self . api_client . select_header_accept ( [ 'application/vnd.orcid+xml; qs=5' , 'application/orcid+xml; qs=3' , 'application/xml' , 'application/vnd.orcid+json; qs=4' , 'application/orcid+json; qs=2' , 'application/json' ] ) auth_settings = [ 'orcid_auth' ] return self . api_client . call_api ( '/v3.0_rc1/{orcid}/memberships' , 'GET' , path_params , query_params , header_params , body = body_params , post_params = form_params , files = local_var_files , response_type = 'MembershipsV30Rc1' , auth_settings = auth_settings , async_req = params . get ( 'async_req' ) , _return_http_data_only = params . get ( '_return_http_data_only' ) , _preload_content = params . get ( '_preload_content' , True ) , _request_timeout = params . get ( '_request_timeout' ) , collection_formats = collection_formats )
short_docstring: Fetch all memberships  # noqa: E501
  This method makes a synchronous HTTP request by default.
short_docstring_tokens: Fetch all memberships # noqa : E501 This method makes a synchronous HTTP request by default .
comment: # noqa: E501$SEP$"""Fetch all memberships  # noqa: E501
  
          This method makes a synchronous HTTP request by default. To make an
          asynchronous HTTP request, please pass async_req=True
          >>> thread = api.view_memberships_v3_rc1_with_http_info(orcid, async_req=True)
          >>> result = thread.get()
  
          :param async_req bool
          :param str orcid: (required)
          :return: MembershipsV30Rc1
                   If the method is called asynchronously,
                   returns the request thread.
          """$SEP$# noqa: E501$SEP$# verify the required parameter 'orcid' is set$SEP$# noqa: E501$SEP$# noqa: E501$SEP$# HTTP header `Accept`$SEP$# noqa: E501$SEP$# Authentication setting$SEP$# noqa: E501$SEP$# noqa: E501