diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index e6f15917a0..8b6779241e 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -10,7 +10,7 @@ jobs: CodeQL-Build: # CodeQL runs on ubuntu-latest and windows-latest runs-on: ubuntu-latest - if: (github.event_name == 'pull_request' && github.repository == 'hyperledger/aries-cloudagent-python') || (github.event_name != 'pull_request') + if: (github.event_name == 'pull_request' && github.repository == 'jamshale/acapy') || (github.event_name != 'pull_request') permissions: security-events: write diff --git a/.github/workflows/integrationtests.yml b/.github/workflows/integrationtests.yml index e7c5a23275..cd21987432 100644 --- a/.github/workflows/integrationtests.yml +++ b/.github/workflows/integrationtests.yml @@ -17,7 +17,7 @@ defaults: jobs: test: runs-on: ubuntu-latest - if: (github.event_name == 'pull_request' && github.repository == 'hyperledger/aries-cloudagent-python') || (github.event_name != 'pull_request') + if: (github.event_name == 'pull_request' && github.repository == 'jamshale/acapy') || (github.event_name != 'pull_request') steps: - name: checkout-acapy uses: actions/checkout@v3 diff --git a/.github/workflows/nigthly.yml b/.github/workflows/nigthly.yml index 7af06f95a4..e41d85f61f 100644 --- a/.github/workflows/nigthly.yml +++ b/.github/workflows/nigthly.yml @@ -7,7 +7,7 @@ on: jobs: tests: - if: github.repository == 'hyperledger/aries-cloudagent-python' || github.event_name == 'workflow_dispatch' + if: github.repository == 'jamshale/acapy' || github.event_name == 'workflow_dispatch' name: Tests strategy: fail-fast: false diff --git a/.github/workflows/pip-audit.yml b/.github/workflows/pip-audit.yml index 486a36e0fb..0ee47cf9ba 100644 --- a/.github/workflows/pip-audit.yml +++ b/.github/workflows/pip-audit.yml @@ -9,7 +9,7 @@ permissions: jobs: selftest: runs-on: ubuntu-latest - if: (github.event_name == 'pull_request' && github.repository == 'hyperledger/aries-cloudagent-python') || (github.event_name != 'pull_request') + if: (github.event_name == 'pull_request' && github.repository == 'jamshale/acapy') || (github.event_name != 'pull_request') steps: - uses: actions/checkout@v3 - name: install diff --git a/aries_cloudagent/askar/profile.py b/aries_cloudagent/askar/profile.py index e9b84db4e0..419a07ff90 100644 --- a/aries_cloudagent/askar/profile.py +++ b/aries_cloudagent/askar/profile.py @@ -5,7 +5,6 @@ import time # import traceback - from typing import Any, Mapping from weakref import ref @@ -26,8 +25,7 @@ from ..utils.multi_ledger import get_write_ledger_config_for_profile from ..wallet.base import BaseWallet from ..wallet.crypto import validate_seed - -from .store import AskarStoreConfig, AskarOpenStore +from .store import AskarOpenStore, AskarStoreConfig LOGGER = logging.getLogger(__name__) @@ -118,7 +116,7 @@ def bind_providers(self): VCHolder, ClassProvider( "aries_cloudagent.storage.vc_holder.askar.AskarVCHolder", - ref(self), + ClassProvider.Inject(Profile), ), ) if (