<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def solve_value(self, value, resource):
 """Solve a resource with a value, without coercing. Arguments --------- value : ? A value to solve in combination with the given resource. The first filter of the resource will be applied on this value (next filters on the result of the previous filter). resource : dataql.resources.Resource An instance of a subclass of ``Resource`` to solve with the given value. Returns ------- The result of all filters applied on the value for the first filter, and result of the previous filter for next filters. Example ------- '2015-06-01' '2015-06-01' # Example of how to raise a ``CannotSolve`` exception. Traceback (most recent call last):
 """


        # The given value is the starting point on which we apply the first filter.
        result = value

        # Apply filters one by one on the previous result.
        if result is not None:
            for filter_ in resource.filters:
                result = self.registry.solve_filter(result, filter_)
                if result is None:
                    break

        return result