Skip to content

Commit 3fc00ee

Browse files
Move EXTERNAL_TABLE_ROOT to external.py (deprecated)
External tables are deprecated in favor of the new storage type system. Move the constant to external.py where it's used, keeping declare.py clean. Co-authored-by: dimitri-yatsenko <dimitri@datajoint.com>
1 parent 73535de commit 3fc00ee

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/datajoint/external.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,18 @@
55

66
from tqdm import tqdm
77

8-
from .declare import EXTERNAL_TABLE_ROOT
98
from .errors import DataJointError, MissingExternalFile
109
from .hash import uuid_from_buffer, uuid_from_file
1110
from .heading import Heading
1211
from .settings import config
1312
from .storage import StorageBackend
1413
from .table import FreeTable, Table
14+
1515
from .utils import safe_write
1616

17+
# External table name root (deprecated - external tables are being phased out)
18+
EXTERNAL_TABLE_ROOT = "~external"
19+
1720
logger = logging.getLogger(__name__.split(".")[0])
1821

1922
CACHE_SUBFOLDING = (

0 commit comments

Comments
 (0)