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

refactor: logging should use keri.help, not hio.help #907

Merged
merged 1 commit into from
Dec 15, 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
2 changes: 0 additions & 2 deletions src/keri/app/apping.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@
keri.app.apping module
"""
import cmd

from hio.base import doing
from hio.core.serial import serialing

Expand Down
2 changes: 1 addition & 1 deletion src/keri/app/cli/commands/challenge/generate.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
import argparse
import json

from hio import help
from keri import help
from hio.base import doing
from mnemonic import mnemonic

Expand Down
2 changes: 1 addition & 1 deletion src/keri/app/cli/commands/challenge/verify.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
import datetime
import sys

from hio import help
from keri import help
from hio.base import doing

from keri.app import indirecting, challenging, connecting, signaling
Expand Down
2 changes: 1 addition & 1 deletion src/keri/app/cli/commands/contacts/list.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
import argparse
import json

from hio import help
from keri import help
from hio.base import doing
from keri import kering

Expand Down
2 changes: 1 addition & 1 deletion src/keri/app/cli/commands/did/generate.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
from urllib.parse import urlparse

import sys
from hio import help
from keri import help
from hio.base import doing

from keri import kering
Expand Down
2 changes: 1 addition & 1 deletion src/keri/app/cli/commands/ends/add.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"""
import argparse

from hio import help
from keri import help
from hio.base import doing

from keri import kering
Expand Down
4 changes: 2 additions & 2 deletions src/keri/app/cli/commands/ends/export.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,12 @@
"""
import argparse

from hio import help
from keri import help
from hio.base import doing

from keri import kering
from keri.app.cli.common import existing
from keri.core import coring, eventing
from keri.core import eventing

logger = help.ogler.getLogger()

Expand Down
4 changes: 1 addition & 3 deletions src/keri/app/cli/commands/ends/list.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,11 @@
import argparse
import json

from hio import help
from keri import help
from hio.base import doing

from keri import kering
from keri.app import indirecting, habbing, forwarding, grouping
from keri.app.cli.common import existing
from keri.core import eventing, parsing, coring

logger = help.ogler.getLogger()

Expand Down
2 changes: 1 addition & 1 deletion src/keri/app/cli/commands/escrow/clear.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"""
import argparse

from hio import help
from keri import help
from hio.base import doing
from keri.app.cli.common import existing
from keri.vdr import viring
Expand Down
2 changes: 1 addition & 1 deletion src/keri/app/cli/commands/escrow/list.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
import argparse
import json

from hio import help
from keri import help
from hio.base import doing

from keri.core import eventing
Expand Down
4 changes: 2 additions & 2 deletions src/keri/app/cli/commands/export.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,11 @@
import argparse
import sys

from hio import help
from keri import help
from hio.base import doing

from keri.app.cli.common import existing
from keri.core import coring, serdering
from keri.core import serdering

logger = help.ogler.getLogger()

Expand Down
2 changes: 1 addition & 1 deletion src/keri/app/cli/commands/incept.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
import argparse
from dataclasses import dataclass

from hio import help
from keri import help
from hio.base import doing

from keri.app import habbing, agenting, indirecting, configing, delegating, forwarding
Expand Down
2 changes: 1 addition & 1 deletion src/keri/app/cli/commands/init.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
import argparse
import getpass

from hio import help
from keri import help
from hio.base import doing

import keri.app.oobiing
Expand Down
2 changes: 1 addition & 1 deletion src/keri/app/cli/commands/ipex/list.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
import os
import sys

from hio import help
from keri import help
from hio.base import doing

from keri import kering
Expand Down
4 changes: 2 additions & 2 deletions src/keri/app/cli/commands/kevers.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,12 @@
import datetime

import sys
from hio import help
from keri import help
from hio.base import doing

from keri.app import indirecting
from keri.app.cli.common import displaying, existing
from keri.core import coring, serdering
from keri.core import serdering
from keri.help import helping

logger = help.ogler.getLogger()
Expand Down
3 changes: 1 addition & 2 deletions src/keri/app/cli/commands/list.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,10 @@
"""
import argparse

from hio import help
from keri import help
from hio.base import doing

from keri.app.cli.common import existing
from keri.kering import ConfigurationError

logger = help.ogler.getLogger()

Expand Down
3 changes: 1 addition & 2 deletions src/keri/app/cli/commands/local/watch.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,11 @@
import time
from collections import namedtuple

from hio import help
from keri import help
from hio.base import doing
from keri.app import agenting, indirecting, habbing, forwarding
from keri.app.cli.common import existing, terming
from keri.app.habbing import GroupHab
from keri.core import coring

logger = help.ogler.getLogger()

Expand Down
8 changes: 3 additions & 5 deletions src/keri/app/cli/commands/mailbox/debug.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,13 @@
"""
import argparse

from hio import help
from keri import help
from hio.base import doing

from keri import kering
from keri.app import agenting, indirecting, habbing, httping
from keri.app.cli.common import displaying, existing
from keri.app import agenting, habbing, httping
from keri.app.cli.common import existing
from keri.app.habbing import GroupHab
from keri.core import coring
from keri.kering import ConfigurationError

logger = help.ogler.getLogger()

Expand Down
2 changes: 1 addition & 1 deletion src/keri/app/cli/commands/mailbox/update.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"""
import argparse

from hio import help
from keri import help
from hio.base import doing

from keri.app.cli.common import existing
Expand Down
2 changes: 1 addition & 1 deletion src/keri/app/cli/commands/migrate/show.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"""
import argparse

from hio import help
from keri import help
from hio.base import doing

from keri.app.cli.common import existing
Expand Down
2 changes: 1 addition & 1 deletion src/keri/app/cli/commands/multisig/continue.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"""
import argparse

from hio import help
from keri import help
from hio.base import doing

from keri.app import indirecting, grouping, agenting
Expand Down
2 changes: 1 addition & 1 deletion src/keri/app/cli/commands/multisig/interact.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
import argparse
from ordered_set import OrderedSet as oset

from hio import help
from keri import help
from hio.base import doing

from keri import kering
Expand Down
2 changes: 1 addition & 1 deletion src/keri/app/cli/commands/multisig/notice.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
import argparse
from ordered_set import OrderedSet as oset

from hio import help
from keri import help
from hio.base import doing

from keri.app import habbing, forwarding, grouping
Expand Down
2 changes: 1 addition & 1 deletion src/keri/app/cli/commands/multisig/rotate.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
import argparse
from ordered_set import OrderedSet as oset

from hio import help
from keri import help
from hio.base import doing

from keri import kering
Expand Down
2 changes: 1 addition & 1 deletion src/keri/app/cli/commands/multisig/update.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
import argparse
import time

from hio import help
from keri import help
from hio.base import doing

from keri import kering
Expand Down
2 changes: 1 addition & 1 deletion src/keri/app/cli/commands/oobi/clean.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"""
import argparse

from hio import help
from keri import help
from hio.base import doing

from keri.app.cli.common import existing
Expand Down
2 changes: 1 addition & 1 deletion src/keri/app/cli/commands/oobi/generate.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
from urllib.parse import urlparse

import sys
from hio import help
from keri import help
from hio.base import doing

from keri import kering
Expand Down
3 changes: 1 addition & 2 deletions src/keri/app/cli/commands/oobi/resolve.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,13 @@
"""
import argparse

from hio import help
from keri import help
from hio.base import doing

import keri.app.oobiing
from keri.app import habbing, oobiing
from keri.app.cli.common import existing
from keri.db import basing
from keri.end import ending
from keri.help import helping

logger = help.ogler.getLogger()
Expand Down
2 changes: 1 addition & 1 deletion src/keri/app/cli/commands/passcode/remove.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"""
import argparse

from hio import help
from keri import help
from hio.base import doing

from keri.app.cli.common import existing
Expand Down
2 changes: 1 addition & 1 deletion src/keri/app/cli/commands/passcode/set.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
import argparse
import getpass

from hio import help
from keri import help
from hio.base import doing

from keri.app.cli.common import existing
Expand Down
2 changes: 1 addition & 1 deletion src/keri/app/cli/commands/query.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
import datetime
import json

from hio import help
from keri import help
from hio.base import doing
from hio.help import decking

Expand Down
2 changes: 1 addition & 1 deletion src/keri/app/cli/commands/rename.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"""
import argparse

from hio import help
from keri import help
from hio.base import doing

from keri.app.cli.common import existing
Expand Down
2 changes: 1 addition & 1 deletion src/keri/app/cli/commands/rollback.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"""
import argparse

from hio import help
from keri import help
from hio.base import doing

from keri import kering
Expand Down
2 changes: 1 addition & 1 deletion src/keri/app/cli/commands/saidify.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
import argparse
import json

from hio import help
from keri import help
from hio.base import doing

from keri.core import coring
Expand Down
2 changes: 1 addition & 1 deletion src/keri/app/cli/commands/ssh/export.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

from cryptography.hazmat.primitives import serialization
from cryptography.hazmat.primitives.asymmetric import ed25519
from hio import help
from keri import help
from hio.base import doing

from keri.app.cli.common import existing
Expand Down
4 changes: 2 additions & 2 deletions src/keri/app/cli/commands/status.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@
"""
import argparse

from hio import help
from keri import help
from hio.base import doing

from keri.app.cli.common import displaying, existing
from keri.core import coring, serdering
from keri.core import serdering
from keri.kering import ConfigurationError

logger = help.ogler.getLogger()
Expand Down
2 changes: 1 addition & 1 deletion src/keri/app/cli/commands/vc/create.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import argparse
import json

from hio import help
from keri import help
from hio.base import doing

from keri import kering
Expand Down
2 changes: 1 addition & 1 deletion src/keri/app/cli/commands/vc/export.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
import argparse
import sys

from hio import help
from keri import help
from hio.base import doing

from keri.app import signing
Expand Down
Loading
Loading