@@ -75,9 +75,9 @@ class BlobCodec(Codec):
7575 The ``<blob>`` codec handles serialization of arbitrary Python objects
7676 including NumPy arrays, dictionaries, lists, datetime objects, and UUIDs.
7777
78- Supports both internal and external storage:
78+ Supports both in-table and in-store storage:
7979 - ``<blob>``: Stored in database (bytes → LONGBLOB)
80- - ``<blob@>``: Stored externally via ``<hash@>`` with deduplication
80+ - ``<blob@>``: Stored in object store via ``<hash@>`` with deduplication
8181 - ``<blob@store>``: Stored in specific named store
8282
8383 Format Features:
@@ -92,9 +92,9 @@ class ProcessedData(dj.Manual):
9292 definition = '''
9393 data_id : int
9494 ---
95- small_result : <blob> # internal (in database)
96- large_result : <blob@> # external (default store)
97- archive : <blob@cold> # external (specific store)
95+ small_result : <blob> # in-table (in database)
96+ large_result : <blob@> # in-store (default store)
97+ archive : <blob@cold> # in-store (specific store)
9898 '''
9999
100100 # Insert any serializable object
@@ -104,7 +104,7 @@ class ProcessedData(dj.Manual):
104104 name = "blob"
105105
106106 def get_dtype (self , is_store : bool ) -> str :
107- """Return bytes for internal , <hash> for external storage."""
107+ """Return bytes for in-table , <hash> for in-store storage."""
108108 return "<hash>" if is_store else "bytes"
109109
110110 def encode (self , value : Any , * , key : dict | None = None , store_name : str | None = None ) -> bytes :
@@ -165,9 +165,9 @@ class RawContent(dj.Manual):
165165 name = "hash"
166166
167167 def get_dtype (self , is_store : bool ) -> str :
168- """Hash storage is external only."""
168+ """Hash storage is in-store only."""
169169 if not is_store :
170- raise DataJointError ("<hash> requires @ (external storage only)" )
170+ raise DataJointError ("<hash> requires @ (in-store storage only)" )
171171 return "json"
172172
173173 def encode (self , value : bytes , * , key : dict | None = None , store_name : str | None = None ) -> dict :
@@ -608,9 +608,9 @@ class AttachCodec(Codec):
608608 """
609609 File attachment with filename preserved.
610610
611- Supports both internal and external storage:
611+ Supports both in-table and in-store storage:
612612 - ``<attach>``: Stored in database (bytes → LONGBLOB)
613- - ``<attach@>``: Stored externally via ``<hash@>`` with deduplication
613+ - ``<attach@>``: Stored in object store via ``<hash@>`` with deduplication
614614 - ``<attach@store>``: Stored in specific named store
615615
616616 The filename is preserved and the file is extracted to the configured
@@ -623,9 +623,9 @@ class Documents(dj.Manual):
623623 definition = '''
624624 doc_id : int
625625 ---
626- config : <attach> # internal (small file in DB)
627- dataset : <attach@> # external (default store)
628- archive : <attach@cold> # external (specific store)
626+ config : <attach> # in-table (small file in DB)
627+ dataset : <attach@> # in-store (default store)
628+ archive : <attach@cold> # in-store (specific store)
629629 '''
630630
631631 # Insert a file
@@ -642,7 +642,7 @@ class Documents(dj.Manual):
642642 name = "attach"
643643
644644 def get_dtype (self , is_store : bool ) -> str :
645- """Return bytes for internal , <hash> for external storage."""
645+ """Return bytes for in-table , <hash> for in-store storage."""
646646 return "<hash>" if is_store else "bytes"
647647
648648 def encode (self , value : Any , * , key : dict | None = None , store_name : str | None = None ) -> bytes :
0 commit comments