Search Options

Results per page
Sort
Preferred Languages
Advance

Results 661 - 670 of 729 for BOOL (0.03 sec)

  1. docs/tr/docs/index.md

    from typing import Union
    
    from fastapi import FastAPI
    from pydantic import BaseModel
    
    app = FastAPI()
    
    
    class Item(BaseModel):
        name: str
        price: float
        is_offer: Union[bool, None] = None
    
    
    @app.get("/")
    def read_root():
        return {"Hello": "World"}
    
    
    @app.get("/items/{item_id}")
    def read_item(item_id: int, q: Union[str, None] = None):
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Oct 11 17:48:49 UTC 2025
    - 21.9K bytes
    - Viewed (0)
  2. docs/en/docs/tutorial/path-params.md

    You can use the same type declarations with `str`, `float`, `bool` and many other complex data types.
    
    Several of these are explored in the next chapters of the tutorial.
    
    ## Order matters { #order-matters }
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 9.2K bytes
    - Viewed (0)
  3. docs/es/docs/tutorial/path-params.md

    Puedes usar las mismas declaraciones de tipo con `str`, `float`, `bool` y muchos otros tipos de datos complejos.
    
    Varios de estos se exploran en los siguientes capítulos del tutorial.
    
    ## El orden importa { #order-matters }
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 9.8K bytes
    - Viewed (0)
  4. cmd/admin-handlers-pools.go

    	globalNotificationSys.LoadRebalanceMeta(ctx, false)
    }
    
    func proxyDecommissionRequest(ctx context.Context, defaultEndPoint Endpoint, w http.ResponseWriter, r *http.Request) (proxy bool) {
    	host := env.Get("_MINIO_DECOM_ENDPOINT_HOST", defaultEndPoint.Host)
    	if host == "" {
    		return proxy
    	}
    	for nodeIdx, proxyEp := range globalProxyEndpoints {
    		if proxyEp.Host == host && !proxyEp.IsLocal {
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Sun Sep 28 20:59:21 UTC 2025
    - 11.1K bytes
    - Viewed (0)
  5. cmd/metacache-entries_test.go

    	}
    }
    
    func Test_metaCacheEntry_isInDir(t *testing.T) {
    	tests := []struct {
    		testName string
    		entry    string
    		dir      string
    		sep      string
    		want     bool
    	}{
    		{
    			testName: "basic-file",
    			entry:    "src/file",
    			dir:      "src/",
    			sep:      slashSeparator,
    			want:     true,
    		},
    		{
    			testName: "basic-dir",
    			entry:    "src/dir/",
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 31.6K bytes
    - Viewed (0)
  6. docs/tr/docs/tutorial/path-params.md

    Aynı tip tanımlamalarını `str`, `float`, `bool` ve diğer karmaşık veri tipleri ile kullanma imkanınız vardır.
    
    Bunlardan birkaçı, bu eğitimin ileriki bölümlerinde irdelenmiştir.
    
    ## Sıralama Önem Arz Eder
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sun Aug 31 10:29:01 UTC 2025
    - 10.5K bytes
    - Viewed (0)
  7. docs/uk/docs/tutorial/path-params.md

    Ви можете використовувати ті самі оголошення типів з  `str`, `float`, `bool` та багатьма іншими складними типами даних.
    
    Декілька з них будуть розглянуті в наступних розділах посібника.
    
    ## Порядок має значення
    
    При створенні *операцій шляху* можуть виникати ситуації, коли шлях фіксований.
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sun Aug 31 10:29:01 UTC 2025
    - 14.1K bytes
    - Viewed (0)
  8. tests/test_openapi_separate_input_output_schemas.py

    class WithComputedField(BaseModel):
        name: str
    
        @computed_field
        @property
        def computed_field(self) -> str:
            return f"computed {self.name}"
    
    
    def get_app_client(separate_input_output_schemas: bool = True) -> TestClient:
        app = FastAPI(separate_input_output_schemas=separate_input_output_schemas)
    
        @app.post("/items/", responses={402: {"model": Item}})
        def create_item(item: Item) -> Item:
            return item
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 20 15:55:38 UTC 2025
    - 26.6K bytes
    - Viewed (0)
  9. docs/ko/docs/tutorial/body.md

    **FastAPI**는 각각을 인지하고 데이터를 옳바른 위치에 가져올 것입니다.
    
    {* ../../docs_src/body/tutorial004_py310.py hl[16] *}
    
    함수 매개변수는 다음을 따라서 인지하게 됩니다:
    
    * 만약 매개변수가 **경로**에도 선언되어 있다면, 이는 경로 매개변수로 사용될 것입니다.
    * 만약 매개변수가 (`int`, `float`, `str`, `bool` 등과 같은) **유일한 타입**으로 되어있으면, **쿼리** 매개변수로 해석될 것입니다.
    * 만약 매개변수가 **Pydantic 모델** 타입으로 선언되어 있으면, 요청 **본문**으로 해석될 것입니다.
    
    /// note | 참고
    
    FastAPI는 `q`의 값이 필요없음을 알게 될 것입니다. 기본 값이 `= None`이기 때문입니다.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  10. finisher_api.go

    		// e.g. mysql8.0 doc: https://dev.mysql.com/doc/refman/8.0/en/sql-prepared-statements.html
    		var (
    			preparedStmtTx   *PreparedStmtTX
    			isPreparedStmtTx bool
    		)
    		// close prepared statement, because SavePoint not support prepared statement.
    		if preparedStmtTx, isPreparedStmtTx = db.Statement.ConnPool.(*PreparedStmtTX); isPreparedStmtTx {
    Registered: Sun Dec 28 09:35:17 UTC 2025
    - Last Modified: Fri Sep 19 01:49:06 UTC 2025
    - 22.9K bytes
    - Viewed (0)
Back to top