Esempio n. 1
0
 def subscribers(self, value):
     """Update subscribers."""
     warnings.warn(
         _ASSIGNMENT_DEPRECATED_MSG.format('subscribers',
                                           PUBSUB_SUBSCRIBER_ROLE),
         DeprecationWarning)
     self[PUBSUB_SUBSCRIBER_ROLE] = value
Esempio n. 2
0
 def subscribers(self, value):
     """Update subscribers."""
     warnings.warn(
         _ASSIGNMENT_DEPRECATED_MSG.format(
             'subscribers', PUBSUB_SUBSCRIBER_ROLE),
         DeprecationWarning)
     self[PUBSUB_SUBSCRIBER_ROLE] = value
Esempio n. 3
0
 def publishers(self, value):
     """Update publishers."""
     warnings.warn(
         _ASSIGNMENT_DEPRECATED_MSG.format('publishers',
                                           PUBSUB_PUBLISHER_ROLE),
         DeprecationWarning)
     self[PUBSUB_PUBLISHER_ROLE] = value
Esempio n. 4
0
 def publishers(self, value):
     """Update publishers."""
     warnings.warn(
         _ASSIGNMENT_DEPRECATED_MSG.format(
             'publishers', PUBSUB_PUBLISHER_ROLE),
         DeprecationWarning)
     self[PUBSUB_PUBLISHER_ROLE] = value