Skip to content

Commit

Permalink
sistana: move/simplify util module
Browse files Browse the repository at this point in the history
  • Loading branch information
GreyElaina committed Sep 23, 2024
1 parent f5be429 commit 2f21746
Show file tree
Hide file tree
Showing 10 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion src/arclet/alconna/sistana/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,4 +33,4 @@
from .model import SubcommandPattern as SubcommandPattern
from .model import SubcommandTraverse as SubcommandTraverse
from .model import Track as Track
from .utils.misc import Value as Value
from .some import Value as Value
2 changes: 1 addition & 1 deletion src/arclet/alconna/sistana/analyzer.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
from .err import ParsePanic, Rejected
from .model.pointer import PointerRole
from .model.snapshot import AnalyzeSnapshot, OptionTraverse, SubcommandTraverse
from .utils.misc import Value
from .some import Value

T = TypeVar("T")

Expand Down
2 changes: 1 addition & 1 deletion src/arclet/alconna/sistana/fragment.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

from .model.capture import RegexCapture
from .model.fragment import _Fragment
from .utils.misc import Some
from .some import Some

if TYPE_CHECKING:
from nepattern import BasePattern
Expand Down
2 changes: 1 addition & 1 deletion src/arclet/alconna/sistana/model/capture.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

from arclet.alconna._dcls import safe_dcls_kw

from ..utils.misc import Some, Value
from ..some import Some, Value

from elaina_segment.buffer import AheadToken, Buffer, SegmentToken
from ..err import RegexMismatch, UnexpectedType
Expand Down
2 changes: 1 addition & 1 deletion src/arclet/alconna/sistana/model/fragment.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

from arclet.alconna._dcls import safe_dcls_kw

from ..utils.misc import Some
from ..some import Some
from .capture import Capture, SimpleCapture
from .receiver import Rx

Expand Down
2 changes: 1 addition & 1 deletion src/arclet/alconna/sistana/model/mix.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
from typing import TYPE_CHECKING, Any, Iterable

from ..err import CaptureRejected, ReceivePanic, TransformPanic, ValidateRejected
from ..utils.misc import Value
from ..some import Value
from .fragment import _Fragment, assert_fragments_order

if TYPE_CHECKING:
Expand Down
2 changes: 1 addition & 1 deletion src/arclet/alconna/sistana/model/receiver.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

from typing import Any, Callable, Generic, TypeVar

from ..utils.misc import Some
from ..some import Some

T = TypeVar("T")

Expand Down
2 changes: 1 addition & 1 deletion src/arclet/alconna/sistana/model/snapshot.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
from collections import defaultdict
from typing import TYPE_CHECKING, Generic, TypeVar

from ..utils.misc import Some, Value
from ..some import Some, Value

if TYPE_CHECKING:
from .pattern import SubcommandPattern, OptionPattern
Expand Down
File renamed without changes.
Empty file.

0 comments on commit 2f21746

Please sign in to comment.