From 56b955cfdfe1037de4fbbc18145385886dfc9b60 Mon Sep 17 00:00:00 2001 From: Leo Vasanko Date: Fri, 12 Jun 2026 19:23:23 +0000 Subject: [PATCH] Fix imports --- kanta/diff.py | 2 +- kanta/kanta.py | 2 +- kanta/persistence.py | 2 +- kanta/serialization/base.py | 2 +- kanta/snapshot.py | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/kanta/diff.py b/kanta/diff.py index c1ffbf0..725ab70 100644 --- a/kanta/diff.py +++ b/kanta/diff.py @@ -2,7 +2,7 @@ import jsondiff -from kanta.kanta.structs import ChangeRecord +from kanta.structs import ChangeRecord from kanta.serialization.base import ReplayResult, replay from kanta.serialization.framing import LineFramer from kanta.serialization.json import JsonSerializer diff --git a/kanta/kanta.py b/kanta/kanta.py index 350a0fb..6bf596e 100644 --- a/kanta/kanta.py +++ b/kanta/kanta.py @@ -8,7 +8,7 @@ from types import ModuleType from typing import Any, Generic, TypeVar from kanta.exceptions import DatabaseError -from kanta.kanta.kantaimpl import KantaImpl +from kanta.kantaimpl import KantaImpl from kanta.serialization import JsonSerializer, Serializer from kanta.transaction import transaction as _transaction diff --git a/kanta/persistence.py b/kanta/persistence.py index ebfa6d3..a66c440 100644 --- a/kanta/persistence.py +++ b/kanta/persistence.py @@ -15,7 +15,7 @@ from typing import Any from kanta.diff import compute_diff from kanta.exceptions import DatabaseError, DataIntegrityError from kanta.filelock import LockedFile -from kanta.kanta.structs import ChangeRecord +from kanta.structs import ChangeRecord from kanta.serialization import JsonSerializer, Serializer from kanta.serialization.framing import Framer from kanta.snapshot import SnapshotState diff --git a/kanta/serialization/base.py b/kanta/serialization/base.py index 1b99dbe..f8b405a 100644 --- a/kanta/serialization/base.py +++ b/kanta/serialization/base.py @@ -9,7 +9,7 @@ from typing import Any, Protocol, TypeVar import msgspec from kanta.exceptions import ReplayError -from kanta.kanta.structs import ChangeRecord, Snapshot +from kanta.structs import ChangeRecord, Snapshot from kanta.serialization.framing import Framer T = TypeVar("T") diff --git a/kanta/snapshot.py b/kanta/snapshot.py index 944cea4..c859724 100644 --- a/kanta/snapshot.py +++ b/kanta/snapshot.py @@ -5,7 +5,7 @@ from __future__ import annotations import logging from datetime import UTC, datetime -from kanta.kanta.structs import Snapshot +from kanta.structs import Snapshot from kanta.serialization import JsonSerializer, Serializer from kanta.serialization.framing import Framer, LineFramer