Skip to content

Commit

Permalink
⬆️ Upgrade to our 1.1.1b0 release
Browse files Browse the repository at this point in the history
Signed-off-by: ff137 <ff137@proton.me>
  • Loading branch information
ff137 committed Oct 22, 2024
1 parent 5703e6f commit 4f7e1d1
Show file tree
Hide file tree
Showing 5 changed files with 1,104 additions and 1,018 deletions.
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

0 comments on commit 4f7e1d1

Please sign in to comment.