Skip to content

Feat: add maturity levels#44

Open
jens-kuerten wants to merge 4 commits into
mainfrom
feat-maturity-levels
Open

Feat: add maturity levels#44
jens-kuerten wants to merge 4 commits into
mainfrom
feat-maturity-levels

Conversation

@jens-kuerten

Copy link
Copy Markdown
Collaborator

No description provided.

@jens-kuerten jens-kuerten changed the title Feat maturity levels Feat: add maturity levels Jun 12, 2026
@jens-kuerten jens-kuerten requested a review from Copilot June 12, 2026 07:00

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR extends the SDK’s object model to support “maturity levels” by (a) adding a maturity-level reference field on Part and (b) introducing a MaturityLevel object type with corresponding documentation/schema updates.

Changes:

  • Add cssaas_maturity_level (maturity level cdb_object_id) to Part (Pydantic model + request JSON schema + docs).
  • Add a new MaturityLevel BaseObject model and document it in the reference docs.
  • Extend ObjectType with maturity-related enum values.

Reviewed changes

Copilot reviewed 5 out of 5 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
json_schemas/request.json Adds cssaas_maturity_level to the Part schema so incoming requests can include the new field.
docs/reference/objects.md Documents the new Part attribute and introduces a new MaturityLevel reference section.
csfunctions/objects/part.py Adds cssaas_maturity_level to Part and introduces the MaturityLevel model.
csfunctions/objects/base.py Extends ObjectType with maturity-related entries.
csfunctions/objects/__init__.py Exports MaturityLevel from the public objects module.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread csfunctions/objects/base.py Outdated
Comment on lines +11 to 12
from .part import BOMItem, Material, MaturityLevel, Part
from .person import Person

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed in the latest commit — MaturityLevel is now included in the Object discriminator union.

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
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.

3 participants