Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 762 for valida (0.15 sec)

  1. docs/es/docs/features.md

    * Valida **estructuras complejas**:
        * Usa modelos jerárquicos de modelos de Pydantic, `typing` de Python,  `List` y `Dict`, etc.
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 10.9K bytes
    - Viewed (0)
  2. docs/pt/docs/features.md

        * Como as estruturas de dados do Pydantic são apenas instâncias de classes que você define, a auto completação, _linting_, _mypy_ e a sua intuição devem funcionar corretamente com seus dados validados.
    * Valida **estruturas complexas**:
        * Use modelos hierárquicos do Pydantic, `List` e `Dict` do `typing` do Python, etc.
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 10.4K bytes
    - Viewed (0)
  3. tests/test_response_model_sub_types.py

    
    app = FastAPI()
    
    
    @app.get("/valid1", responses={"500": {"model": int}})
    def valid1():
        pass
    
    
    @app.get("/valid2", responses={"500": {"model": List[int]}})
    def valid2():
        pass
    
    
    @app.get("/valid3", responses={"500": {"model": Model}})
    def valid3():
        pass
    
    
    @app.get("/valid4", responses={"500": {"model": List[Model]}})
    def valid4():
        pass
    
    
    client = TestClient(app)
    
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Jun 30 18:25:16 GMT 2023
    - 5.3K bytes
    - Viewed (0)
  4. cmd/xl-storage_test.go

    			}
    		})
    	}
    }
    
    // Tests validate volume name.
    func TestIsValidVolname(t *testing.T) {
    	testCases := []struct {
    		volName    string
    		shouldPass bool
    	}{
    		// Cases which should pass the test.
    		// passing in valid bucket names.
    		{"lol", true},
    		{"1-this-is-valid", true},
    		{"1-this-too-is-valid-1", true},
    		{"this.works.too.1", true},
    		{"1234567", true},
    		{"123", true},
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 11 17:45:28 GMT 2024
    - 66.7K bytes
    - Viewed (0)
  5. docs/pt/docs/tutorial/body-nested-models.md

    ```
    
    A string será verificada para se tornar uma URL válida e documentada no esquema JSON/1OpenAPI como tal.
    
    ## Atributos como listas de submodelos
    
    Você também pode usar modelos Pydantic como subtipos de `list`, `set`, etc:
    
    ```Python hl_lines="20"
    {!../../../docs_src/body_nested_models/tutorial006.py!}
    ```
    
    Isso vai esperar(converter, validar, documentar, etc) um corpo JSON tal qual:
    
    ```JSON hl_lines="11"
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 7.4K bytes
    - Viewed (0)
  6. istioctl/pkg/validate/validate_test.go

    			valid: false,
    		},
    		{
    			name:  "port name missing service",
    			in:    portNameMissingSvc,
    			valid: false,
    		},
    		{
    			name:  "version label missing deployment",
    			in:    versionLabelMissingDeployment,
    			valid: true,
    		},
    		{
    			name:  "valid port naming service",
    			in:    validPortNamingSvc,
    			valid: true,
    		},
    		{
    			name:  "valid port naming with suffix service",
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Jul 25 08:08:36 GMT 2023
    - 21.5K bytes
    - Viewed (0)
  7. apache-maven/src/assembly/shared/validate

    Michael Osipov <******@****.***> 1640033625 +0100
    Shell Script
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Tue Dec 21 09:29:19 GMT 2021
    - 1.7K bytes
    - Viewed (0)
  8. apache-maven/src/assembly/shared/validate.cmd

    Michael Osipov <******@****.***> 1640033625 +0100
    Batch File
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Tue Dec 21 09:29:19 GMT 2021
    - 3.1K bytes
    - Viewed (0)
  9. tests/test_validate_response.py

        with pytest.raises(ResponseValidationError):
            client.get("/items/invalidnone")
    
    
    def test_valid_none_data():
        response = client.get("/items/validnone")
        data = response.json()
        assert response.status_code == 200
        assert data == {"name": "invalid", "price": 3.2, "owner_ids": None}
    
    
    def test_valid_none_none():
        response = client.get("/items/validnone", params={"send_none": "true"})
        data = response.json()
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Fri Jul 07 17:12:13 GMT 2023
    - 2K bytes
    - Viewed (0)
  10. istioctl/pkg/validate/validate.go

    		Example: `  # Validate bookinfo-gateway.yaml
      istioctl validate -f samples/bookinfo/networking/bookinfo-gateway.yaml
    
      # Validate bookinfo-gateway.yaml with shorthand syntax
      istioctl v -f samples/bookinfo/networking/bookinfo-gateway.yaml
    
      # Validate all yaml files under samples/bookinfo/networking directory
      istioctl validate -f samples/bookinfo/networking
    
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Mon Jan 22 17:58:52 GMT 2024
    - 15K bytes
    - Viewed (0)
Back to top