docs: DataJoint 2.2 — Instance API & Thread-Safe Mode#154
Open
dimitri-yatsenko wants to merge 10 commits intomainfrom
Open
docs: DataJoint 2.2 — Instance API & Thread-Safe Mode#154dimitri-yatsenko wants to merge 10 commits intomainfrom
dimitri-yatsenko wants to merge 10 commits intomainfrom
Conversation
New pages: - explanation/whats-new-22.md: What's New in 2.2 overview - how-to/use-instances.md: Task-oriented guide for dj.Instance - reference/specs/thread-safe-mode.md: Thread-safe mode specification - tutorials/advanced/instances.ipynb: Step-by-step Instance tutorial Updated pages: - reference/configuration.md: Instance API and thread-safe mode sections - how-to/configure-database.md: Instance-based connections section - tutorials/basics/01-first-pipeline.ipynb: Instance alternative note - mkdocs.yaml: Bump version to 2.2, add nav entries Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
- Publishing workflow now checks out datajoint-python at pre/v2.2 instead of master (until merged) - EXECUTE_PG mode sets DJ_HOST=postgres (correct Docker service name) - Added zarr, matplotlib, faker to pip install for notebook execution Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Lychee linkcheck runs against source files, not built site URLs. Links to notebooks need the .ipynb extension to be resolvable. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
The 06-object-storage tutorial fails because datajoint.json configures a local store at /tmp/datajoint-tutorials which doesn't exist in the Docker container. Create it before executing notebooks. Also add minio as a dependency so it's ready if needed. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Add backend parameter to the Instance API table, document default ports per backend, and show usage examples for MySQL, PostgreSQL, and custom port configurations. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
All 23/23 notebooks pass against PostgreSQL. Updated execution outputs with current timestamps and connection info. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Replace relative date strings ('-35y', '-4y') and date_of_birth() with
fixed date() bounds so that Faker generates identical dates regardless
of when the notebook is executed.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
dj.InstanceAPI and thread-safe mode (DJ_THREAD_SAFE=true)backendparameter for MySQL/PostgreSQL selectionpre/v2.2branchNew pages
explanation/whats-new-22.md) — Feature overview and rationalehow-to/use-instances.md) — Task-oriented guidereference/specs/thread-safe-mode.md) — Architecture, config flow, global state audittutorials/advanced/instances.ipynb) — Step-by-step notebookUpdated pages
pre/v2.2Test plan
MODE=EXECUTE_PG)instances.ipynbtutorial executes correctly06-object-storage.ipynbpasses (minio + store directory fix)🤖 Generated with Claude Code