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

⬆️ Upgrade to our 1.1.1b0 release #59

Merged
merged 1 commit into from
Oct 22, 2024
Merged
Show file tree
Hide file tree
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
4 changes: 2 additions & 2 deletions acapy_wallet_groups_plugin/v1_0/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
import logging
from importlib import metadata

from aries_cloudagent.admin.request_context import InjectionContext
from aries_cloudagent.wallet.models.wallet_record import WalletRecord
from acapy_agent.admin.request_context import InjectionContext
from acapy_agent.wallet.models.wallet_record import WalletRecord

LOGGER = logging.getLogger(__name__)

Expand Down
39 changes: 17 additions & 22 deletions acapy_wallet_groups_plugin/v1_0/routes.py
Original file line number Diff line number Diff line change
@@ -1,23 +1,15 @@
"""
Multitenant admin routes.

This file has been copied from: https://github.com/ff137/aries-cloudagent-python/blob/feat/pagination-ordering/aries_cloudagent/multitenant/admin/routes.py
This file has been copied from: https://github.com/didx-xyz/acapy/blob/1.1.1b0/acapy_agent/multitenant/admin/routes.py

We do this because we want to override two endpoints
"""

from aiohttp import web
from aiohttp_apispec import (
docs,
match_info_schema,
querystring_schema,
request_schema,
response_schema,
)
from aries_cloudagent.admin.request_context import AdminRequestContext
from aries_cloudagent.messaging.models.base import BaseModelError
from aries_cloudagent.messaging.models.paginated_query import get_paginated_query_params
from aries_cloudagent.multitenant.admin.routes import (
from acapy_agent.admin.request_context import AdminRequestContext
from acapy_agent.messaging.models.base import BaseModelError
from acapy_agent.messaging.models.paginated_query import get_paginated_query_params
from acapy_agent.multitenant.admin.routes import (
CreateWalletRequestSchema,
CreateWalletResponseSchema,
UpdateWalletRequestSchema,
Expand All @@ -30,17 +22,20 @@
wallet_remove,
wallet_update,
)
from aries_cloudagent.multitenant.base import BaseError, BaseMultitenantManager
from aries_cloudagent.storage.error import StorageError, StorageNotFoundError
from aries_cloudagent.utils.endorsement_setup import (
attempt_auto_author_with_endorser_setup,
)
from aries_cloudagent.utils.profiles import (
from acapy_agent.multitenant.base import BaseError, BaseMultitenantManager
from acapy_agent.storage.error import StorageError, StorageNotFoundError
from acapy_agent.utils.endorsement_setup import attempt_auto_author_with_endorser_setup
from acapy_agent.utils.profiles import (
subwallet_type_not_same_as_base_wallet_raise_web_exception,
)
from aries_cloudagent.wallet.models.wallet_record import (
WalletRecord,
WalletRecordSchema,
from acapy_agent.wallet.models.wallet_record import WalletRecord, WalletRecordSchema
from aiohttp import web
from aiohttp_apispec import (
docs,
match_info_schema,
querystring_schema,
request_schema,
response_schema,
)
from marshmallow import fields

Expand Down
Loading