Falcon v3.0.0-b2 Documentationimport logging import uuid from wsgiref import simple_server import falcon import requests class StorageEngine: def get_things(self, marker, limit): return [{'id': str(uuid.uuid4()), 'color': 'green'}] Release 3.0.0b2 (continued from previous page) def add_thing(self, thing): thing['id'] = str(uuid.uuid4()) return thing class StorageError(Exception): @staticmethod def handle(ex, req, resp, params): json import logging import uuid import falcon import falcon.asgi import httpx class StorageEngine: async def get_things(self, marker, limit): return [{'id': str(uuid.uuid4()), 'color': 'green'}] async0 码力 | 340 页 | 1.15 MB | 1 年前3
Falcon v3.0.0 Documentationimport logging import uuid from wsgiref import simple_server import falcon import requests class StorageEngine: def get_things(self, marker, limit): return [{'id': str(uuid.uuid4()), 'color': 'green'}] Documentation, Release 3.0.0 (continued from previous page) def add_thing(self, thing): thing['id'] = str(uuid.uuid4()) return thing class StorageError(Exception): @staticmethod def handle(ex, req, resp, params): json import logging import uuid import falcon import falcon.asgi import httpx class StorageEngine: async def get_things(self, marker, limit): return [{'id': str(uuid.uuid4()), 'color': 'green'}] async0 码力 | 344 页 | 1.16 MB | 1 年前3
Falcon v3.0.1 Documentationimport logging import uuid from wsgiref import simple_server import falcon import requests class StorageEngine: def get_things(self, marker, limit): return [{'id': str(uuid.uuid4()), 'color': 'green'}] Documentation, Release 3.0.1 (continued from previous page) def add_thing(self, thing): thing['id'] = str(uuid.uuid4()) return thing class StorageError(Exception): @staticmethod def handle(ex, req, resp, params): json import logging import uuid import falcon import falcon.asgi import httpx class StorageEngine: async def get_things(self, marker, limit): return [{'id': str(uuid.uuid4()), 'color': 'green'}] async0 码力 | 344 页 | 1.16 MB | 1 年前3
Falcon v3.0.0-b1 Documentationimport logging import uuid from wsgiref import simple_server import falcon import requests class StorageEngine: def get_things(self, marker, limit): return [{'id': str(uuid.uuid4()), 'color': 'green'}] 'green'}] def add_thing(self, thing): thing['id'] = str(uuid.uuid4()) return thing class StorageError(Exception): (continues on next page) 5.1. User Guide 17 Falcon Documentation, Release 3.0.0b1 (continued json import logging import uuid import falcon import falcon.asgi import httpx class StorageEngine: async def get_things(self, marker, limit): return [{'id': str(uuid.uuid4()), 'color': 'green'}] async0 码力 | 338 页 | 1.14 MB | 1 年前3
Falcon v3.1.1-b3 Documentationimport logging import uuid from wsgiref import simple_server import falcon import requests class StorageEngine: def get_things(self, marker, limit): return [{'id': str(uuid.uuid4()), 'color': 'green'}] 'green'}] def add_thing(self, thing): thing['id'] = str(uuid.uuid4()) return thing class StorageError(Exception): @staticmethod def handle(ex, req, resp, params): # TODO: Log the error, clean up, etc. before json import logging import uuid import falcon import falcon.asgi import httpx class StorageEngine: async def get_things(self, marker, limit): return [{'id': str(uuid.uuid4()), 'color': 'green'}] async0 码力 | 378 页 | 1.29 MB | 1 年前3
Falcon v3.1.1-b1 Documentationimport logging import uuid from wsgiref import simple_server import falcon import requests class StorageEngine: def get_things(self, marker, limit): return [{'id': str(uuid.uuid4()), 'color': 'green'}] 'green'}] def add_thing(self, thing): thing['id'] = str(uuid.uuid4()) return thing class StorageError(Exception): @staticmethod def handle(ex, req, resp, params): # TODO: Log the error, clean up, etc. before json import logging import uuid import falcon import falcon.asgi import httpx class StorageEngine: async def get_things(self, marker, limit): return [{'id': str(uuid.uuid4()), 'color': 'green'}] async0 码力 | 378 页 | 1.29 MB | 1 年前3
Falcon v3.1.1-a Documentationimport logging import uuid from wsgiref import simple_server import falcon import requests class StorageEngine: def get_things(self, marker, limit): return [{'id': str(uuid.uuid4()), 'color': 'green'}] 'green'}] def add_thing(self, thing): thing['id'] = str(uuid.uuid4()) return thing class StorageError(Exception): @staticmethod def handle(ex, req, resp, params): # TODO: Log the error, clean up, etc. before json import logging import uuid import falcon import falcon.asgi import httpx class StorageEngine: async def get_things(self, marker, limit): return [{'id': str(uuid.uuid4()), 'color': 'green'}] async0 码力 | 378 页 | 1.29 MB | 1 年前3
Falcon v3.1.0 Documentationimport logging import uuid from wsgiref import simple_server import falcon import requests class StorageEngine: def get_things(self, marker, limit): return [{'id': str(uuid.uuid4()), 'color': 'green'}] 'green'}] def add_thing(self, thing): thing['id'] = str(uuid.uuid4()) return thing class StorageError(Exception): @staticmethod def handle(ex, req, resp, params): # TODO: Log the error, clean up, etc. before json import logging import uuid import falcon import falcon.asgi import httpx class StorageEngine: async def get_things(self, marker, limit): return [{'id': str(uuid.uuid4()), 'color': 'green'}] async0 码力 | 362 页 | 1.29 MB | 1 年前3
Falcon v3.1.1 Documentationimport logging import uuid from wsgiref import simple_server import falcon import requests class StorageEngine: def get_things(self, marker, limit): return [{'id': str(uuid.uuid4()), 'color': 'green'}] 'green'}] def add_thing(self, thing): thing['id'] = str(uuid.uuid4()) return thing class StorageError(Exception): @staticmethod def handle(ex, req, resp, params): # TODO: Log the error, clean up, etc. before json import logging import uuid import falcon import falcon.asgi import httpx class StorageEngine: async def get_things(self, marker, limit): return [{'id': str(uuid.uuid4()), 'color': 'green'}] async0 码力 | 378 页 | 1.29 MB | 1 年前3
Falcon v3.1.1-rc1 Documentationimport logging import uuid from wsgiref import simple_server import falcon import requests class StorageEngine: def get_things(self, marker, limit): return [{'id': str(uuid.uuid4()), 'color': 'green'}] 'green'}] def add_thing(self, thing): thing['id'] = str(uuid.uuid4()) return thing class StorageError(Exception): @staticmethod def handle(ex, req, resp, params): # TODO: Log the error, clean up, etc. before json import logging import uuid import falcon import falcon.asgi import httpx class StorageEngine: async def get_things(self, marker, limit): return [{'id': str(uuid.uuid4()), 'color': 'green'}] async0 码力 | 378 页 | 1.29 MB | 1 年前3
共 697 条
- 1
- 2
- 3
- 4
- 5
- 6
- 70













