def add_policy(self, policy):
        if isinstance(policy, RelayPolicy):
            self.relay_policies.append(policy)
        else:
            raise TypeError('Argument not a RelayPolicy.')
Returns a Dict trait.
dataset/ETHPy150Open slimta/python-slimta/slimta/relay/__init__.py/Relay.add_policy--crossover with--dataset/ETHPy150Open enthought/traits/traits/trait_types.py/Dict.__init__