Skip to content

DM-3624: model the project field - #56

Merged
elliotsimpson-dm merged 1 commit into
mainfrom
DM-3624-model-project-field
Oct 20, 2026
Merged

elliotsimpson-dm merged 1 commit into
mainfrom
DM-3624-model-project-field

Conversation

@elliotsimpson-dm

Copy link
Copy Markdown
Collaborator

What

DataMasque 3.26.20 adds a project field to connections, rulesets, ruleset libraries, discovery configs, discovery config libraries, RG configs, table references and runs. It holds the project's <id>-<slug> reference, e.g. 1-default.

  • project: Optional[str] on ConnectionConfig, Ruleset, RulesetLibrary, DiscoveryConfig, DiscoveryConfigLibrary, RGConfig and TableReference. It is read-only (exclude=True), like id, so it is never sent on create or update. It is None on a model that hasn't been created on the server yet.
  • project: str on RunInfo and UnfinishedRun.
  • HISTORY entry under "Unreleased". Requires server 3.26.20.

Testing

  • uv run pytest: 565 passed
  • ruff check, ruff format --check, mypy datamasque: clean

The projects epic adds project to connections, rulesets, ruleset libraries, discovery configs, discovery config libraries, RG configs, table references and runs. Model it as read-only on the resources and as required on runs, so the API-shape drift guard passes against 3.26.20.
@elliotsimpson-dm
elliotsimpson-dm merged commit d270585 into main Oct 20, 2026
11 checks passed
@elliotsimpson-dm
elliotsimpson-dm deleted the DM-3624-model-project-field branch October 20, 2026 02:24

This branch was successfully deployed

1 active deployment
testpypi — 5afcd9e4 Deployed Oct 14, 2026 by elliotsimpson-dm via Publish to TestPyPI #16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants