Skip to content

Commit dec74cc

Browse files
authored
✨ Release 1.0.0rc4 (#182)
* ➕ add ruff as dev dependency * 🎨 fix ruff errors * 🎨 update openapi generator version * ✨ regenerate with v7.7.0 openapi generator: now allows for custom Accept headers * 💥 regenerate with v7.7.0 openapi generator: models rename * ✨ regenerate with v7.7.0 openapi generator * ⬆️ Use python 3.12 * 🔥 * ⬆️ Update default ACA-Py image to 1.0.0rc4 * ✨ modify script for backward compatibility (in most cases): use py3.9 for older versions * 📝 latest spec * 🎨 set document version to 1.0.0rc4 * 🔥 remove deprecated models * ✨ regenerate with v7.7.0 openapi generator: now allows for custom Accept headers * 🎨 version 1.0.0rc4
1 parent 87a1137 commit dec74cc

File tree

400 files changed

+1684
-1562
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

400 files changed

+1684
-1562
lines changed

.github/workflows/python-publish.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
- name: Install Python 3
1616
uses: actions/setup-python@v5
1717
with:
18-
python-version: "3.10"
18+
python-version: "3.12"
1919
- name: Install dependencies
2020
run: |
2121
python -m pip install --upgrade pip
@@ -28,10 +28,10 @@ jobs:
2828
runs-on: ubuntu-latest
2929
steps:
3030
- uses: actions/checkout@v4
31-
- name: Set up Python "3.10"
31+
- name: Set up Python "3.12"
3232
uses: actions/setup-python@v5
3333
with:
34-
python-version: "3.10"
34+
python-version: "3.12"
3535
- name: Install dependencies
3636
run: |
3737
python -m pip install --upgrade pip
@@ -53,7 +53,7 @@ jobs:
5353
- name: Set up Python
5454
uses: actions/setup-python@v5
5555
with:
56-
python-version: "3.10"
56+
python-version: "3.12"
5757
- name: Install dependencies
5858
run: |
5959
python -m pip install --upgrade pip

.github/workflows/python-test-publish.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
- name: Install Python 3
1818
uses: actions/setup-python@v5
1919
with:
20-
python-version: "3.10"
20+
python-version: "3.12"
2121
- name: Install dependencies
2222
run: |
2323
python -m pip install --upgrade pip
@@ -30,10 +30,10 @@ jobs:
3030
runs-on: ubuntu-latest
3131
steps:
3232
- uses: actions/checkout@v4
33-
- name: Set up Python "3.10"
33+
- name: Set up Python "3.12"
3434
uses: actions/setup-python@v5
3535
with:
36-
python-version: "3.10"
36+
python-version: "3.12"
3737
- name: Install dependencies
3838
run: |
3939
python -m pip install --upgrade pip
@@ -55,7 +55,7 @@ jobs:
5555
- name: Set up Python
5656
uses: actions/setup-python@v5
5757
with:
58-
python-version: "3.10"
58+
python-version: "3.12"
5959
- name: Install dependencies
6060
run: |
6161
python -m pip install --upgrade pip

.python-version

-1
This file was deleted.

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ For legacy versions, please review our release history to found the version comp
4747
Aries CloudController Python provides a robust client for interacting with Aries Cloud Agents (ACA-Py).
4848

4949
- **Fully Typed**: Offers a strongly-typed wrapper around the Aries Cloud Agent Python, enhancing developer experience and reducing errors.
50-
- **Up-to-Date Support**: Compatible with the latest ACA-Py version (0.12.1), ensuring access to the most recent features and improvements.
50+
- **Up-to-Date Support**: Compatible with the latest ACA-Py version (1.0.0rc4), ensuring access to the most recent features and improvements.
5151
- **Auto-Generated Client**: Utilizes OpenAPI definitions for automatic generation, ensuring timely updates in line with new ACA-Py releases.
5252
- **Multi-Tenancy and Authentication Support**: Facilitates working with multi-tenant APIs and integrates various authentication mechanisms.
5353
- **Asynchronous API**: Supports asynchronous operations, enabling efficient handling of I/O-bound tasks.

aries_cloudcontroller/__init__.py

+2-4
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,14 @@
77
88
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
99
10-
The version of the OpenAPI document: v0.12.2b1
10+
The version of the OpenAPI document: v1.0.0rc4
1111
Generated by OpenAPI Generator (https://openapi-generator.tech)
1212
1313
Do not edit the class manually.
1414
""" # noqa: E501
1515

1616

17-
__version__ = "0.12.2b1"
17+
__version__ = "1.0.0rc4"
1818

1919
from aries_cloudcontroller.acapy_client import AcaPyClient
2020

@@ -181,13 +181,11 @@
181181
IndyPresPreview,
182182
IndyPresSpec,
183183
IndyPrimaryProof,
184-
IndyPrimaryProofEqProof,
185184
IndyProof,
186185
IndyProofIdentifier,
187186
IndyProofProof,
188187
IndyProofProofAggregatedProof,
189188
IndyProofProofProofsProof,
190-
IndyProofProofProofsProofNonRevocProof,
191189
IndyProofReqAttrSpec,
192190
IndyProofReqAttrSpecNonRevoked,
193191
IndyProofReqPredSpec,

aries_cloudcontroller/api/action_menu_api.py

+21-16
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
66
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
77
8-
The version of the OpenAPI document: v0.12.2b1
8+
The version of the OpenAPI document: v1.0.0rc4
99
Generated by OpenAPI Generator (https://openapi-generator.tech)
1010
1111
Do not edit the class manually.
@@ -107,9 +107,10 @@ def _close_active_menu_serialize(
107107
# process the body parameter
108108

109109
# set the HTTP header `Accept`
110-
_header_params["Accept"] = self.api_client.select_header_accept(
111-
["application/json"]
112-
)
110+
if "Accept" not in _header_params:
111+
_header_params["Accept"] = self.api_client.select_header_accept(
112+
["application/json"]
113+
)
113114

114115
# authentication setting
115116
_auth_settings: List[str] = ["AuthorizationHeader"]
@@ -202,9 +203,10 @@ def _fetch_active_menu_serialize(
202203
# process the body parameter
203204

204205
# set the HTTP header `Accept`
205-
_header_params["Accept"] = self.api_client.select_header_accept(
206-
["application/json"]
207-
)
206+
if "Accept" not in _header_params:
207+
_header_params["Accept"] = self.api_client.select_header_accept(
208+
["application/json"]
209+
)
208210

209211
# authentication setting
210212
_auth_settings: List[str] = ["AuthorizationHeader"]
@@ -304,9 +306,10 @@ def _perform_action_serialize(
304306
_body_params = body
305307

306308
# set the HTTP header `Accept`
307-
_header_params["Accept"] = self.api_client.select_header_accept(
308-
["application/json"]
309-
)
309+
if "Accept" not in _header_params:
310+
_header_params["Accept"] = self.api_client.select_header_accept(
311+
["application/json"]
312+
)
310313

311314
# set the HTTP header `Content-Type`
312315
if _content_type:
@@ -409,9 +412,10 @@ def _request_active_menu_serialize(
409412
# process the body parameter
410413

411414
# set the HTTP header `Accept`
412-
_header_params["Accept"] = self.api_client.select_header_accept(
413-
["application/json"]
414-
)
415+
if "Accept" not in _header_params:
416+
_header_params["Accept"] = self.api_client.select_header_accept(
417+
["application/json"]
418+
)
415419

416420
# authentication setting
417421
_auth_settings: List[str] = ["AuthorizationHeader"]
@@ -511,9 +515,10 @@ def _send_menu_serialize(
511515
_body_params = body
512516

513517
# set the HTTP header `Accept`
514-
_header_params["Accept"] = self.api_client.select_header_accept(
515-
["application/json"]
516-
)
518+
if "Accept" not in _header_params:
519+
_header_params["Accept"] = self.api_client.select_header_accept(
520+
["application/json"]
521+
)
517522

518523
# set the HTTP header `Content-Type`
519524
if _content_type:

aries_cloudcontroller/api/anoncreds_credential_definitions_api.py

+13-10
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
66
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
77
8-
The version of the OpenAPI document: v0.12.2b1
8+
The version of the OpenAPI document: v1.0.0rc4
99
Generated by OpenAPI Generator (https://openapi-generator.tech)
1010
1111
Do not edit the class manually.
@@ -108,9 +108,10 @@ def _create_credential_definition_serialize(
108108
_body_params = body
109109

110110
# set the HTTP header `Accept`
111-
_header_params["Accept"] = self.api_client.select_header_accept(
112-
["application/json"]
113-
)
111+
if "Accept" not in _header_params:
112+
_header_params["Accept"] = self.api_client.select_header_accept(
113+
["application/json"]
114+
)
114115

115116
# set the HTTP header `Content-Type`
116117
if _content_type:
@@ -215,9 +216,10 @@ def _get_credential_definition_serialize(
215216
# process the body parameter
216217

217218
# set the HTTP header `Accept`
218-
_header_params["Accept"] = self.api_client.select_header_accept(
219-
["application/json"]
220-
)
219+
if "Accept" not in _header_params:
220+
_header_params["Accept"] = self.api_client.select_header_accept(
221+
["application/json"]
222+
)
221223

222224
# authentication setting
223225
_auth_settings: List[str] = ["AuthorizationHeader"]
@@ -348,9 +350,10 @@ def _get_credential_definitions_serialize(
348350
# process the body parameter
349351

350352
# set the HTTP header `Accept`
351-
_header_params["Accept"] = self.api_client.select_header_accept(
352-
["application/json"]
353-
)
353+
if "Accept" not in _header_params:
354+
_header_params["Accept"] = self.api_client.select_header_accept(
355+
["application/json"]
356+
)
354357

355358
# authentication setting
356359
_auth_settings: List[str] = ["AuthorizationHeader"]

0 commit comments

Comments
 (0)