from PLC.Parameter import Parameter, Mixed
from PLC.AddressTypes import AddressType, AddressTypes
from PLC.Addresses import Address, Addresses
-from PLC.Auth import PasswordAuth
+from PLC.Auth import Auth
class AddAddressTypeToAddress(Method):
"""
roles = ['admin', 'pi']
accepts = [
- PasswordAuth(),
+ Auth(),
Mixed(AddressType.fields['address_type_id'],
AddressType.fields['name']),
Address.fields['address_id']