Basic Example: AttributeError: 'Configuration' object has no attribute 'select_header_accept'

Open
#280 1 comment 1 reaction 1 assignee View on GitHub

@IgorChvyrov-sm is already working on this.

Since Jul 17, 2025.

Assessment

This issue has not been assessed yet.

Description

bug

I've been working on a basic secrets management example, the idea being to push tokens into Orkes/Conductor for various purposes. Have the following example code:

from conductor.client.configuration.configuration import Configuration
from conductor.client.http.api.secret_resource_api import SecretResourceApi

api_config = Configuration()

secret_resource_api = SecretResourceApi(api_client=api_config)
secret_resource_api.list_all_secret_names()

This code falls flat on it's face before even making a network request.

>>> secret_resource_api.list_all_secret_names()
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/home/chalbersma/Documents/src/github.com/soxhub/chips/venv/lib/python3.11/site-packages/conductor/client/http/api/secret_resource_api.py", line 422, in list_all_secret_names
    (data) = self.list_all_secret_names_with_http_info(**kwargs)  # noqa: E501
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/chalbersma/Documents/src/github.com/soxhub/chips/venv/lib/python3.11/site-packages/conductor/client/http/api/secret_resource_api.py", line 468, in list_all_secret_names_with_http_info
    header_params['Accept'] = self.api_client.select_header_accept(
                              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Testing done on conductor-python==1.1.10 and python 3.11.11

Dominant language
Python
Stars
104
Forks
43
Avg merge
1d 13h
Merged PRs (30d)
4

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from conductor-oss/python-sdk

All issues in conductor-oss/python-sdk

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.