Collection search resulting in unexpected keyword error

Bug Report

🐛 Summary

Using the search function of the SearchApi results in: got an unexpected keyword argument 'key_ca_cert_data'

📋 Steps to reproduce

  1. Go to the search documentation
  2. Copy the code and paste in host and api key
  3. Run the code

📦 Environment

  • shepard Version: 4.0.0
  • Webbrowser and version: Firefox
  • shepard client and version: 4.0.0
  • Operating system: Ubuntu

💣 What is the current bug behavior?

Search command fails

🥅 What is the expected correct behavior?

Search returns a list of matches

📓 Relevant logs and/or screenshots

Traceback (most recent call last):
  File "/home/jt/services/cap_backend/local/test.py", line 25, in <module>
    result = search_api.search(search_body)
  File "/home/jt/.local/lib/python3.10/site-packages/pydantic/validate_call_decorator.py", line 60, in wrapper_function
    return validate_call_wrapper(*args, **kwargs)
  File "/home/jt/.local/lib/python3.10/site-packages/pydantic/_internal/_validate_call.py", line 96, in __call__
    res = self.__pydantic_validator__.validate_python(pydantic_core.ArgsKwargs(args, kwargs))
  File "/home/jt/.local/lib/python3.10/site-packages/shepard_client/api/search_api.py", line 110, in search
    response_data = self.api_client.call_api(
  File "/home/jt/.local/lib/python3.10/site-packages/shepard_client/api_client.py", line 273, in call_api
    response_data = self.rest_client.request(
  File "/home/jt/.local/lib/python3.10/site-packages/shepard_client/rest.py", line 183, in request
    r = self.pool_manager.request(
  File "/home/jt/.local/lib/python3.10/site-packages/urllib3/request.py", line 78, in request
    return self.request_encode_body(
  File "/home/jt/.local/lib/python3.10/site-packages/urllib3/request.py", line 170, in request_encode_body
    return self.urlopen(method, url, **extra_kw)
  File "/home/jt/.local/lib/python3.10/site-packages/urllib3/poolmanager.py", line 365, in urlopen
    conn = self.connection_from_host(u.host, port=u.port, scheme=u.scheme)
  File "/home/jt/.local/lib/python3.10/site-packages/urllib3/poolmanager.py", line 246, in connection_from_host
    return self.connection_from_context(request_context)
  File "/home/jt/.local/lib/python3.10/site-packages/urllib3/poolmanager.py", line 259, in connection_from_context
    pool_key = pool_key_constructor(request_context)
  File "/home/jt/.local/lib/python3.10/site-packages/urllib3/poolmanager.py", line 125, in _default_key_normalizer
    return key_class(**context)
TypeError: PoolKey.__new__() got an unexpected keyword argument 'key_ca_cert_data'

💡 Hints

🤔 Risks & Open Questions