Skip to content

Commit 2f2d230

Browse files
authored
Merge pull request #21 from ethyca/asachs/PROD-2734_fideslang
Initial support for `DatasetCollection` partitioning specifications
2 parents 74e4ce2 + 6de8733 commit 2f2d230

File tree

2 files changed

+11
-1
lines changed

2 files changed

+11
-1
lines changed

CHANGELOG.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,15 @@ The types of changes are:
1414
- `Fixed` for any bug fixes.
1515
- `Security` in case of vulnerabilities.
1616

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

1919

20+
## [3.0.7](https://github.com/ethyca/fideslang/compare/3.0.6...3.0.7)
21+
22+
### Added
23+
24+
- 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)
25+
2026

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

src/fideslang/models.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -531,6 +531,10 @@ class CollectionMeta(BaseModel):
531531
skip_processing: Optional[bool] = False
532532
masking_strategy_override: Optional[MaskingStrategyOverride] = None
533533

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

535539
class DatasetCollection(FidesopsMetaBackwardsCompat):
536540
"""

0 commit comments

Comments
 (0)