Source code for role.role

"""
Roles module.

This module contains class and method definitions for the [user/client] Role
object.

Classes:
  Roles
"""

from enum import Enum


[docs] class Roles(Enum): """ Enum class definition of [user/client] role. """ NOT_SET = 0 PUBLISHER = 1 SUBSCRIBER = 2