mirror of
https://github.com/tcsenpai/pensieve.git
synced 2025-06-10 04:57:12 +00:00
refactor: use relative import
This commit is contained in:
parent
9e5c7d71c8
commit
0b03b2c860
@ -6,7 +6,7 @@ from typing import List
|
|||||||
|
|
||||||
import httpx
|
import httpx
|
||||||
import typer
|
import typer
|
||||||
from memos.server import run_server
|
from .server import run_server
|
||||||
from tabulate import tabulate
|
from tabulate import tabulate
|
||||||
from tqdm import tqdm
|
from tqdm import tqdm
|
||||||
from magika import Magika
|
from magika import Magika
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
import typesense
|
import typesense
|
||||||
from memos.config import settings
|
from .config import settings
|
||||||
|
|
||||||
# Initialize Typesense client
|
# Initialize Typesense client
|
||||||
client = typesense.Client(
|
client = typesense.Client(
|
||||||
|
@ -14,11 +14,10 @@ from pathlib import Path
|
|||||||
import asyncio
|
import asyncio
|
||||||
|
|
||||||
import typesense
|
import typesense
|
||||||
from memos.config import settings
|
|
||||||
|
|
||||||
from .config import get_database_path
|
from .config import get_database_path, settings
|
||||||
import memos.crud as crud
|
from . import crud
|
||||||
import memos.indexing as indexing
|
from . import indexing
|
||||||
from .schemas import (
|
from .schemas import (
|
||||||
Library,
|
Library,
|
||||||
Folder,
|
Folder,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user