Skip to content

Commit f4f1d35

Browse files
committed
remove unused property
1 parent cc687fa commit f4f1d35

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

src/pyff/resource.py

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -364,14 +364,6 @@ def info(self) -> ResourceInfo:
364364
else:
365365
return self._infos[-1]
366366

367-
@property
368-
def errors(self) -> Mapping[str, Any]:
369-
# TODO: Maybe caller should get the ResourceInfo instance instead? Why this shortcut?
370-
parser_info = self.info.parser_info
371-
if not parser_info:
372-
return {}
373-
return parser_info.validation_errors
374-
375367
def load_backup(self) -> Optional[str]:
376368
if config.local_copy_dir is None:
377369
return None

0 commit comments

Comments
 (0)