Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 35 for YAML (0.01 seconds)

  1. .teamcity/jdks.yaml

    bot-gradle <******@****.***> 1762783320 +0000
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Mon Nov 10 14:02:00 GMT 2025
    - 5.5K bytes
    - Click Count (1)
  2. .pre-commit-config.yaml

    repos:
      - repo: https://github.com/pre-commit/pre-commit-hooks
        rev: v6.0.0
        hooks:
          - id: check-added-large-files
            args: ['--maxkb=750']
          - id: check-toml
          - id: check-yaml
            args:
            - --unsafe
          - id: end-of-file-fixer
          - id: trailing-whitespace
    
      - repo: local
        hooks:
          - id: local-ruff-check
            name: ruff check
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Fri Dec 26 11:36:58 GMT 2025
    - 1.8K bytes
    - Click Count (1)
  3. docs_src/path_operation_advanced_configuration/tutorial007_pv1_py39.py

        raw_body = await request.body()
        try:
            data = yaml.safe_load(raw_body)
        except yaml.YAMLError:
            raise HTTPException(status_code=422, detail="Invalid YAML")
        try:
            item = Item.parse_obj(data)
        except ValidationError as e:
            raise HTTPException(status_code=422, detail=e.errors())
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 20 15:55:38 GMT 2025
    - 767 bytes
    - Click Count (0)
  4. docs_src/path_operation_advanced_configuration/tutorial007_py39.py

        raw_body = await request.body()
        try:
            data = yaml.safe_load(raw_body)
        except yaml.YAMLError:
            raise HTTPException(status_code=422, detail="Invalid YAML")
        try:
            item = Item.model_validate(data)
        except ValidationError as e:
            raise HTTPException(status_code=422, detail=e.errors(include_url=False))
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 10 08:55:32 GMT 2025
    - 797 bytes
    - Click Count (0)
  5. .github/workflows/update-jdks.yml

              sed -n '/^version:/,$p' .teamcity/jdks.yaml >> .teamcity/jdks.yaml.tmp
              mv .teamcity/jdks.yaml.tmp .teamcity/jdks.yaml
          - name: Create Pull Request
            id: create-pull-request
            uses: peter-evans/create-pull-request@v8
            with:
              signoff: true
              sign-commits: true
              commit-message: "Update jdks.yaml"
              add-paths: .teamcity/jdks.yaml
              title: "Update jdks.yaml"
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Tue Dec 09 22:14:16 GMT 2025
    - 2.1K bytes
    - Click Count (0)
  6. docs/es/docs/advanced/path-operation-advanced-configuration.md

    Luego usamos el request directamente, y extraemos el cuerpo como `bytes`. Esto significa que FastAPI ni siquiera intentará parsear la carga útil del request como JSON.
    
    Y luego en nuestro código, parseamos ese contenido YAML directamente, y nuevamente estamos usando el mismo modelo Pydantic para validar el contenido YAML:
    
    //// tab | Pydantic v2
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 8.3K bytes
    - Click Count (0)
  7. docs/pt/docs/advanced/path-operation-advanced-configuration.md

    Então utilizamos a requisição diretamente, e extraímos o corpo como `bytes`. Isso significa que o FastAPI não vai sequer tentar analisar o corpo da requisição como JSON.
    
    E então no nosso código, nós analisamos o conteúdo YAML diretamente, e estamos utilizando o mesmo modelo Pydantic para validar o conteúdo YAML:
    
    //// tab | Pydantic v2
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 8.7K bytes
    - Click Count (0)
  8. docs/orchestration/docker-compose/README.md

    ## 2. Run Distributed MinIO on Docker Compose
    
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Wed Oct 15 17:29:55 GMT 2025
    - 3.3K bytes
    - Click Count (0)
  9. tests/test_tutorial/test_path_operation_advanced_configurations/test_tutorial007.py

            x - x-men
            x - x-avengers
            """
        response = client.post("/items/", content=yaml_data)
        assert response.status_code == 422, response.text
        assert response.json() == {"detail": "Invalid YAML"}
    
    
    def test_post_invalid(client: TestClient):
        yaml_data = """
            name: Deadpoolio
            tags:
            - x-force
            - x-men
            - x-avengers
            - sneaky: object
            """
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 20 15:55:38 GMT 2025
    - 3.4K bytes
    - Click Count (0)
  10. .github/labeler.yml

            - '!pyproject.toml'
    
    internal:
      - all:
        - changed-files:
          - any-glob-to-any-file:
            - .github/**
            - scripts/**
            - .gitignore
            - .pre-commit-config.yaml
            - pdm_build.py
            - requirements*.txt
            - docs/en/data/sponsors.yml
            - docs/en/overrides/main.html
          - all-globs-to-all-files:
            - '!docs/*/docs/**'
            - '!fastapi/**'
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sun Nov 23 20:10:04 GMT 2025
    - 921 bytes
    - Click Count (0)
Back to Top