def __init__(self, base_query, *specs, extra_parameters=True):
		""" Create new strict query

		:param base_query: base query, that must match all of the specifications
		:param specs: list of parameters specifications
		:param extra_parameters: whether parameters that was not specified in "specs" are allowed
		"""
		WURIQuery.__init__(self)
		self.__specs = {}
		self.__extra_parameters = extra_parameters

		for spec in specs:
			self.add_specification(spec)

		for name in base_query:
			for value in base_query[name]:
				self.add_parameter(name, value)

		for name in self.__specs:
			if self.__specs[name].optional() is False and name not in self:
				raise ValueError('Required parameter "%s" is missing' % name)
def __init__ ( self , base_query , * specs , extra_parameters = True ) : WURIQuery . __init__ ( self ) self . __specs = { } self . __extra_parameters = extra_parameters for spec in specs : self . add_specification ( spec ) for name in base_query : for value in base_query [ name ] : self . add_parameter ( name , value ) for name in self . __specs : if self . __specs [ name ] . optional ( ) is False and name not in self : raise ValueError ( 'Required parameter "%s" is missing' % name )
Create new strict query

		:param base_query: base query, that must match all of the specifications
		:param specs: list of parameters specifications
		:param extra_parameters: whether parameters that was not specified in "specs" are allowed