Exemplo n.º 1
0
    def prep_attributes(self):
        # per the Broadsoft API, first_name and last_name can't be blank for certain objects
        if not self.first_name:
            self.first_name = '(None)'

        if not self.last_name:
            self.last_name = '(None)'

        BroadsoftRequest.prep_attributes(self=self)
Exemplo n.º 2
0
 def prep_attributes(self):
     BroadsoftRequest.prep_attributes(self)
     self.set_drones()