Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: datajoint/datajoint-python
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: master
Choose a base ref
...
head repository: datajoint/datajoint-python
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: pre/v2.0
Choose a head ref
Checking mergeability… Don’t worry, you can still create the pull request.
  • 1 commit
  • 7 files changed
  • 2 contributors

Commits on Mar 6, 2026

  1. fix: cascade delete uses restrict() for proper SQL generation and OR …

    …convergence
    
    Replace direct `_restriction` assignment with `restrict()` calls in Diagram
    so that AndList and QueryExpression objects are converted to valid SQL via
    `make_condition()`. Cascade delete now uses OR convergence (a row is deleted
    if ANY FK reference points to a deleted row), while restrict/export uses AND.
    
    Also adds dry_run support to delete() and drop(), fixes CLI test subprocess
    invocation to use `sys.executable -m datajoint.cli`, and fixes test fixture
    cleanup to respect part_integrity policy.
    
    Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
    dimitri-yatsenko and claude committed Mar 6, 2026
    Configuration menu
    Copy the full SHA
    afd1f63 View commit details
    Browse the repository at this point in the history
Loading