Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 81 for Gerber (0.24 sec)

  1. docs/en/docs/tutorial/response-status-code.md

        * An example is `404`, for a "Not Found" response.
        * For generic errors from the client, you can just use `400`.
    * `500` and above are for server errors. You almost never use them directly. When something goes wrong at some part in your application code, or server, it will automatically return one of these status codes.
    
    !!! tip
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Aug 29 14:02:58 GMT 2020
    - 4K bytes
    - Viewed (0)
  2. docs/de/docs/deployment/index.md

    ## Deployment-Strategien
    
    Abhängig von Ihrem spezifischen Anwendungsfall und den von Ihnen verwendeten Tools gibt es mehrere Möglichkeiten, das zu tun.
    
    Sie könnten mithilfe einer Kombination von Tools selbst **einen Server bereitstellen**, Sie könnten einen **Cloud-Dienst** nutzen, der einen Teil der Arbeit für Sie erledigt, oder andere mögliche Optionen.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Mar 30 20:16:56 GMT 2024
    - 1.4K bytes
    - Viewed (0)
  3. docs/es/docs/tutorial/path-params.md

    <img src="/img/tutorial/path-params/image03.png">
    
    ### Trabajando con los *enumerations* de Python
    
    El valor del *parámetro de path* será un *enumeration member*.
    
    #### Compara *enumeration members*
    
    Puedes compararlo con el *enumeration member* en el enum (`ModelName`) que creaste:
    
    ```Python hl_lines="17"
    {!../../../docs_src/path_params/tutorial005.py!}
    ```
    
    #### Obtén el *enumeration value*
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 9.4K bytes
    - Viewed (0)
  4. docs_src/sql_databases/sql_app_py39/alt_main.py

    models.Base.metadata.create_all(bind=engine)
    
    app = FastAPI()
    
    
    @app.middleware("http")
    async def db_session_middleware(request: Request, call_next):
        response = Response("Internal server error", status_code=500)
        try:
            request.state.db = SessionLocal()
            response = await call_next(request)
        finally:
            request.state.db.close()
        return response
    
    
    # Dependency
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Jan 07 14:11:31 GMT 2022
    - 1.9K bytes
    - Viewed (0)
  5. tests/test_additional_responses_router.py

                    "get": {
                        "responses": {
                            "400": {"description": "Error with str"},
                            "5XX": {
                                "description": "Server Error",
                                "content": {
                                    "application/json": {
                                        "schema": {
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Jun 30 18:25:16 GMT 2023
    - 5.1K bytes
    - Viewed (0)
  6. docs/en/docs/advanced/websockets.md

    This, of course, is not optimal and you wouldn't use it for production.
    
    In production you would have one of the options above.
    
    But it's the simplest way to focus on the server-side of WebSockets and have a working example:
    
    ```Python hl_lines="2  6-38  41-43"
    {!../../../docs_src/websockets/tutorial001.py!}
    ```
    
    ## Create a `websocket`
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu May 02 22:37:31 GMT 2024
    - 6.2K bytes
    - Viewed (0)
  7. docs/en/mkdocs.yml

      - Deployment:
        - deployment/index.md
        - deployment/versions.md
        - deployment/https.md
        - deployment/manually.md
        - deployment/concepts.md
        - deployment/cloud.md
        - deployment/server-workers.md
        - deployment/docker.md
      - How To - Recipes:
        - how-to/index.md
        - how-to/general.md
        - how-to/graphql.md
        - how-to/custom-request-and-route.md
        - how-to/conditional-openapi.md
    Others
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu May 02 22:37:31 GMT 2024
    - 9.1K bytes
    - Viewed (0)
  8. docs/pt/docs/tutorial/path-params.md

    {!../../../docs_src/path_params/tutorial005.py!}
    ```
    
    #### Obtenha o *valor de enumerate*
    
    Você pode ter o valor exato de enumerate (um `str` nesse caso) usando `model_name.value`, ou em geral, `your_enum_member.value`:
    
    ```Python hl_lines="20"
    {!../../../docs_src/path_params/tutorial005.py!}
    ```
    
    !!! tip "Dica"
    	Você também poderia acessar o valor `"lenet"` com `ModelName.lenet.value`
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 9.7K bytes
    - Viewed (0)
  9. docs/pt/docs/tutorial/first-steps.md

    <span style="color: green;">INFO</span>:     Uvicorn running on http://127.0.0.1:8000 (Press CTRL+C to quit)
    <span style="color: green;">INFO</span>:     Started reloader process [28720]
    <span style="color: green;">INFO</span>:     Started server process [28722]
    <span style="color: green;">INFO</span>:     Waiting for application startup.
    <span style="color: green;">INFO</span>:     Application startup complete.
    ```
    
    </div>
    
    !!! note "Nota"
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 9.6K bytes
    - Viewed (0)
  10. tests/test_tutorial/test_dependencies/test_tutorial008c.py

    
    def test_internal_server_error():
        from docs_src.dependencies.tutorial008c import app
    
        client = TestClient(app, raise_server_exceptions=False)
        response = client.get("/items/portal-gun")
        assert response.status_code == 500, response.text
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Sat Feb 24 23:06:37 GMT 2024
    - 1.1K bytes
    - Viewed (0)
Back to top