Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for results2 (0.26 sec)

  1. docs/de/docs/advanced/settings.md

            execute ->> code: gib das Resultat zurück
        end
    
        rect rgba(0, 255, 0, .1)
            code ->> function: say_hi(name="Rick", salutation="Mr.")
            function ->> execute: führe Code der Funktion aus
            execute ->> code: gib das Resultat zurück
        end
    
        rect rgba(0, 255, 255, .1)
            code ->> function: say_hi(name="Rick")
            function ->> code: gib das gespeicherte Resultat zurück
        end
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 24 10:28:19 UTC 2025
    - 13.1K bytes
    - Viewed (0)
  2. fastapi/dependencies/utils.py

            ):
                # For types
                assert isinstance(value, sequence_types)
                results: list[Union[bytes, str]] = []
    
                async def process_fn(
                    fn: Callable[[], Coroutine[Any, Any, Any]],
                ) -> None:
                    result = await fn()
                    results.append(result)  # noqa: B023
    
                async with anyio.create_task_group() as tg:
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 12:54:56 UTC 2025
    - 37.6K bytes
    - Viewed (3)
  3. docs/de/docs/tutorial/body.md

    {* ../../docs_src/body/tutorial001_py310.py hl[16] *}
    
    ... und deklarieren Sie dessen Typ als das Modell, welches Sie erstellt haben, `Item`.
    
    ## Resultate { #results }
    
    Mit nur dieser Python-Typdeklaration wird **FastAPI**:
    
    * Den Requestbody als JSON lesen.
    * Die entsprechenden Typen konvertieren (falls nötig).
    * Diese Daten validieren.
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 24 10:28:19 UTC 2025
    - 7.9K bytes
    - Viewed (0)
  4. fastapi/encoders.py

        Encodes a Decimal as int if there's no exponent, otherwise float
    
        This is useful when we use ConstrainedDecimal to represent Numeric(x,0)
        where an integer (but not int typed) is used. Encoding this as a float
        results in failed round-tripping between encode and parse.
        Our Id type is a prime example of this.
    
        >>> decimal_encoder(Decimal("1.0"))
        1.0
    
        >>> decimal_encoder(Decimal("1"))
        1
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 12:54:56 UTC 2025
    - 10.7K bytes
    - Viewed (0)
  5. README.md

    ![Swagger UI interaction](https://fastapi.tiangolo.com/img/index/index-04-swagger-03.png)
    
    * Then click on the "Execute" button, the user interface will communicate with your API, send the parameters, get the results and show them on the screen:
    
    ![Swagger UI interaction](https://fastapi.tiangolo.com/img/index/index-05-swagger-04.png)
    
    ### Alternative API docs upgrade
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Thu Dec 25 11:01:37 UTC 2025
    - 26.4K bytes
    - Viewed (0)
  6. docs/de/docs/tutorial/response-model.md

    * `tax: float = 10.5` hat einen Defaultwert `10.5`.
    * `tags: List[str] = []` hat eine leere Liste als Defaultwert: `[]`.
    
    Aber Sie möchten diese vielleicht vom Resultat ausschließen, wenn Sie gar nicht gesetzt wurden.
    
    Wenn Sie zum Beispiel Modelle mit vielen optionalen Attributen in einer NoSQL-Datenbank haben, und Sie möchten nicht ellenlange JSON-Responses voller Defaultwerte senden.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 24 10:28:19 UTC 2025
    - 17.5K bytes
    - Viewed (0)
  7. scripts/docs.py

            raise typer.Exit(1)
        print("README.md is up to date ✅")
    
    
    @app.command()
    def build_all() -> None:
        """
        Build mkdocs site for en, and then build each language inside, end result is located
        at directory ./site/ with each language inside.
        """
        update_languages()
        shutil.rmtree(site_path, ignore_errors=True)
        langs = [
            lang.name
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sun Dec 21 17:40:17 UTC 2025
    - 16.9K bytes
    - Viewed (0)
  8. docs/en/docs/index.md

    ![Swagger UI interaction](https://fastapi.tiangolo.com/img/index/index-04-swagger-03.png)
    
    * Then click on the "Execute" button, the user interface will communicate with your API, send the parameters, get the results and show them on the screen:
    
    ![Swagger UI interaction](https://fastapi.tiangolo.com/img/index/index-05-swagger-04.png)
    
    ### Alternative API docs upgrade { #alternative-api-docs-upgrade }
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Thu Dec 25 11:01:37 UTC 2025
    - 23.5K bytes
    - Viewed (0)
  9. docs/en/docs/release-notes.md

        ml_models.clear()
    
    
    app = FastAPI(lifespan=lifespan)
    
    
    @app.get("/predict")
    async def predict(x: float):
        result = ml_models["answer_to_everything"](x)
        return {"result": result}
    ```
    
    **Note**: This is the recommended way going forward, instead of using `startup` and `shutdown` events.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 19:06:15 UTC 2025
    - 586.7K bytes
    - Viewed (0)
Back to top