Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 171 - 180 of 268 for pyyaml (0.04 seconds)

  1. helm/minio/README.md

    ```bash
    helm get values my-release > old_values.yaml
    ```
    
    Then change the field `image.tag` in `old_values.yaml` file with MinIO image tag you want to use. Now update the chart using
    
    ```bash
    helm upgrade -f old_values.yaml my-release minio/minio
    ```
    
    Default upgrade strategies are specified in the `values.yaml` file. Update these fields if you'd like to use a different strategy.
    
    ### Configuration
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Tue Aug 12 18:20:36 GMT 2025
    - 10.9K bytes
    - Click Count (0)
  2. cmd/server-main_test.go

    	}{
    		{
    			config:      "testdata/config/1.yaml",
    			expectedErr: false,
    			hash:        "hash:02bf70285dc71f76",
    		},
    		{
    			config:      "testdata/config/2.yaml",
    			expectedErr: false,
    			hash:        "hash:676d2da00f71f205",
    		},
    		{
    			config:      "testdata/config/invalid.yaml",
    			expectedErr: true,
    		},
    		{
    			config:      "testdata/config/invalid-types.yaml",
    			expectedErr: true,
    		},
    		{
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 3.1K bytes
    - Click Count (0)
  3. cmd/batch-expire_test.go

        delay: 500ms # least amount of delay between each retry
    `
    	var job BatchJobRequest
    	err := yaml.Unmarshal([]byte(expireYaml), &job)
    	if err != nil {
    		t.Fatal("Failed to parse batch-job-expire yaml", err)
    	}
    	if !slices.Equal(job.Expire.Prefix.F(), []string{"myprefix"}) {
    		t.Fatal("Failed to parse batch-job-expire yaml")
    	}
    
    	multiPrefixExpireYaml := `
    expire: # Expire objects that match a condition
      apiVersion: v1
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Thu Aug 01 12:53:30 GMT 2024
    - 5.5K bytes
    - Click Count (0)
  4. 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)
  5. 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)
  6. 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)
  7. docs/de/docs/advanced/path-operation-advanced-configuration.md

    {* ../../docs_src/path_operation_advanced_configuration/tutorial007_py39.py hl[15:20, 22] *}
    
    Obwohl wir nicht die standardmäßig integrierte Funktionalität verwenden, verwenden wir dennoch ein Pydantic-Modell, um das JSON-Schema für die Daten, die wir in YAML empfangen möchten, manuell zu generieren.
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 24 10:28:19 GMT 2025
    - 8.3K bytes
    - Click Count (0)
  8. docs/fr/docs/advanced/path-operation-advanced-configuration.md

    {* ../../docs_src/path_operation_advanced_configuration/tutorial007.py hl[17:22,24] *}
    
    Néanmoins, bien que nous n'utilisions pas la fonctionnalité par défaut, nous utilisons toujours un modèle Pydantic pour générer manuellement le schéma JSON pour les données que nous souhaitons recevoir en YAML.
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Nov 09 16:39:20 GMT 2024
    - 7.8K bytes
    - Click Count (0)
  9. 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)
  10. scripts/topic_repos.py

    import logging
    import secrets
    import subprocess
    from pathlib import Path
    
    import yaml
    from github import Github
    from pydantic import BaseModel, SecretStr
    from pydantic_settings import BaseSettings
    
    
    class Settings(BaseSettings):
        github_repository: str
        github_token: SecretStr
    
    
    class Repo(BaseModel):
        name: str
        html_url: str
        stars: int
        owner_login: str
        owner_html_url: str
    
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Tue Dec 16 12:34:01 GMT 2025
    - 2.7K bytes
    - Click Count (0)
Back to Top