(self)
| 292 | |
| 293 | @property |
| 294 | def profile(self) -> Profile: |
| 295 | if not self._profile: |
| 296 | if not self._dataset: |
| 297 | raise RuntimeError( |
| 298 | "In order to calculate a profile validation reference must be instantiated from a saved dataset. " |
| 299 | "Use ValidationReference.from_saved_dataset constructor or FeatureStore.get_validation_reference " |
| 300 | "to get validation reference object." |
| 301 | ) |
| 302 | |
| 303 | self._profile = self.profiler.analyze_dataset(self._dataset.to_df()) |
| 304 | return self._profile |
| 305 | |
| 306 | @classmethod |
| 307 | def from_proto(cls, proto: ValidationReferenceProto) -> "ValidationReference": |
nothing calls this directly
no test coverage detected