Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 29 for fallback (0.33 sec)

  1. scripts/docs.py

                yield lang_path.name
    
    
    @app.callback()
    def callback() -> None:
        if is_mkdocs_insiders():
            os.environ["INSIDERS_FILE"] = "../en/mkdocs.insiders.yml"
        # For MacOS with insiders and Cairo
        os.environ["DYLD_FALLBACK_LIBRARY_PATH"] = "/opt/homebrew/lib"
    
    
    @app.command()
    def new_lang(lang: str = typer.Argument(..., callback=lang_callback)):
        """
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Mon Jan 22 19:26:14 GMT 2024
    - 10.9K bytes
    - Viewed (1)
  2. tests/test_include_router_defaults_overrides.py

    
    callback_router3 = APIRouter()
    
    
    @callback_router3.get("/")
    async def callback3(level3: str):
        pass  # pragma: nocover
    
    
    callback_router4 = APIRouter()
    
    
    @callback_router4.get("/")
    async def callback4(level4: str):
        pass  # pragma: nocover
    
    
    callback_router5 = APIRouter()
    
    
    @callback_router5.get("/")
    async def callback5(level5: str):
        pass  # pragma: nocover
    
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Fri Jun 30 18:25:16 GMT 2023
    - 358.6K bytes
    - Viewed (0)
  3. docs_src/openapi_callbacks/tutorial001.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):
        """
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Sat May 14 11:59:59 GMT 2022
    - 1.3K bytes
    - Viewed (0)
  4. docs/de/docs/advanced/openapi-callbacks.md

    ### Einen Callback-`APIRouter` erstellen
    
    Erstellen Sie zunรคchst einen neuen `APIRouter`, der einen oder mehrere Callbacks enthรคlt.
    
    ```Python hl_lines="3  25"
    {!../../../docs_src/openapi_callbacks/tutorial001.py!}
    ```
    
    ### Die Callback-*Pfadoperation* erstellen
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Sat Mar 30 20:17:23 GMT 2024
    - 8.8K bytes
    - Viewed (0)
  5. docs/em/docs/advanced/openapi-callbacks.md

    โšซ๏ธ ๐Ÿ”œ โœ”๏ธ *โžก ๐Ÿ› ๏ธ* ๐Ÿ‘ˆ ๐Ÿ”œ ๐Ÿ“จ `Invoice` ๐Ÿ’ช, & ๐Ÿ”ข ๐Ÿ”ข `callback_url` ๐Ÿ‘ˆ ๐Ÿ”œ ๐Ÿ”Œ ๐Ÿ“› โฒ.
    
    ๐Ÿ‘‰ ๐Ÿ• ๐Ÿ“ถ ๐Ÿ˜, ๐ŸŒ… ๐Ÿ“Ÿ ๐ŸŽฒ โช ๐Ÿ˜ฐ ๐Ÿ‘†:
    
    ```Python hl_lines="9-13  36-53"
    {!../../../docs_src/openapi_callbacks/tutorial001.py!}
    ```
    
    !!! tip
         `callback_url` ๐Ÿ”ข ๐Ÿ”ข โš™๏ธ Pydantic <a href="https://docs.pydantic.dev/latest/concepts/types/#urls" class="external-link" target="_blank">๐Ÿ“›</a> ๐Ÿ†Ž.
    
    ๐Ÿ•ด ๐Ÿ†• ๐Ÿ‘œ `callbacks=messages_callback_router.routes` โŒ *โžก ๐Ÿ› ๏ธ ๐Ÿ‘จโ€๐ŸŽจ*. ๐Ÿ‘ฅ ๐Ÿ”œ ๐Ÿ‘€ โšซ๏ธโ” ๐Ÿ‘ˆ โญ.
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 6.6K bytes
    - Viewed (0)
  6. docs/de/docs/advanced/async-tests.md

    ed-to-a-different-loop" class="external-link" target="_blank">MongoDBs MotorClient</a>), dann denken Sie daran, Objekte zu instanziieren, die einen Event Loop nur innerhalb asynchroner Funktionen benรถtigen, z. B. einen `@app.on_event("startup")`-Callback....
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Sat Mar 30 20:25:57 GMT 2024
    - 4.4K bytes
    - Viewed (0)
  7. docs/pt/docs/async.md

    Nas versรตes anteriores do NodeJS / Navegador JavaScript, vocรช poderia utilizar "callbacks". O que leva ao  <a href="http://callbackhell.com/" class="external-link" target="_blank">inferno do callback</a>.
    
    ## Corrotinas
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 22.2K bytes
    - Viewed (0)
  8. docs/fr/docs/async.md

    Dans les versions prรฉcรฉdentes de Javascript NodeJS / Navigateur, vous auriez utilisรฉ des "callbacks". Menant potentiellement ร  ce que l'on appelle <a href="http://callbackhell.com/" class="external-link" target="_blank">le "callback hell"</a>.
    
    
    ## Coroutines
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Sun Mar 31 23:52:53 GMT 2024
    - 24K bytes
    - Viewed (0)
  9. docs/en/docs/release-notes.md

        * For example, during development, it could be `http://localhost:8000/docs/oauth2-redirect`.
        * Keep in mind that this callback URL is independent of whichever one is used by your frontend. You might also have another callback at `https://yourdomain.com/login/callback`.
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Sun Apr 28 00:28:00 GMT 2024
    - 385.5K bytes
    - Viewed (1)
  10. fastapi/openapi/utils.py

                    )
                    if request_body_oai:
                        operation["requestBody"] = request_body_oai
                if route.callbacks:
                    callbacks = {}
                    for callback in route.callbacks:
                        if isinstance(callback, routing.APIRoute):
                            (
                                cb_path,
                                cb_security_schemes,
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:40:57 GMT 2024
    - 21.8K bytes
    - Viewed (0)
Back to top