MCPcopy
hub / github.com/pyca/cryptography / run

Method run

docs/_ext/cryptography-docs.py:23–32  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

21 has_content = True
22
23 def run(self):
24 message = DANGER_MESSAGE
25 if self.content:
26 message += DANGER_ALTERNATE.format(alternate=self.content[0])
27
28 content = nodes.paragraph("", message)
29 admonition_node = Hazmat("\n".join(content))
30 self.state.nested_parse(content, self.content_offset, admonition_node)
31 admonition_node.line = self.lineno
32 return [admonition_node]
33
34
35class Hazmat(nodes.Admonition, nodes.Element):

Callers 7

testsFunction · 0.80
docsFunction · 0.80
docs_linkcheckFunction · 0.80
flakeFunction · 0.80
rustFunction · 0.80
localFunction · 0.80
process_rust_coverageFunction · 0.80

Calls 1

HazmatClass · 0.85

Tested by

no test coverage detected