 Falcon v1.4.1-post-1 Documentationarchitectural style. class CatalogItem(object): # ... @falcon.before(hooks.to_oid) def on_get(self, id): return self._collection.find_one(id) app = falcon.API(after=[hooks.serialize]) app Codes Error Handling Media Redirection Middleware Hooks Routing Utilities Testing Community Guide Get Help Contribute to Falcon FAQ Changelogs 1.4.1 1.4.0 1.3.0 1.2.0 1.1.0 1.0.0 0.3.0 0.2.0 User Guide ujson with CPython deployments: $ pip install ujson Installing the Falcon wheel is a great way to get up and running quickly in a development environment, but for an extra speed boost when deploying your0 码力 | 229 页 | 273.39 KB | 1 年前3 Falcon v1.4.1-post-1 Documentationarchitectural style. class CatalogItem(object): # ... @falcon.before(hooks.to_oid) def on_get(self, id): return self._collection.find_one(id) app = falcon.API(after=[hooks.serialize]) app Codes Error Handling Media Redirection Middleware Hooks Routing Utilities Testing Community Guide Get Help Contribute to Falcon FAQ Changelogs 1.4.1 1.4.0 1.3.0 1.2.0 1.1.0 1.0.0 0.3.0 0.2.0 User Guide ujson with CPython deployments: $ pip install ujson Installing the Falcon wheel is a great way to get up and running quickly in a development environment, but for an extra speed boost when deploying your0 码力 | 229 页 | 273.39 KB | 1 年前3
 Falcon v1.4.1 DocumentationFalcon Documentation Release 1.4.1.post-1 Kurt Griffiths et al. Aug 08, 2018 Contents 1 What People are Saying 3 2 Quick Links 5 3 Features 7 4 Who’s Using Falcon? 9 5 Documentation 11 5.1 User . . . . . . . . . . . . 137 Python Module Index 149 i ii Falcon Documentation, Release 1.4.1.post-1 Release v1.4 (Installation) Falcon is a minimalist WSGI library for building speedy web APIs and on_get(self, id): return self._collection.find_one(id) app = falcon.API(after=[hooks.serialize]) app.add_route('/items/{id}', CatalogItem()) Contents 1 Falcon Documentation, Release 1.4.1.post-1 20 码力 | 158 页 | 587.88 KB | 1 年前3 Falcon v1.4.1 DocumentationFalcon Documentation Release 1.4.1.post-1 Kurt Griffiths et al. Aug 08, 2018 Contents 1 What People are Saying 3 2 Quick Links 5 3 Features 7 4 Who’s Using Falcon? 9 5 Documentation 11 5.1 User . . . . . . . . . . . . 137 Python Module Index 149 i ii Falcon Documentation, Release 1.4.1.post-1 Release v1.4 (Installation) Falcon is a minimalist WSGI library for building speedy web APIs and on_get(self, id): return self._collection.find_one(id) app = falcon.API(after=[hooks.serialize]) app.add_route('/items/{id}', CatalogItem()) Contents 1 Falcon Documentation, Release 1.4.1.post-1 20 码力 | 158 页 | 587.88 KB | 1 年前3
 Falcon v3.0.0 Documentation. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 95 5.3.1 Get Help . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 95 that embraces HTTP and the REST architectural style. class QuoteResource: def on_get(self, req, resp): """Handles GET requests""" quote = { 'quote': ( "I've always been more interested in " "the future Here is a simple example from Falcon’s README, showing how to get started writing an app. WSGI ASGI # examples/things.py # Let's get this party started! from wsgiref.simple_server import make_server0 码力 | 344 页 | 1.16 MB | 1 年前3 Falcon v3.0.0 Documentation. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 95 5.3.1 Get Help . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 95 that embraces HTTP and the REST architectural style. class QuoteResource: def on_get(self, req, resp): """Handles GET requests""" quote = { 'quote': ( "I've always been more interested in " "the future Here is a simple example from Falcon’s README, showing how to get started writing an app. WSGI ASGI # examples/things.py # Let's get this party started! from wsgiref.simple_server import make_server0 码力 | 344 页 | 1.16 MB | 1 年前3
 Falcon v3.0.1 Documentation. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 95 5.3.1 Get Help . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 95 that embraces HTTP and the REST architectural style. class QuoteResource: def on_get(self, req, resp): """Handles GET requests""" quote = { 'quote': ( "I've always been more interested in " "the future Here is a simple example from Falcon’s README, showing how to get started writing an app. WSGI ASGI # examples/things.py # Let's get this party started! from wsgiref.simple_server import make_server0 码力 | 344 页 | 1.16 MB | 1 年前3 Falcon v3.0.1 Documentation. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 95 5.3.1 Get Help . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 95 that embraces HTTP and the REST architectural style. class QuoteResource: def on_get(self, req, resp): """Handles GET requests""" quote = { 'quote': ( "I've always been more interested in " "the future Here is a simple example from Falcon’s README, showing how to get started writing an app. WSGI ASGI # examples/things.py # Let's get this party started! from wsgiref.simple_server import make_server0 码力 | 344 页 | 1.16 MB | 1 年前3
 Falcon v3.0.0-b2 Documentation. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 95 5.3.1 Get Help . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 95 that embraces HTTP and the REST architectural style. class QuoteResource: def on_get(self, req, resp): """Handles GET requests""" quote = { 'quote': ( "I've always been more interested in " "the future Here is a simple example from Falcon’s README, showing how to get started writing an app. WSGI ASGI # examples/things.py # Let's get this party started! from wsgiref.simple_server import make_server0 码力 | 340 页 | 1.15 MB | 1 年前3 Falcon v3.0.0-b2 Documentation. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 95 5.3.1 Get Help . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 95 that embraces HTTP and the REST architectural style. class QuoteResource: def on_get(self, req, resp): """Handles GET requests""" quote = { 'quote': ( "I've always been more interested in " "the future Here is a simple example from Falcon’s README, showing how to get started writing an app. WSGI ASGI # examples/things.py # Let's get this party started! from wsgiref.simple_server import make_server0 码力 | 340 页 | 1.15 MB | 1 年前3
 Falcon v3.1.1-b3 Documentation. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 105 5.3.1 Get Help . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 105 little as possible while remaining highly effective. class QuoteResource: def on_get(self, req, resp): """Handles GET requests""" quote = { 'quote': ( "I've always been more interested in " "the future Here is a simple example from Falcon’s README, showing how to get started writing an app. WSGI ASGI # examples/things.py # Let's get this party started! from wsgiref.simple_server import make_server0 码力 | 378 页 | 1.29 MB | 1 年前3 Falcon v3.1.1-b3 Documentation. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 105 5.3.1 Get Help . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 105 little as possible while remaining highly effective. class QuoteResource: def on_get(self, req, resp): """Handles GET requests""" quote = { 'quote': ( "I've always been more interested in " "the future Here is a simple example from Falcon’s README, showing how to get started writing an app. WSGI ASGI # examples/things.py # Let's get this party started! from wsgiref.simple_server import make_server0 码力 | 378 页 | 1.29 MB | 1 年前3
 Falcon v3.1.1-b1 Documentation. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 105 5.3.1 Get Help . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 105 little as possible while remaining highly effective. class QuoteResource: def on_get(self, req, resp): """Handles GET requests""" quote = { 'quote': ( "I've always been more interested in " "the future Here is a simple example from Falcon’s README, showing how to get started writing an app. WSGI ASGI # examples/things.py # Let's get this party started! from wsgiref.simple_server import make_server0 码力 | 378 页 | 1.29 MB | 1 年前3 Falcon v3.1.1-b1 Documentation. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 105 5.3.1 Get Help . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 105 little as possible while remaining highly effective. class QuoteResource: def on_get(self, req, resp): """Handles GET requests""" quote = { 'quote': ( "I've always been more interested in " "the future Here is a simple example from Falcon’s README, showing how to get started writing an app. WSGI ASGI # examples/things.py # Let's get this party started! from wsgiref.simple_server import make_server0 码力 | 378 页 | 1.29 MB | 1 年前3
 Falcon v3.1.1-a Documentation. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 105 5.3.1 Get Help . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 105 little as possible while remaining highly effective. class QuoteResource: def on_get(self, req, resp): """Handles GET requests""" quote = { 'quote': ( "I've always been more interested in " "the future Here is a simple example from Falcon’s README, showing how to get started writing an app. WSGI ASGI # examples/things.py # Let's get this party started! from wsgiref.simple_server import make_server0 码力 | 378 页 | 1.29 MB | 1 年前3 Falcon v3.1.1-a Documentation. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 105 5.3.1 Get Help . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 105 little as possible while remaining highly effective. class QuoteResource: def on_get(self, req, resp): """Handles GET requests""" quote = { 'quote': ( "I've always been more interested in " "the future Here is a simple example from Falcon’s README, showing how to get started writing an app. WSGI ASGI # examples/things.py # Let's get this party started! from wsgiref.simple_server import make_server0 码力 | 378 页 | 1.29 MB | 1 年前3
 Falcon v3.1.1 Documentation. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 105 5.3.1 Get Help . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 105 little as possible while remaining highly effective. class QuoteResource: def on_get(self, req, resp): """Handles GET requests""" quote = { 'quote': ( "I've always been more interested in " "the future Here is a simple example from Falcon’s README, showing how to get started writing an app. WSGI ASGI # examples/things.py # Let's get this party started! from wsgiref.simple_server import make_server0 码力 | 378 页 | 1.29 MB | 1 年前3 Falcon v3.1.1 Documentation. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 105 5.3.1 Get Help . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 105 little as possible while remaining highly effective. class QuoteResource: def on_get(self, req, resp): """Handles GET requests""" quote = { 'quote': ( "I've always been more interested in " "the future Here is a simple example from Falcon’s README, showing how to get started writing an app. WSGI ASGI # examples/things.py # Let's get this party started! from wsgiref.simple_server import make_server0 码力 | 378 页 | 1.29 MB | 1 年前3
 Falcon v3.1.1-rc1 Documentation. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 105 5.3.1 Get Help . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 105 little as possible while remaining highly effective. class QuoteResource: def on_get(self, req, resp): """Handles GET requests""" quote = { 'quote': ( "I've always been more interested in " "the future Here is a simple example from Falcon’s README, showing how to get started writing an app. WSGI ASGI # examples/things.py # Let's get this party started! from wsgiref.simple_server import make_server0 码力 | 378 页 | 1.29 MB | 1 年前3 Falcon v3.1.1-rc1 Documentation. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 105 5.3.1 Get Help . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 105 little as possible while remaining highly effective. class QuoteResource: def on_get(self, req, resp): """Handles GET requests""" quote = { 'quote': ( "I've always been more interested in " "the future Here is a simple example from Falcon’s README, showing how to get started writing an app. WSGI ASGI # examples/things.py # Let's get this party started! from wsgiref.simple_server import make_server0 码力 | 378 页 | 1.29 MB | 1 年前3
共 40 条
- 1
- 2
- 3
- 4














