MCPcopy
hub / github.com/freedomofpress/dangerzone / get_safe_documents

Method get_safe_documents

dangerzone/logic.py:78–79  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

76 return [doc for doc in self.documents if doc.is_unconverted()]
77
78 def get_safe_documents(self) -> list[Document]:
79 return [doc for doc in self.documents if doc.is_safe()]
80
81 def get_failed_documents(self) -> list[Document]:
82 return [doc for doc in self.documents if doc.is_failed()]

Callers 1

runFunction · 0.95

Calls 1

is_safeMethod · 0.80

Tested by

no test coverage detected