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

Method _prepare_function

O365/utils/utils.py:1076–1079  ·  view source on GitHub ↗
(function_name, attribute, word, negation=False)

Source from the content-addressed store, hash-verified

1074
1075 @staticmethod
1076 def _prepare_function(function_name, attribute, word, negation=False):
1077 negation = 'not' if negation else ''
1078 attrs = (negation, attribute, function_name, word)
1079 return "{} {}({}, {})".format(negation, function_name, attribute, word).strip(), attrs
1080
1081 @fluent
1082 def function(self, function_name, word):

Callers 2

functionMethod · 0.95
iterableMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected