Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 311 - 320 of 424 for logic (0.01 seconds)

  1. docs_src/request_form_models/tutorial002_py39.py

    from fastapi import FastAPI, Form
    from pydantic import BaseModel
    
    app = FastAPI()
    
    
    class FormData(BaseModel):
        username: str
        password: str
        model_config = {"extra": "forbid"}
    
    
    @app.post("/login/")
    async def login(data: FormData = Form()):
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 267 bytes
    - Click Count (0)
  2. docs_src/request_form_models/tutorial002_an_py39.py

    from pydantic import BaseModel
    
    app = FastAPI()
    
    
    class FormData(BaseModel):
        username: str
        password: str
        model_config = {"extra": "forbid"}
    
    
    @app.post("/login/")
    async def login(data: Annotated[FormData, Form()]):
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Fri Sep 06 17:31:18 GMT 2024
    - 307 bytes
    - Click Count (0)
  3. docs/en/docs/deployment/fastapicloud.md

    ## Login { #login }
    
    Make sure you already have a **FastAPI Cloud** account (we invited you from the waiting list 馃槈).
    
    Then log in:
    
    <div class="termy">
    
    ```console
    $ fastapi login
    
    You are logged in to FastAPI Cloud 馃殌
    ```
    
    </div>
    
    ## Deploy { #deploy }
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Mon Nov 17 19:33:53 GMT 2025
    - 2K bytes
    - Click Count (0)
  4. docs/pt/docs/advanced/events.md

    # Eventos de lifespan { #lifespan-events }
    
    Voc锚 pode definir a l贸gica (c贸digo) que deve ser executada antes da aplica莽茫o **inicializar**. Isso significa que esse c贸digo ser谩 executado **uma vez**, **antes** de a aplica莽茫o **come莽ar a receber requisi莽玫es**.
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 8.8K bytes
    - Click Count (0)
  5. docs/es/docs/advanced/events.md

    # Eventos de Lifespan { #lifespan-events }
    
    Puedes definir l贸gica (c贸digo) que deber铆a ser ejecutada antes de que la aplicaci贸n **inicie**. Esto significa que este c贸digo ser谩 ejecutado **una vez**, **antes** de que la aplicaci贸n **comience a recibir requests**.
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 8.5K bytes
    - Click Count (0)
  6. docs/sts/README.md

    These credentials can now be used to perform MinIO API operations.
    
    ### Using MinIO Console
    
    - Open MinIO URL on the browser, lets say <http://localhost:9000/>
    - Click on `Login with SSO`
    - User will be redirected to the Keycloak user login page, upon successful login the user will be redirected to MinIO page and logged in automatically,
      the user should see now the buckets and objects they have access to.
    
    ## Explore Further
    
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Tue Aug 12 18:20:36 GMT 2025
    - 7.8K bytes
    - Click Count (0)
  7. docs/sts/dex.yaml

        secret: ZXhhbXBsZS1hcHAtc2VjcmV0
    
    connectors:
      - type: mockCallback
        id: mock
        name: Example
    
    # Let dex keep a list of passwords which can be used to login to dex.
    enablePasswordDB: true
    
    # A static list of passwords to login the end user. By identifying here, dex
    # won't look in its underlying storage for passwords.
    #
    # If this option isn't chosen users may be added through the gRPC API.
    staticPasswords:
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Wed Jul 15 11:55:55 GMT 2020
    - 2.7K bytes
    - Click Count (0)
  8. internal/logger/logger.go

    	if err == nil {
    		return
    	}
    	logIf(ctx, subsystem, err, errKind...)
    }
    
    // LogIf prints a detailed error message during
    // the execution of the server, if it is not an
    // ignored error.
    func LogIf(ctx context.Context, subsystem string, err error, errKind ...any) {
    	if logIgnoreError(err) {
    		return
    	}
    	logIf(ctx, subsystem, err, errKind...)
    }
    
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 12.4K bytes
    - Click Count (0)
  9. scripts/playwright/request_form_models/image01.py

        # Update the viewport manually
        context = browser.new_context(viewport={"width": 960, "height": 1080})
        page = context.new_page()
        page.goto("http://localhost:8000/docs")
        page.get_by_role("button", name="POST /login/ Login").click()
        page.get_by_role("button", name="Try it out").click()
        # Manually add the screenshot
        page.screenshot(path="docs/en/docs/img/tutorial/request-form-models/image01.png")
    
        # ---------------------
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Fri Sep 13 09:14:46 GMT 2024
    - 1.1K bytes
    - Click Count (0)
  10. docs/sts/keycloak.md

    These credentials can now be used to perform MinIO API operations.
    
    ### Using MinIO Console
    
    - Open MinIO URL on the browser, lets say <http://localhost:9000/>
    - Click on `Login with SSO`
    - User will be redirected to the Keycloak user login page, upon successful login the user will be redirected to MinIO page and logged in automatically,
      the user should see now the buckets and objects they have access to.
    
    ## Explore Further
    
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Tue Aug 12 18:20:36 GMT 2025
    - 8.1K bytes
    - Click Count (0)
Back to Top