Skip to content

Commit

Permalink
Merge pull request #21 from ethyca/asachs/PROD-2734_fideslang
Browse files Browse the repository at this point in the history
Initial support for `DatasetCollection` partitioning specifications
  • Loading branch information
adamsachs authored Oct 2, 2024
2 parents 74e4ce2 + 6de8733 commit 2f2d230
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
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

0 comments on commit 2f2d230

Please sign in to comment.