- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 24 for involves (0.74 seconds)
-
docs/en/docs/tutorial/cors.md
## Wildcards { #wildcards } It's also possible to declare the list as `"*"` (a "wildcard") to say that all are allowed. But that will only allow certain types of communication, excluding everything that involves credentials: Cookies, Authorization headers like those used with Bearer Tokens, etc. So, for everything to work correctly, it's better to specify explicitly the allowed origins. ## Use `CORSMiddleware` { #use-corsmiddleware }Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 5.5K bytes - Click Count (0) -
docs/en/docs/advanced/events.md
/// /// tip Notice that in this case we are using a standard Python `open()` function that interacts with a file. So, it involves I/O (input/output), that requires "waiting" for things to be written to disk. But `open()` doesn't use `async` and `await`. So, we declare the event handler function with standard `def` instead of `async def`.
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 7.9K bytes - Click Count (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/Crawler.java
* UrlFilter, RuleManager, CrawlerContainer, IntervalController, and CrawlerClientFactory, * to perform its tasks. * * <p>The crawling process involves the following steps: * <ol> * <li>Initialization: Sets up the crawler context and initializes the URL filter.</li> * <li>Thread Creation: Creates a group of crawler threads to perform the actual crawling.</li>
Created: Sat Dec 20 11:21:39 GMT 2025 - Last Modified: Mon Nov 24 03:59:47 GMT 2025 - 17K bytes - Click Count (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/transformer/impl/HtmlTransformer.java
* and components from the Fess Crawler framework, such as {@link CrawlerContainer}, * {@link UrlConvertHelper}, and {@link EncodingHelper}. * </p> * <p> * The transformation process involves: * </p> * <ol> * <li>Determining the character set encoding of the HTML content.</li> * <li>Storing the HTML content as data in the {@link ResultData}.</li>Created: Sat Dec 20 11:21:39 GMT 2025 - Last Modified: Sat Nov 29 07:42:33 GMT 2025 - 30.5K bytes - Click Count (0) -
tests/test_sub_callbacks.py
description: str paid: bool class InvoiceEventReceived(BaseModel): ok: bool invoices_callback_router = APIRouter() @invoices_callback_router.post( "{$callback_url}/invoices/{$request.body.id}", response_model=InvoiceEventReceived ) def invoice_notification(body: InvoiceEvent): pass # pragma: nocover class Event(BaseModel): name: str total: floatCreated: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Dec 27 18:19:10 GMT 2025 - 12.9K bytes - Click Count (0) -
docs/en/docs/advanced/openapi-callbacks.md
## An app with callbacks { #an-app-with-callbacks } Let's see all this with an example. Imagine you develop an app that allows creating invoices. These invoices will have an `id`, `title` (optional), `customer`, and `total`. The user of your API (an external developer) will create an invoice in your API with a POST request. Then your API will (let's imagine):Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 10 08:55:32 GMT 2025 - 8K bytes - Click Count (0) -
docs_src/openapi_callbacks/tutorial001_py39.py
ok: bool invoices_callback_router = APIRouter() @invoices_callback_router.post( "{$callback_url}/invoices/{$request.body.id}", response_model=InvoiceEventReceived ) def invoice_notification(body: InvoiceEvent): pass @app.post("/invoices/", callbacks=invoices_callback_router.routes) def create_invoice(invoice: Invoice, callback_url: Union[HttpUrl, None] = None): """
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 1.3K bytes - Click Count (0) -
tests/test_tutorial/test_openapi_callbacks/test_tutorial001.py
@pytest.fixture(name="client") def get_client(mod: ModuleType): client = TestClient(mod.app) client.headers.clear() return client def test_get(client: TestClient): response = client.post( "/invoices/", json={"id": "fooinvoice", "customer": "John", "total": 5.3} ) assert response.status_code == 200, response.text assert response.json() == {"msg": "Invoice received"}
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Dec 27 18:19:10 GMT 2025 - 8.6K bytes - Click Count (0) -
docs/pt/docs/advanced/openapi-callbacks.md
Nesse caso, é a `str`: ```Python "{$callback_url}/invoices/{$request.body.id}" ``` Então, se o usuário da sua API (o desenvolvedor externo) enviar um request para *sua API* para: ``` https://yourapi.com/invoices/?callback_url=https://www.external.org/events ``` com um corpo JSON de: ```JSON { "id": "2expen51ve",Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Tue Dec 16 20:32:40 GMT 2025 - 8.4K bytes - Click Count (0) -
docs_src/openapi_callbacks/tutorial001_py310.py
ok: bool invoices_callback_router = APIRouter() @invoices_callback_router.post( "{$callback_url}/invoices/{$request.body.id}", response_model=InvoiceEventReceived ) def invoice_notification(body: InvoiceEvent): pass @app.post("/invoices/", callbacks=invoices_callback_router.routes) def create_invoice(invoice: Invoice, callback_url: HttpUrl | None = None): """ Create an invoice.
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 10 08:55:32 GMT 2025 - 1.3K bytes - Click Count (0)