@classmethod
    def get_default_methods(cls):
        return 2 ** len(cls.COMMUNICATION_METHODS) - 1
We want to set every value in the bitfield to 1.
dataset/ETHPy150Open unlimitedlabs/orchestra/orchestra/models/communication/model_mixins.py/CommunicationPreferenceMixin.get_default_methods