MCPcopy Create free account
hub / github.com/aboutcode-org/scancode-toolkit / pysafe_expression

Method pysafe_expression

src/licensedcode/models.py:2282–2285  ·  view source on GitHub ↗

Return a python safe identifier, for use in rule identifiers

(self)

Source from the content-addressed store, hash-verified

2280
2281 @property
2282 def pysafe_expression(self):
2283 """
2284 Return a python safe identifier, for use in rule identifiers"""
2285 return python_safe_name(self.license_expression)
2286
2287 def load_data(self, rule_file):
2288 """

Callers

nothing calls this directly

Calls 1

python_safe_nameFunction · 0.90

Tested by

no test coverage detected