Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Initial support for DatasetCollection partitioning specifications #21

Merged
merged 6 commits into from
Oct 2, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,15 @@ The types of changes are:
- `Fixed` for any bug fixes.
- `Security` in case of vulnerabilities.

## [Unreleased](https://github.com/ethyca/fideslang/compare/3.0.6...main)
## [Unreleased](https://github.com/ethyca/fideslang/compare/3.0.7...main)


## [3.0.7](https://github.com/ethyca/fideslang/compare/3.0.6...3.0.7)

### Added

- Add a loosely-typed `partitioning` field to the `DatasetCollection.fides_meta` structure to support flexible database table partitioning specifications [#21](https://github.com/ethyca/fideslang/pull/21)


## [3.0.6](https://github.com/ethyca/fideslang/compare/3.0.5...3.0.6)

Expand Down
4 changes: 4 additions & 0 deletions src/fideslang/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -531,6 +531,10 @@ class CollectionMeta(BaseModel):
skip_processing: Optional[bool] = False
masking_strategy_override: Optional[MaskingStrategyOverride] = None

# partitioning metadata is kept open-ended as it is an experimental feature -
# more strictly defined metadata structures will be supported in the future
partitioning: Optional[Dict] = None


class DatasetCollection(FidesopsMetaBackwardsCompat):
"""
Expand Down
Loading