Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(2)  |  Call(1)  |  Derive(0)  |  Import(1)
A basic validation stub that does no validation.

src/p/i/piecrust-HEAD/piecrust/resources.py   piecrust(Download)
from piecrust.utils import is_valid_jsonp_callback_value, dict_strip_unicode_keys, trailing_slash
from piecrust.utils.mime import determine_format, build_content_type
from piecrust.validation import Validation
# If ``csrf_exempt`` isn't present, stub it.
    cache = NoCache()
    throttle = BaseThrottle()
    validation = Validation()
    paginator_class = Paginator
    uri_handler = UriHandler()