Skip to content

Commit 5c86fca

Browse files
Merge pull request #1511 from MilagrosMarin/docs/post-231-stale-text-sweep
docs: post-2.3.1 stale-text sweep (3 small drift fixes)
2 parents 5f49c76 + 9e5fe10 commit 5c86fca

3 files changed

Lines changed: 18 additions & 9 deletions

File tree

RELEASE_MEMO.md

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -150,11 +150,16 @@ If the bot doesn't create a PR, manually update the feedstock:
150150
run:
151151
- python >={{ python_min }}
152152
- numpy
153+
- pymysql >=0.7.2
154+
- deepdiff
155+
- pyparsing
153156
- pandas
154-
- pymysql >=1.0
155-
- minio
157+
- tqdm
158+
- networkx
159+
- pydot
160+
- fsspec >=2023.1.0
161+
- pydantic-settings >=2.0.0
156162
- packaging
157-
# ... etc
158163
```
159164
160165
5. **Submit PR** to the feedstock

src/datajoint/builtin_codecs/filepath.py

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,10 @@ class FilepathCodec(Codec):
2222
2323
This codec gives users maximum freedom in organizing their files while
2424
reusing DataJoint's store configuration. Files can be placed anywhere
25-
in the store EXCEPT the reserved ``_hash/`` and ``_schema/`` sections
26-
which are managed by DataJoint.
25+
in the store EXCEPT the reserved sections managed by DataJoint (the
26+
hash-addressed and schema-addressed sections — from each store's
27+
``hash_prefix`` and ``schema_prefix`` settings, defaults ``_hash`` and
28+
``_schema``).
2729
2830
This is useful when:
2931
- Files are managed externally (e.g., by acquisition software)
@@ -54,7 +56,8 @@ class Recordings(dj.Manual):
5456
JSON metadata: ``{path, store, size, timestamp}``
5557
5658
Reserved Sections:
57-
Paths cannot start with ``_hash/`` or ``_schema/`` - these are managed by DataJoint.
59+
Paths cannot start with the store's reserved ``hash_prefix`` or
60+
``schema_prefix`` sections (defaults ``_hash/`` and ``_schema/``).
5861
5962
Warning:
6063
The file must exist in the store at the specified path.
@@ -78,7 +81,8 @@ def encode(self, value: Any, *, key: dict | None = None, store_name: str | None
7881
Parameters
7982
----------
8083
value : str
81-
Relative path within the store. Cannot use reserved sections (_hash/, _schema/).
84+
Relative path within the store. Cannot use the store's reserved
85+
hash/schema sections.
8286
key : dict, optional
8387
Primary key values (unused).
8488
store_name : str, optional
@@ -92,7 +96,7 @@ def encode(self, value: Any, *, key: dict | None = None, store_name: str | None
9296
Raises
9397
------
9498
ValueError
95-
If path uses reserved sections (_hash/ or _schema/).
99+
If path uses the store's reserved hash/schema sections.
96100
FileNotFoundError
97101
If file does not exist in the store.
98102
"""

tests/integration/test_trace.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -400,7 +400,7 @@ def test_trace_stops_at_master_no_part_down_collection(schema_by_backend):
400400
401401
This corrects the design comment on datajoint/datajoint-python discussion
402402
1232, which described a Master->Parts down-collection that was never
403-
implemented; the spec (provenance.md, Allowed table set) matches this
403+
implemented; the spec (trace.md §Allowed table set) matches this
404404
test. If down-collection is ever added deliberately, this test must be
405405
revised alongside the spec — it exists so the semantics cannot drift
406406
silently."""

0 commit comments

Comments
 (0)