MCPcopy Create free account
hub / github.com/O365/python-o365 / add_category

Method add_category

O365/message.py:545–552  ·  view source on GitHub ↗

Adds a category to this message current categories list

(self, category)

Source from the content-addressed store, hash-verified

543 self._track_changes.add('categories')
544
545 def add_category(self, category):
546 """ Adds a category to this message current categories list """
547
548 if isinstance(category, Category):
549 self.__categories.append(category.name)
550 else:
551 self.__categories.append(category)
552 self._track_changes.add('categories')
553
554 @property
555 def importance(self):

Callers 1

test_changesMethod · 0.80

Calls 1

addMethod · 0.45

Tested by 1

test_changesMethod · 0.64