def subscribers(self, value):
     """Update subscribers."""
     warnings.warn(
         _ASSIGNMENT_DEPRECATED_MSG.format('subscribers',
                                           PUBSUB_SUBSCRIBER_ROLE),
         DeprecationWarning)
     self[PUBSUB_SUBSCRIBER_ROLE] = value
 def subscribers(self, value):
     """Update subscribers."""
     warnings.warn(
         _ASSIGNMENT_DEPRECATED_MSG.format(
             'subscribers', PUBSUB_SUBSCRIBER_ROLE),
         DeprecationWarning)
     self[PUBSUB_SUBSCRIBER_ROLE] = value
 def publishers(self, value):
     """Update publishers."""
     warnings.warn(
         _ASSIGNMENT_DEPRECATED_MSG.format('publishers',
                                           PUBSUB_PUBLISHER_ROLE),
         DeprecationWarning)
     self[PUBSUB_PUBLISHER_ROLE] = value
 def publishers(self, value):
     """Update publishers."""
     warnings.warn(
         _ASSIGNMENT_DEPRECATED_MSG.format(
             'publishers', PUBSUB_PUBLISHER_ROLE),
         DeprecationWarning)
     self[PUBSUB_PUBLISHER_ROLE] = value