MCPcopy Create free account
hub / github.com/SourceCode-AI/aura / from_string

Method from_string

aura/analyzers/python/nodes.py:68–74  ·  view source on GitHub ↗
(cls, name: str)

Source from the content-addressed store, hash-verified

66
67 @classmethod
68 def from_string(cls, name: str) -> Taints:
69 if name.lower() == "safe":
70 return Taints.SAFE
71 elif name.lower() == "tainted":
72 return Taints.TAINTED
73 else:
74 return Taints.UNKNOWN
75
76
77@slotted_dataclass(

Callers 1

applyMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected