Skip to content

Commit

Permalink
✨ Release 1.0.0rc4 (#182)
Browse files Browse the repository at this point in the history
* ➕ 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
  • Loading branch information
ff137 authored Jul 11, 2024
1 parent 87a1137 commit dec74cc
Show file tree
Hide file tree
Showing 400 changed files with 1,684 additions and 1,562 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/python-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
- name: Install Python 3
uses: actions/setup-python@v5
with:
python-version: "3.10"
python-version: "3.12"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
Expand All @@ -28,10 +28,10 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python "3.10"
- name: Set up Python "3.12"
uses: actions/setup-python@v5
with:
python-version: "3.10"
python-version: "3.12"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
Expand All @@ -53,7 +53,7 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.10"
python-version: "3.12"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/python-test-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
- name: Install Python 3
uses: actions/setup-python@v5
with:
python-version: "3.10"
python-version: "3.12"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
Expand All @@ -30,10 +30,10 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python "3.10"
- name: Set up Python "3.12"
uses: actions/setup-python@v5
with:
python-version: "3.10"
python-version: "3.12"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
Expand All @@ -55,7 +55,7 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.10"
python-version: "3.12"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
Expand Down
1 change: 0 additions & 1 deletion .python-version

This file was deleted.

2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ For legacy versions, please review our release history to found the version comp
Aries CloudController Python provides a robust client for interacting with Aries Cloud Agents (ACA-Py).

- **Fully Typed**: Offers a strongly-typed wrapper around the Aries Cloud Agent Python, enhancing developer experience and reducing errors.
- **Up-to-Date Support**: Compatible with the latest ACA-Py version (0.12.1), ensuring access to the most recent features and improvements.
- **Up-to-Date Support**: Compatible with the latest ACA-Py version (1.0.0rc4), ensuring access to the most recent features and improvements.
- **Auto-Generated Client**: Utilizes OpenAPI definitions for automatic generation, ensuring timely updates in line with new ACA-Py releases.
- **Multi-Tenancy and Authentication Support**: Facilitates working with multi-tenant APIs and integrates various authentication mechanisms.
- **Asynchronous API**: Supports asynchronous operations, enabling efficient handling of I/O-bound tasks.
Expand Down
6 changes: 2 additions & 4 deletions aries_cloudcontroller/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,14 @@
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
The version of the OpenAPI document: v0.12.2b1
The version of the OpenAPI document: v1.0.0rc4
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
""" # noqa: E501


__version__ = "0.12.2b1"
__version__ = "1.0.0rc4"

from aries_cloudcontroller.acapy_client import AcaPyClient

Expand Down Expand Up @@ -181,13 +181,11 @@
IndyPresPreview,
IndyPresSpec,
IndyPrimaryProof,
IndyPrimaryProofEqProof,
IndyProof,
IndyProofIdentifier,
IndyProofProof,
IndyProofProofAggregatedProof,
IndyProofProofProofsProof,
IndyProofProofProofsProofNonRevocProof,
IndyProofReqAttrSpec,
IndyProofReqAttrSpecNonRevoked,
IndyProofReqPredSpec,
Expand Down
37 changes: 21 additions & 16 deletions aries_cloudcontroller/api/action_menu_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
The version of the OpenAPI document: v0.12.2b1
The version of the OpenAPI document: v1.0.0rc4
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
Expand Down Expand Up @@ -107,9 +107,10 @@ def _close_active_menu_serialize(
# process the body parameter

# set the HTTP header `Accept`
_header_params["Accept"] = self.api_client.select_header_accept(
["application/json"]
)
if "Accept" not in _header_params:
_header_params["Accept"] = self.api_client.select_header_accept(
["application/json"]
)

# authentication setting
_auth_settings: List[str] = ["AuthorizationHeader"]
Expand Down Expand Up @@ -202,9 +203,10 @@ def _fetch_active_menu_serialize(
# process the body parameter

# set the HTTP header `Accept`
_header_params["Accept"] = self.api_client.select_header_accept(
["application/json"]
)
if "Accept" not in _header_params:
_header_params["Accept"] = self.api_client.select_header_accept(
["application/json"]
)

# authentication setting
_auth_settings: List[str] = ["AuthorizationHeader"]
Expand Down Expand Up @@ -304,9 +306,10 @@ def _perform_action_serialize(
_body_params = body

# set the HTTP header `Accept`
_header_params["Accept"] = self.api_client.select_header_accept(
["application/json"]
)
if "Accept" not in _header_params:
_header_params["Accept"] = self.api_client.select_header_accept(
["application/json"]
)

# set the HTTP header `Content-Type`
if _content_type:
Expand Down Expand Up @@ -409,9 +412,10 @@ def _request_active_menu_serialize(
# process the body parameter

# set the HTTP header `Accept`
_header_params["Accept"] = self.api_client.select_header_accept(
["application/json"]
)
if "Accept" not in _header_params:
_header_params["Accept"] = self.api_client.select_header_accept(
["application/json"]
)

# authentication setting
_auth_settings: List[str] = ["AuthorizationHeader"]
Expand Down Expand Up @@ -511,9 +515,10 @@ def _send_menu_serialize(
_body_params = body

# set the HTTP header `Accept`
_header_params["Accept"] = self.api_client.select_header_accept(
["application/json"]
)
if "Accept" not in _header_params:
_header_params["Accept"] = self.api_client.select_header_accept(
["application/json"]
)

# set the HTTP header `Content-Type`
if _content_type:
Expand Down
23 changes: 13 additions & 10 deletions aries_cloudcontroller/api/anoncreds_credential_definitions_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
The version of the OpenAPI document: v0.12.2b1
The version of the OpenAPI document: v1.0.0rc4
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
Expand Down Expand Up @@ -108,9 +108,10 @@ def _create_credential_definition_serialize(
_body_params = body

# set the HTTP header `Accept`
_header_params["Accept"] = self.api_client.select_header_accept(
["application/json"]
)
if "Accept" not in _header_params:
_header_params["Accept"] = self.api_client.select_header_accept(
["application/json"]
)

# set the HTTP header `Content-Type`
if _content_type:
Expand Down Expand Up @@ -215,9 +216,10 @@ def _get_credential_definition_serialize(
# process the body parameter

# set the HTTP header `Accept`
_header_params["Accept"] = self.api_client.select_header_accept(
["application/json"]
)
if "Accept" not in _header_params:
_header_params["Accept"] = self.api_client.select_header_accept(
["application/json"]
)

# authentication setting
_auth_settings: List[str] = ["AuthorizationHeader"]
Expand Down Expand Up @@ -348,9 +350,10 @@ def _get_credential_definitions_serialize(
# process the body parameter

# set the HTTP header `Accept`
_header_params["Accept"] = self.api_client.select_header_accept(
["application/json"]
)
if "Accept" not in _header_params:
_header_params["Accept"] = self.api_client.select_header_accept(
["application/json"]
)

# authentication setting
_auth_settings: List[str] = ["AuthorizationHeader"]
Expand Down
Loading

0 comments on commit dec74cc

Please sign in to comment.