def _checkParams(self): ServiceBase._checkParams(self) self._pm = ParameterManager(self._params) userId = self._pm.extract("userId", pType=str, allowEmpty=True) if userId is not None: ah = user.AvatarHolder() self._target = ah.getById(userId) else: self._target = self._aw.getUser()
def _checkParams(self): ServiceBase._checkParams(self) pm = ParameterManager(self._params) self._tz = pm.extract("timezone", pType=str, allowEmpty=False) pm.setTimezone(self._tz) self._sDate = pm.extract("sDate", pType=datetime.datetime, allowEmpty=False) self._eDate = pm.extract("eDate", pType=datetime.datetime, allowEmpty=False)
def _checkParams(self): ServiceBase._checkParams(self) self.passportID = self._params[ 'passportID'] if 'passportID' in self._params else None self.passportExpire = self._params[ 'passportExpire'] if 'passportExpire' in self._params else None self.passportOrigin = self._params[ 'passportOrigin'] if 'passportOrigin' in self._params else None self.passportOrigin = countries.get(self.passportOrigin).alpha2
def _checkParams(self): ServiceBase._checkParams(self) self._query = self._params['query'] self._importer = self._params['importer'] self._size = self._params.get('size', 10)
def _checkParams(self): ServiceBase._checkParams(self) self.passportID = self._params['passportID'] if 'passportID' in self._params else None self.passportExpire = self._params['passportExpire'] if 'passportExpire' in self._params else None self.passportOrigin = self._params['passportOrigin'] if 'passportOrigin' in self._params else None self.passportOrigin = countries.get(self.passportOrigin).alpha2
def _checkParams(self): ServiceBase._checkParams(self)
def _checkParams(self): ServiceBase._checkParams(self) self._query = self._params['query'] if 'query' in self._params else None self._full = self._params['full'] if 'full' in self._params else None
def _checkParams(self): ServiceBase._checkParams(self) self._confId = self._params['confId'] self._action = self._params['action']
def _checkParams(self): ServiceBase._checkParams(self) self._target = self.getAW().getUser() self._allDetails = self._params.get("allDetails", False)
def _checkParams(self): ServiceBase._checkParams(self) UserBasketBase._checkParams(self) self._allDetails = self._params.get("allDetails", False)
def _checkParams(self): ServiceBase._checkParams(self) self._query = self._params["query"] if "query" in self._params else None self._full = self._params["full"] if "full" in self._params else None
def _checkParams(self): ServiceBase._checkParams(self) self._username = self._params.get('username',None) self._password = self._params.get('password',None)
def _checkParams(self): ServiceBase._checkParams(self) self._organization = self._params['org']
def _checkParams(self): ServiceBase._checkParams(self) self._username = self._params.get('username', None) self._password = self._params.get('password', None)
def _checkParams(self): ServiceBase._checkParams(self) self._confId = self._params['confId']