Falcon v3.0.1 Documentationswitching to the directory of the cloned repo and then running pytest: $ cd falcon $ pip install -r requirements/tests $ pytest tests Or, to run the default set of tests: $ pip install tox && tox Tip perhaps is a single cluster that all data centers have to share. sink = SinkAdapter() app.add_sink(sink, r'/search/(?Pddg|y)\Z') # Useful for debugging problems in your API; works with pdb.set_trace() perhaps is a single cluster that all data centers have to share. sink = SinkAdapter() app.add_sink(sink, r'/search/(?P ddg|y)\Z') You can run the ASGI version with any ASGI server, such as uvicorn: 0 码力 | 1058 页 | 741.59 KB | 1 年前3
Falcon v3.0.0-b1 Documentationswitching to the directory of the cloned repo and then running pytest: $ cd falcon $ pip install -r requirements/tests $ pytest tests Or, to run the default set of tests: $ pip install tox && tox Tip perhaps is a single cluster that all data centers have to share. sink = SinkAdapter() app.add_sink(sink, r'/search/(?Pddg|y)\Z') # Useful for debugging problems in your API; works with pdb.set_trace() perhaps is a single cluster that all data centers have to share. sink = SinkAdapter() app.add_sink(sink, r'/search/(?P ddg|y)\Z') You can run the ASGI version with any ASGI server, such as uvicorn: 0 码力 | 1028 页 | 725.86 KB | 1 年前3
Falcon v3.0.0 Documentationswitching to the directory of the cloned repo and then running pytest: $ cd falcon $ pip install -r requirements/tests $ pytest tests Or, to run the default set of tests: $ pip install tox && tox Tip perhaps is a single cluster that all data centers have to share. sink = SinkAdapter() app.add_sink(sink, r'/search/(?Pddg|y)\Z') # Useful for debugging problems in your API; works with pdb.set_trace() perhaps is a single cluster that all data centers have to share. sink = SinkAdapter() app.add_sink(sink, r'/search/(?P ddg|y)\Z') You can run the ASGI version with any ASGI server, such as uvicorn: 0 码力 | 1055 页 | 739.30 KB | 1 年前3
Falcon v3.0.0-b2 Documentationswitching to the directory of the cloned repo and then running pytest: $ cd falcon $ pip install -r requirements/tests $ pytest tests Or, to run the default set of tests: $ pip install tox && tox Tip perhaps is a single cluster that all data centers have to share. sink = SinkAdapter() app.add_sink(sink, r'/search/(?Pddg|y)\Z') # Useful for debugging problems in your API; works with pdb.set_trace() perhaps is a single cluster that all data centers have to share. sink = SinkAdapter() app.add_sink(sink, r'/search/(?P ddg|y)\Z') You can run the ASGI version with any ASGI server, such as uvicorn: 0 码力 | 1041 页 | 730.21 KB | 1 年前3
Falcon v1.0.0 Documentationperhaps is a single cluster that all data centers have to share. sink = SinkAdapter() app.add_sink(sink, r'/search/(?Pddg|y)\Z') # Useful for debugging problems in your API; works with pdb.set_trace() falcon.HTTPNotFound() Or you could handle a bogus filename like this: VALID_IMAGE_NAME = re.compile(r'[a-f0-9]{10}\.(jpeg|gif|png)$') # ... class Item(object): def __init__(self, storage_path): Falcon 1.0.0 documentation » Index A | B | C | D | E | F | G | H | I | J | K | L | M | N | O | P | Q | R | S | T | U | V A accept (Request attribute) access_route (Request attribute) add_error_handler() 0 码力 | 249 页 | 406.22 KB | 1 年前3
Falcon v0.2.0 Documentationperhaps is a single cluster that all data centers have to share. sink = SinkAdapter() app.add_sink(sink, r'/search/(?Pddg|y)\Z') # Useful for debugging problems in your API; works with pdb.set_trace() falcon.HTTPNotFound() Or you could handle a bogus filename like this: VALID_IMAGE_NAME = re.compile(r'[a-f0-9]{10}\.(jpeg|gif|png)$') # ... class Item(object): def __init__(self, storage_path): Falcon 0.2.0rc1 documentation » Index A | B | C | D | E | F | G | H | I | K | L | M | N | O | P | Q | R | S | T | U | V A accept (Request attribute) add_error_handler() (falcon.API method) add_link() (falcon 0 码力 | 188 页 | 358.44 KB | 1 年前3
Falcon v1.0.0 Documentationswitching to the directory of the cloned repo and then running pytest: $ cd falcon $ pip install -r tools/test-requires $ pytest tests Or, to run the default set of tests: $ pip install tox && tox is a single cluster that all data centers have to share. sink = SinkAdapter() app.add_sink(sink, r'/search/(?Pddg|y)\Z') # Useful for debugging problems in your API; works with pdb.set_trace() falcon.HTTPNotFound() Or you could handle a bogus filename like this: VALID_IMAGE_NAME = re.compile(r'[a-f0-9]{10}\.(jpeg|gif|png)$') # ... class Item(object): def __init__(self, storage_path): 0 码力 | 312 页 | 368.58 KB | 1 年前3
Falcon v0.3.0.1 Documentationperhaps is a single cluster that all data centers have to share. sink = SinkAdapter() app.add_sink(sink, r'/search/(?Pddg|y)\Z') # Useful for debugging problems in your API; works with pdb.set_trace() falcon.HTTPNotFound() Or you could handle a bogus filename like this: VALID_IMAGE_NAME = re.compile(r'[a-f0-9]{10}\.(jpeg|gif|png)$') # ... class Item(object): def __init__(self, storage_path): Falcon 0.3.0 documentation » Index _ | A | B | C | D | E | F | G | H | I | K | L | M | N | O | P | Q | R | S | T | U | V _ __call__() (falcon.API method) (falcon.testing.StartResponseMock method) A accept 0 码力 | 126 页 | 345.09 KB | 1 年前3
Falcon v1.1.0 Documentationswitching to the directory of the cloned repo and then running pytest: $ cd falcon $ pip install -r tools/test-requires $ pytest tests Or, to run the default set of tests: $ pip install tox && tox perhaps is a single cluster that all data centers have to share. sink = SinkAdapter() app.add_sink(sink, r'/search/(?Pddg|y)\Z') # Useful for debugging problems in your API; works with pdb.set_trace() falcon.HTTPNotFound() Or you could handle a bogus filename like this: VALID_IMAGE_NAME = re.compile(r'[a-f0-9]{10}\.(jpeg|gif|png)$') # ... class Item(object): def __init__(self, storage_path): self 0 码力 | 113 页 | 426.53 KB | 1 年前3
Falcon v2.0.0 Documentationswitching to the directory of the cloned repo and then running pytest: $ cd falcon $ pip install -r requirements/tests $ pytest tests Or, to run the default set of tests: $ pip install tox && tox Tip perhaps is a single cluster that all data centers have to share. sink = SinkAdapter() app.add_sink(sink, r'/search/(?Pddg|y)\Z') # Useful for debugging problems in your API; works with pdb.set_trace() close() # ... # Write to the DB within a transaction with self._engine.begin() as connection: r1 = connection.execute(some_table.select()) # ... connection.execute( some_table.insert() 0 码力 | 265 页 | 299.57 KB | 1 年前3
共 40 条
- 1
- 2
- 3
- 4













