MCPcopy
hub / github.com/python-attrs/attrs / _get_global_name

Method _get_global_name

src/attr/_make.py:3143–3148  ·  view source on GitHub ↗

Return the name that a converter for an attribute name *attr_name* would have.

(attr_name: str)

Source from the content-addressed store, hash-verified

3141
3142 @staticmethod
3143 def _get_global_name(attr_name: str) -> str:
3144 """
3145 Return the name that a converter for an attribute name *attr_name*
3146 would have.
3147 """
3148 return f"__attr_converter_{attr_name}"
3149
3150 def _fmt_converter_call(self, attr_name: str, value_var: str) -> str:
3151 """

Callers 2

_attrs_to_init_scriptFunction · 0.95
_fmt_converter_callMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected