Search Options

Results per page
Sort
Preferred Languages
Advance

Results 531 - 540 of 2,104 for none (0.07 sec)

  1. docs/ko/docs/tutorial/response-model.md

    ## 응답 모델 인코딩 매개변수
    
    응답 모델은 아래와 같이 기본값을 가질 수 있습니다:
    
    ```Python hl_lines="11  13-14"
    {!../../docs_src/response_model/tutorial004.py!}
    ```
    
    * `description: Optional[str] = None`은 기본값으로 `None`을 갖습니다.
    * `tax: float = 10.5`는 기본값으로 `10.5`를 갖습니다.
    * `tags: List[str] = []` 빈 리스트의 기본값으로: `[]`.
    
    그러나 실제로 저장되지 않았을 경우 결과에서 값을 생략하고 싶을 수 있습니다.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 8.1K bytes
    - Viewed (0)
  2. docs/nl/docs/python-types.md

    `Optional[EenType]` is eigenlijk een snelkoppeling voor `Union[EenType, None]`, ze zijn equivalent.
    
    Dit betekent ook dat je in Python 3.10 `EenType | None` kunt gebruiken:
    
    //// tab | Python 3.10+
    
    ```Python hl_lines="1"
    {!> ../../docs_src/python_types/tutorial009_py310.py!}
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 18.3K bytes
    - Viewed (0)
  3. src/main/webapp/css/admin/adminlte.min.css.map

    (prefers-reduced-motion: reduce) {\n  .btn {\n    transition: none;\n  }\n}\n\n.btn:hover {\n  color: #212529;\n  text-decoration: none;\n}\n\n.btn:focus, .btn.focus {\n  outline: 0;\n  box-shadow: none;\n}\n\n.btn.disabled, .btn:disabled {\n  opacity: 0.65;\n  box-shadow: none;\n}\n\n.btn:not(:disabled):not(.disabled) {\n  cursor: pointer;\n}\n\n.btn:not(:disabled):not(.disabled):active, .btn:not(:disabled):not(.disabled).active {\n  box-shadow: none;\n}\n\na.btn.disabled,\nfieldset:disabled a.btn {\n  pointer-events:...
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sat Oct 26 01:49:09 UTC 2024
    - 3.7M bytes
    - Viewed (1)
  4. istioctl/pkg/tag/tag_test.go

    			if tc.error == "" && err != nil {
    				t.Fatalf("expected no error, got %v", err)
    			}
    			if tc.error != "" {
    				if err == nil {
    					t.Fatalf("expected error to include \"%s\" but got none", tc.error)
    				}
    				if !strings.Contains(err.Error(), tc.error) {
    					t.Fatalf("expected \"%s\" in error, got %v", tc.error, err)
    				}
    			}
    
    			commandOutput := out.String()
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Wed Oct 09 16:05:45 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  5. docs/en/docs/how-to/separate-openapi-schemas.md

    The way to describe this in OpenAPI, is to mark that field as **required**, because it will always be there.
    
    Because of that, the JSON Schema for a model can be different depending on if it's used for **input or output**:
    
    * for **input** the `description` will **not be required**
    * for **output** it will be **required** (and possibly `None`, or in JSON terms, `null`)
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Oct 26 16:43:54 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  6. docs_src/app_testing/app_b_an/main.py

        "bar": {"id": "bar", "title": "Bar", "description": "The bartenders"},
    }
    
    app = FastAPI()
    
    
    class Item(BaseModel):
        id: str
        title: str
        description: Union[str, None] = None
    
    
    @app.get("/items/{item_id}", response_model=Item)
    async def read_main(item_id: str, x_token: Annotated[str, Header()]):
        if x_token != fake_secret_token:
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Aug 15 22:31:16 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  7. src/cmd/asm/internal/asm/expr_test.go

    				t.Errorf("#%d: %q: expected error %q; got none", i, test.input, test.error)
    			}
    			continue
    		}
    		if !strings.Contains(err.Error(), test.error) {
    			t.Errorf("#%d: expected error %q; got %q", i, test.error, err)
    			continue
    		}
    	}
    }
    
    func runBadTest(i int, test badExprTest, t *testing.T) (err error) {
    	p := NewParser(nil, nil, nil) // Expression evaluation uses none of these fields of the parser.
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Tue Aug 29 07:48:38 UTC 2023
    - 3.2K bytes
    - Viewed (0)
  8. tests/test_openapi_examples.py

    
    @app.get("/query_examples/")
    def query_examples(
        data: Union[str, None] = Query(
            default=None,
            examples=[
                "json_schema_query1",
                "json_schema_query2",
            ],
            openapi_examples={
                "Query One": {
                    "summary": "Query One Summary",
                    "description": "Query One Description",
                    "value": "query1",
                },
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Sep 06 15:57:43 UTC 2024
    - 17.7K bytes
    - Viewed (0)
  9. docs/pt/docs/tutorial/sql-databases.md

    /// tip | Dica
    
    Fazer com que o modelo de retorno garanta que um valor esteja sempre disponível e sempre seja um `int` (não `None`) é muito útil para os clientes da API, eles podem escrever código muito mais simples com essa certeza.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 27 15:25:29 UTC 2024
    - 15.8K bytes
    - Viewed (0)
  10. dbflute_fess/dfprop/outsideSqlMap.dfprop

        # o procedureSynonymHandlingType: (NotRequired - Default NONE)
        #  You can specify the handling type of procedure synonym.
        #   NONE - No handling. (default)
        #   INCLUDE - It includes procedure synonyms.
        #   SWITCH - It switches all normal procedures to procedure synonyms.
        #
        #; procedureSynonymHandlingType = NONE
        # - - - - - - - - - -/
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sat Jul 25 06:04:16 UTC 2015
    - 8K bytes
    - Viewed (0)
Back to top