Search Options

Results per page
Sort
Preferred Languages
Advance

Results 321 - 330 of 1,941 for app (0.01 sec)

  1. helm/minio/templates/networkpolicy.yaml

    apiVersion: {{ template "minio.networkPolicy.apiVersion" . }}
    metadata:
      name: {{ template "minio.fullname" . }}
      labels:
        app: {{ template "minio.name" . }}
        chart: {{ template "minio.chart" . }}
        release: {{ .Release.Name }}
        heritage: {{ .Release.Service }}
    spec:
      podSelector:
        matchLabels:
          app: {{ template "minio.name" . }}
          release: {{ .Release.Name }}
      ingress:
        - ports:
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Sun Jun 08 16:14:18 UTC 2025
    - 1.9K bytes
    - Viewed (0)
  2. docs_src/custom_request_and_route/tutorial001_py310.py

                request = GzipRequest(request.scope, request.receive)
                return await original_route_handler(request)
    
            return custom_route_handler
    
    
    app = FastAPI()
    app.router.route_class = GzipRoute
    
    
    @app.post("/sum")
    async def sum_numbers(numbers: list[int] = Body()):
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 10 08:55:32 UTC 2025
    - 976 bytes
    - Viewed (0)
  3. docs_src/custom_request_and_route/tutorial001_py39.py

                request = GzipRequest(request.scope, request.receive)
                return await original_route_handler(request)
    
            return custom_route_handler
    
    
    app = FastAPI()
    app.router.route_class = GzipRoute
    
    
    @app.post("/sum")
    async def sum_numbers(numbers: list[int] = Body()):
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 10 08:55:32 UTC 2025
    - 967 bytes
    - Viewed (0)
  4. docs_src/path_params/tutorial003_py39.py

    from fastapi import FastAPI
    
    app = FastAPI()
    
    
    @app.get("/users/me")
    async def read_user_me():
        return {"user_id": "the current user"}
    
    
    @app.get("/users/{user_id}")
    async def read_user(user_id: str):
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 236 bytes
    - Viewed (0)
  5. docs/de/docs/tutorial/debugging.md

    Daher wird der Abschnitt:
    
    ```Python
        uvicorn.run(app, host="0.0.0.0", port=8000)
    ```
    
    ausgeführt.
    
    ---
    
    Dies wird nicht passieren, wenn Sie das Modul (die Datei) importieren.
    
    Wenn Sie also eine weitere Datei `importer.py` mit folgendem Inhalt haben:
    
    ```Python
    from myapp import app
    
    # Hier mehr Code
    ```
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 2.7K bytes
    - Viewed (0)
  6. docs_src/security/tutorial004_an_py310.py

        )
        return Token(access_token=access_token, token_type="bearer")
    
    
    @app.get("/users/me/", response_model=User)
    async def read_users_me(
        current_user: Annotated[User, Depends(get_current_active_user)],
    ):
        return current_user
    
    
    @app.get("/users/me/items/")
    async def read_own_items(
        current_user: Annotated[User, Depends(get_current_active_user)],
    ):
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Mon Sep 29 02:57:38 UTC 2025
    - 4.1K bytes
    - Viewed (0)
  7. docs/es/docs/deployment/fastapicloud.md

    ```
    
    </div>
    
    ## Desplegar { #deploy }
    
    Ahora despliega tu app, con un solo comando:
    
    <div class="termy">
    
    ```console
    $ fastapi deploy
    
    Deploying to FastAPI Cloud...
    
    ✅ Deployment successful!
    
    🐔 Ready the chicken! Your app is ready at https://myapp.fastapicloud.dev
    ```
    
    </div>
    
    ¡Eso es todo! Ahora puedes acceder a tu app en esa URL. ✨
    
    ## Acerca de FastAPI Cloud { #about-fastapi-cloud }
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Tue Dec 16 16:16:35 UTC 2025
    - 2.1K bytes
    - Viewed (0)
  8. docs/en/docs/deployment/fastapicloud.md

    ```
    
    </div>
    
    ## Deploy { #deploy }
    
    Now deploy your app, with **one command**:
    
    <div class="termy">
    
    ```console
    $ fastapi deploy
    
    Deploying to FastAPI Cloud...
    
    ✅ Deployment successful!
    
    🐔 Ready the chicken! Your app is ready at https://myapp.fastapicloud.dev
    ```
    
    </div>
    
    That's it! Now you can access your app at that URL. ✨
    
    ## About FastAPI Cloud { #about-fastapi-cloud }
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Mon Nov 17 19:33:53 UTC 2025
    - 2K bytes
    - Viewed (0)
  9. docs_src/events/tutorial002_py39.py

    from fastapi import FastAPI
    
    app = FastAPI()
    
    
    @app.on_event("shutdown")
    def shutdown_event():
        with open("log.txt", mode="a") as log:
            log.write("Application shutdown")
    
    
    @app.get("/items/")
    async def read_items():
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 255 bytes
    - Viewed (0)
  10. tests/test_tutorial/test_openapi_webhooks/test_tutorial001.py

    from fastapi.testclient import TestClient
    
    from docs_src.openapi_webhooks.tutorial001_py39 import app
    
    client = TestClient(app)
    
    
    def test_get():
        response = client.get("/users/")
        assert response.status_code == 200, response.text
        assert response.json() == ["Rick", "Morty"]
    
    
    def test_dummy_webhook():
        # Just for coverage
        app.webhooks.routes[0].endpoint({})
    
    
    def test_openapi_schema():
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 4.4K bytes
    - Viewed (0)
Back to top