Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 961 - 970 of 3,701 for Done (0.02 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. docs/ko/llm-prompt.md

    ### Target language
    
    Translate to Korean (한국어).
    
    Language code: ko.
    
    ### Grammar and tone
    
    - Use polite, instructional Korean (e.g. 합니다/하세요 style).
    - Keep the tone consistent with the existing Korean FastAPI docs.
    - Do not translate “You” literally as “당신”. Use “여러분” where appropriate, or omit the subject if it sounds more natural in Korean.
    
    ### Headings
    
    - Follow existing Korean heading style (short, action-oriented headings like “확인하기”).
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sat Jan 24 21:17:54 GMT 2026
    - 1.7K bytes
    - Click Count (0)
  2. docs/zh/docs/index.md

    app = FastAPI()
    
    
    class Item(BaseModel):
        name: str
        price: float
        is_offer: bool | None = None
    
    
    @app.get("/")
    def read_root():
        return {"Hello": "World"}
    
    
    @app.get("/items/{item_id}")
    def read_item(item_id: int, q: str | None = None):
        return {"item_id": item_id, "q": q}
    
    
    @app.put("/items/{item_id}")
    def update_item(item_id: int, item: Item):
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:06:37 GMT 2026
    - 20.7K bytes
    - Click Count (0)
  3. guava/src/com/google/common/collect/Iterables.java

      /**
       * Determines if the given iterable contains no elements.
       *
       * <p>There is no precise {@link Iterator} equivalent to this method, since one can only ask an
       * iterator whether it has any elements <i>remaining</i> (which one does using {@link
       * Iterator#hasNext}).
       *
       * <p><b>{@code Stream} equivalent:</b> {@code !stream.findAny().isPresent()}
       *
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Mar 08 16:16:42 GMT 2026
    - 43.6K bytes
    - Click Count (0)
  4. tests/test_tutorial/test_body_nested_models/test_tutorial007.py

        assert response.json() == {
            "name": "Special Offer",
            "description": None,
            "price": 38.6,
            "items": [
                {
                    "name": "Foo",
                    "description": None,
                    "price": 35.4,
                    "tax": None,
                    "tags": [],
                    "images": [
                        {
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Feb 12 13:19:43 GMT 2026
    - 11.6K bytes
    - Click Count (0)
  5. docs/zh/docs/tutorial/body.md

    * 如果该参数也在**路径**中声明了,它就是路径参数。
    * 如果该参数是(`int`、`float`、`str`、`bool` 等)**单一类型**,它会被当作**查询**参数。
    * 如果该参数的类型声明为 **Pydantic 模型**,它会被当作请求**体**。
    
    /// note | 注意
    
    FastAPI 会根据默认值 `= None` 知道 `q` 的值不是必填的。
    
    `str | None` 并不是 FastAPI 用来判断是否必填的依据;是否必填由是否有默认值 `= None` 决定。
    
    但添加这些类型注解可以让你的编辑器提供更好的支持并检测错误。
    
    ///
    
    ## 不使用 Pydantic { #without-pydantic }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:06:37 GMT 2026
    - 5.9K bytes
    - Click Count (0)
  6. tests/test_request_params/test_header/test_list.py

            "detail": [
                {
                    "type": "missing",
                    "loc": ["header", "p_alias"],
                    "msg": "Field required",
                    "input": IsOneOf(None, IsPartialDict({"p": ["hello", "world"]})),
                }
            ]
        }
    
    
    @pytest.mark.parametrize(
        "path",
        [
            "/required-list-alias",
            "/model-required-list-alias",
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Feb 08 10:18:38 GMT 2026
    - 11.3K bytes
    - Click Count (0)
  7. tests/postgres_test.go

    		t.Skip()
    	}
    
    	type Yasuo struct {
    		ID        string `gorm:"default:gen_random_uuid()"`
    		Name      string
    		CreatedAt time.Time `gorm:"type:TIMESTAMP WITHOUT TIME ZONE"`
    		UpdatedAt time.Time `gorm:"type:TIMESTAMP WITHOUT TIME ZONE;default:current_timestamp"`
    	}
    
    	if err := DB.Exec("CREATE EXTENSION IF NOT EXISTS pgcrypto;").Error; err != nil {
    		t.Errorf("Failed to create extension pgcrypto, got error %v", err)
    	}
    
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Sat Oct 08 09:16:32 GMT 2022
    - 6.4K bytes
    - Click Count (0)
  8. src/main/webapp/WEB-INF/orig/view/chat/chat.jsp

    								<i class="fa fa-filter" aria-hidden="true"></i>
    								<la:message key="labels.chat_filter" />
    								<span id="filterBadge" class="badge rounded-pill bg-primary d-none">0</span>
    							</button>
    							<button type="button" id="newChatBtn" class="btn btn-outline-secondary btn-sm" aria-label="<la:message key="labels.chat_new_chat" />">
    								<i class="fa fa-plus" aria-hidden="true"></i>
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Mar 15 06:21:57 GMT 2026
    - 10.4K bytes
    - Click Count (0)
  9. tests/test_tutorial/test_body_nested_models/test_tutorial005.py

        assert response.json() == {
            "item_id": 5,
            "item": {
                "name": "Foo",
                "description": None,
                "price": 35.4,
                "tax": None,
                "tags": [],
                "image": None,
            },
        }
    
    
    def test_put_empty_body(client: TestClient):
        response = client.put(
            "/items/5",
            json={},
        )
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Feb 12 13:19:43 GMT 2026
    - 10.3K bytes
    - Click Count (0)
  10. docs/zh-hant/docs/index.md

    app = FastAPI()
    
    
    class Item(BaseModel):
        name: str
        price: float
        is_offer: bool | None = None
    
    
    @app.get("/")
    def read_root():
        return {"Hello": "World"}
    
    
    @app.get("/items/{item_id}")
    def read_item(item_id: int, q: str | None = None):
        return {"item_id": item_id, "q": q}
    
    
    @app.put("/items/{item_id}")
    def update_item(item_id: int, item: Item):
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:05:38 GMT 2026
    - 20.8K bytes
    - Click Count (0)
Back to Top