We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 56facc2 commit 1167b8aCopy full SHA for 1167b8a
ingestion/data_transfer_models/headline.py
@@ -109,14 +109,6 @@ def validate_period_dates(
109
return validation.validate_period_end(
110
period_start=input_period_start, period_end=period_end
111
)
112
-
113
- @model_validator(mode="after")
114
- def error_if_no_is_public_field(self) -> Self:
115
- """Checks that the `is_public` field is set."""
116
- if not AUTH_ENABLED and not self.is_public:
117
- raise NonPublicDataSentToPublicIngestionError
118
119
- return self
120
121
@model_validator(mode="after")
122
def invalidate_non_public_data_for_public_ingestion(self) -> Self:
0 commit comments