Skip to content

Commit

Permalink
Adjust CredentialManager imports from next to match 1.0.0 structure
Browse files Browse the repository at this point in the history
  • Loading branch information
adswa committed Jan 19, 2023
1 parent 2e9314f commit 85c2305
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion datalad_gooey/constraints.py
Original file line number Diff line number Diff line change
Expand Up @@ -544,7 +544,7 @@ def for_dataset(self, dataset: Dataset):
return EnsureChoice(*self._get_choices_(dataset))

def _get_choices_(self, dataset: Dataset = None):
from datalad_next.credman import CredentialManager
from datalad_next.utils.credman import CredentialManager
cfgman = dataset.config if dataset else dlcfg
credman = CredentialManager(cfgman)
for i in credman.query():
Expand Down
2 changes: 1 addition & 1 deletion datalad_gooey/credentials.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
QToolButton,
)

from datalad_next.credman import CredentialManager
from datalad_next.utils.credman import CredentialManager

from .utils import (
load_ui,
Expand Down

0 comments on commit 85c2305

Please sign in to comment.