Skip to content

Commit 499e96b

Browse files
authored
update flexible_legal_basis boolean field to be optional (#178)
1 parent b76c3c0 commit 499e96b

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/fideslang/models.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -991,9 +991,8 @@ class PrivacyDeclaration(BaseModel):
991991
features: List[str] = Field(
992992
default_factory=list, description="The features of processing personal data."
993993
)
994-
flexible_legal_basis_for_processing: bool = Field(
994+
flexible_legal_basis_for_processing: Optional[bool] = Field(
995995
description="Whether the legal basis for processing is 'flexible' (i.e. can be overridden in a privacy notice) for this declaration.",
996-
default=False,
997996
)
998997
legal_basis_for_processing: Optional[LegalBasisForProcessingEnum] = Field(
999998
description="The legal basis under which personal data is processed for this purpose."

0 commit comments

Comments
 (0)