feat(backend): rename db.py to sqlite.py

This commit is contained in:
psychedelicious 2023-09-24 15:21:22 +10:00 committed by Kent Keirsey
parent 5048fc7c9e
commit 88bee96ca3
7 changed files with 6 additions and 6 deletions

View File

@ -13,7 +13,7 @@ from invokeai.app.services.invocation_cache.invocation_cache_memory import Memor
from invokeai.app.services.resource_name import SimpleNameService
from invokeai.app.services.session_processor.session_processor_default import DefaultSessionProcessor
from invokeai.app.services.session_queue.session_queue_sqlite import SqliteSessionQueue
from invokeai.app.services.shared.db import SqliteDatabase
from invokeai.app.services.shared.sqlite import SqliteDatabase
from invokeai.app.services.urls import LocalUrlService
from invokeai.backend.util.logging import InvokeAILogger
from invokeai.version.invokeai_version import __version__

View File

@ -4,7 +4,7 @@ from abc import ABC, abstractmethod
from typing import Optional, cast
from invokeai.app.services.models.image_record import ImageRecord, deserialize_image_record
from invokeai.app.services.shared.db import SqliteDatabase
from invokeai.app.services.shared.sqlite import SqliteDatabase
from invokeai.app.services.shared.pagination import OffsetPaginatedResults

View File

@ -6,7 +6,7 @@ from typing import Optional, Union, cast
from pydantic import BaseModel, Extra, Field
from invokeai.app.services.models.board_record import BoardRecord, deserialize_board_record
from invokeai.app.services.shared.db import SqliteDatabase
from invokeai.app.services.shared.sqlite import SqliteDatabase
from invokeai.app.services.shared.pagination import OffsetPaginatedResults
from invokeai.app.util.misc import uuid_string

View File

@ -7,7 +7,7 @@ from typing import Optional, cast
from invokeai.app.models.image import ImageCategory, ResourceOrigin
from invokeai.app.services.models.image_record import ImageRecord, ImageRecordChanges, deserialize_image_record
from invokeai.app.services.shared.db import SqliteDatabase
from invokeai.app.services.shared.sqlite import SqliteDatabase
from invokeai.app.services.shared.pagination import OffsetPaginatedResults

View File

@ -29,7 +29,7 @@ from invokeai.app.services.session_queue.session_queue_common import (
calc_session_count,
prepare_values_to_insert,
)
from invokeai.app.services.shared.db import SqliteDatabase
from invokeai.app.services.shared.sqlite import SqliteDatabase
from invokeai.app.services.shared.pagination import CursorPaginatedResults

View File

@ -4,7 +4,7 @@ from typing import Generic, Optional, TypeVar, get_args
from pydantic import BaseModel, parse_raw_as
from invokeai.app.services.shared.db import SqliteDatabase
from invokeai.app.services.shared.sqlite import SqliteDatabase
from invokeai.app.services.shared.pagination import PaginatedResults
from .item_storage import ItemStorageABC