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

All Samples(2)  |  Call(1)  |  Derive(0)  |  Import(1)

src/p/i/piecrust-HEAD/piecrust/api.py   piecrust(Download)
import warnings
from piecrust.exceptions import ImproperlyConfigured, NotRegistered, BadRequest
from piecrust.http import ResponseGenerator, HttpOK
from piecrust.serializers import Serializer
from piecrust.utils import is_valid_jsonp_callback_value
 
        serialized = self.serializer.serialize(available_resources, desired_format, options)
        return self.response_generator.create(HttpOK(content=serialized, content_type=build_content_type(desired_format)))
 
    def _build_reverse_url(self, name, args=None, kwargs=None):