Get the sanitized field name within one message from the cache.
(self, message: Message, field: Field)
| 181 | return self._module_identifier_cache[self._cache_key(message)] |
| 182 | |
| 183 | def get_field_identifier(self, message: Message, field: Field) -> str: |
| 184 | """Get the sanitized field name within one message from the cache.""" |
| 185 | self._ensure_name_caches(self._schema_for_node(message)) |
| 186 | return self._field_identifier_cache[self._cache_key(message)][ |
| 187 | self._cache_key(field) |
| 188 | ] |
| 189 | |
| 190 | def get_union_case_identifier(self, union: Union, field: Field) -> str: |
| 191 | """Get the sanitized variant name for one union case from the cache""" |
no test coverage detected