Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Expose anoncreds APIs #233

Merged
merged 1 commit into from
Jan 28, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions aries_cloudcontroller/acapy_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@

from aries_cloudcontroller.api import (
ActionMenuApi,
AnoncredsCredentialDefinitionsApi,
AnoncredsRevocationApi,
AnoncredsSchemasApi,
AnoncredsWalletUpgradeApi,
BasicmessageApi,
ConnectionApi,
CredentialDefinitionApi,
Expand Down Expand Up @@ -37,6 +41,10 @@

class AcaPyClient(AbstractAsyncContextManager):
action_menu: ActionMenuApi
anoncreds_credential_definitions: AnoncredsCredentialDefinitionsApi
anoncreds_revocation: AnoncredsRevocationApi
anoncreds_schemas: AnoncredsSchemasApi
anoncreds_wallet_upgrade: AnoncredsWalletUpgradeApi
basicmessage: BasicmessageApi
connection: ConnectionApi
credential_definition: CredentialDefinitionApi
Expand Down Expand Up @@ -94,6 +102,12 @@ def __init__(

# Initialize the API modules
self.action_menu = ActionMenuApi(self.api_client)
self.anoncreds_credential_definitions = AnoncredsCredentialDefinitionsApi(
self.api_client
)
self.anoncreds_revocation = AnoncredsRevocationApi(self.api_client)
self.anoncreds_schemas = AnoncredsSchemasApi(self.api_client)
self.anoncreds_wallet_upgrade = AnoncredsWalletUpgradeApi(self.api_client)
self.basicmessage = BasicmessageApi(self.api_client)
self.connection = ConnectionApi(self.api_client)
self.credential_definition = CredentialDefinitionApi(self.api_client)
Expand Down
Loading