Skip to content

Conversation

@briangreunke
Copy link
Contributor

@briangreunke briangreunke commented Nov 9, 2025

Summary

This change modifies the Workspace model to make the created_by field optional. Previously, this field was a mandatory UUID, but it can now accept None and defaults to None.

Conventional Commit Breakdown

  • Type: feat
  • Subject: make Workspace created_by optional

Key Changes

  • dreadnode/api/models.py:
    • Modified the Workspace model by changing the created_by field's type hint from UUID to UUID | None = None, making it optional with a default value of None.

Testing/Verification

Tested locally by reviewing the model definition and ensuring it aligns with the intended optionality.


Generated Summary:

  • Updated the created_by field in the Workspace model to allow for None values.
  • Changed type from UUID to UUID | None, enhancing flexibility for workspace creation.
  • Potential impact includes allowing workspaces to be created without a specified user, which may be beneficial for certain workflows or services.

This summary was generated with ❤️ by rigging

@briangreunke briangreunke merged commit 8b0c92f into main Nov 9, 2025
9 checks passed
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