conductor-oss / conductor-oss/python-sdk

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

オープン
#280 コメント 1 件 リアクション 1 件 担当者 1 名 @IgorChvyrov-sm が担当を希望しています GitHub で見る
bug
主要言語
Python
スター
104
フォーク
42
平均マージ
2日 1時間
マージ済み PR(30日)
3

説明

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:

```python
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.

```traceback
>>> secret_resource_api.list_all_secret_names()
Traceback (most recent call last):
File "", line 1, in
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`

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。