MCPcopy Index your code
hub / github.com/O365/python-o365 / _get_mapping

Method _get_mapping

O365/utils/utils.py:832–842  ·  view source on GitHub ↗
(self, attribute)

Source from the content-addressed store, hash-verified

830 return None
831
832 def _get_mapping(self, attribute):
833 if attribute:
834 mapping = self._mapping.get(attribute)
835 if mapping:
836 attribute = '/'.join(
837 [self.protocol.convert_case(step) for step in
838 mapping.split('/')])
839 else:
840 attribute = self.protocol.convert_case(attribute)
841 return attribute
842 return None
843
844 @fluent
845 def new(self, attribute, operation=ChainOperator.AND):

Callers 5

newMethod · 0.95
on_attributeMethod · 0.95
remove_filterMethod · 0.95
iterableMethod · 0.95
order_byMethod · 0.95

Calls 2

convert_caseMethod · 0.80
getMethod · 0.45

Tested by

no test coverage detected