Skip to content

Commit 1e815b2

Browse files
authored
refactor: move targets in Python SDK to sub module (#1028)
1 parent 3e85181 commit 1e815b2

File tree

2 files changed

+9
-4
lines changed

2 files changed

+9
-4
lines changed
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
"""
2+
Targets supported by CocoIndex.
3+
"""
4+
5+
from ._engine_builtin_specs import *

python/cocoindex/targets.py renamed to python/cocoindex/targets/_engine_builtin_specs.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@
33
from dataclasses import dataclass
44
from typing import Sequence
55

6-
from . import op
7-
from . import index
8-
from .auth_registry import AuthEntryReference
9-
from .setting import DatabaseConnectionSpec
6+
from .. import op
7+
from .. import index
8+
from ..auth_registry import AuthEntryReference
9+
from ..setting import DatabaseConnectionSpec
1010

1111

1212
class Postgres(op.TargetSpec):

0 commit comments

Comments
 (0)