Search Options

Results per page
Sort
Preferred Languages
Advance

Results 281 - 290 of 533 for tabs (0.45 sec)

  1. docs_src/response_model/tutorial001_py39.py

    from fastapi import FastAPI
    from pydantic import BaseModel
    
    app = FastAPI()
    
    
    class Item(BaseModel):
        name: str
        description: Union[str, None] = None
        price: float
        tax: Union[float, None] = None
        tags: list[str] = []
    
    
    @app.post("/items/", response_model=Item)
    async def create_item(item: Item) -> Any:
        return item
    
    
    @app.get("/items/", response_model=list[Item])
    async def read_items() -> Any:
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Jan 07 13:45:48 UTC 2023
    - 556 bytes
    - Viewed (0)
  2. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/RealCall.kt

      override fun <T> tag(type: Class<out T>): T? = tag(type.kotlin)
    
      override fun <T : Any> tag(
        type: KClass<T>,
        computeIfAbsent: () -> T,
      ): T = tags.computeIfAbsent(type, computeIfAbsent)
    
      override fun <T : Any> tag(
        type: Class<T>,
        computeIfAbsent: () -> T,
      ): T = tags.computeIfAbsent(type.kotlin, computeIfAbsent)
    
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed Nov 05 18:28:35 UTC 2025
    - 19.7K bytes
    - Viewed (0)
  3. okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/BasicDerAdapter.kt

      /** The tag class this adapter expects, or -1 to match any tag class. */
      val tagClass: Int,
      /** The tag this adapter expects, or -1 to match any tag. */
      val tag: Long,
      /** Encode and decode the value once tags are handled. */
      private val codec: Codec<T>,
      /** True if the default value should be used if this value is absent during decoding. */
      val isOptional: Boolean = false,
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/suggest/index/SuggestIndexer.java

         * @param fields The fields.
         * @param tags The tags.
         * @param roles The roles.
         * @param num The number.
         * @param langs The languages.
         * @return The SuggestIndexResponse.
         */
        public SuggestIndexResponse indexFromSearchWord(final String searchWord, final String[] fields, final String[] tags,
                final String[] roles, final int num, final String[] langs) {
    Registered: Sat Dec 20 13:04:59 UTC 2025
    - Last Modified: Mon Nov 24 03:40:05 UTC 2025
    - 34.4K bytes
    - Viewed (0)
  5. docs/ko/docs/tutorial/response-model.md

    ID가 `baz`인 항목(items)처럼 기본값과 동일한 값을 갖는다면:
    
    ```Python hl_lines="3  5-6"
    {
        "name": "Baz",
        "description": None,
        "price": 50.2,
        "tax": 10.5,
        "tags": []
    }
    ```
    
    `description`, `tax` 그리고 `tags`가 기본값과 같더라도 (기본값에서 가져오는 대신) 값들이 명시적으로 설정되었다는 것을 인지할 정도로 FastAPI는 충분히 똑똑합니다(사실, Pydantic이 충분히 똑똑합니다).
    
    따라서 JSON 스키마에 포함됩니다.
    
    /// tip | 팁
    
    `None` 뿐만 아니라 다른 어떤 것도 기본값이 될 수 있습니다.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  6. docs/ja/docs/virtual-environments.md

    そのプロジェクトの作業で**新しいターミナルセッション**を開始する際には、**毎回**有効化が必要です。
    
    ///
    
    //// tab | Linux, macOS
    
    <div class="termy">
    
    ```console
    $ source .venv/bin/activate
    ```
    
    </div>
    
    ////
    
    //// tab | Windows PowerShell
    
    <div class="termy">
    
    ```console
    $ .venv\Scripts\Activate.ps1
    ```
    
    </div>
    
    ////
    
    //// tab | Windows Bash
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Mar 19 12:22:33 UTC 2025
    - 27.8K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/html/HtmlEscapersTest.java

        assertEquals("test &lt;&lt; 1", htmlEscaper().escape("test << 1"));
        assertEquals("test &gt;&gt; 1", htmlEscaper().escape("test >> 1"));
        assertEquals("&lt;tab&gt;", htmlEscaper().escape("<tab>"));
    
        // Test simple escape of '&'.
        assertEquals("foo&amp;bar", htmlEscaper().escape("foo&bar"));
    
        // If the string contains no escapes, it should return the arg.
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Fri Dec 05 22:03:28 UTC 2025
    - 2.3K bytes
    - Viewed (0)
  8. docs_src/path_operation_advanced_configuration/tutorial007_pv1_py39.py

    import yaml
    from fastapi import FastAPI, HTTPException, Request
    from pydantic.v1 import BaseModel, ValidationError
    
    app = FastAPI()
    
    
    class Item(BaseModel):
        name: str
        tags: list[str]
    
    
    @app.post(
        "/items/",
        openapi_extra={
            "requestBody": {
                "content": {"application/x-yaml": {"schema": Item.schema()}},
                "required": True,
            },
        },
    )
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 20 15:55:38 UTC 2025
    - 767 bytes
    - Viewed (0)
  9. docs_src/path_operation_advanced_configuration/tutorial007_py39.py

    import yaml
    from fastapi import FastAPI, HTTPException, Request
    from pydantic import BaseModel, ValidationError
    
    app = FastAPI()
    
    
    class Item(BaseModel):
        name: str
        tags: list[str]
    
    
    @app.post(
        "/items/",
        openapi_extra={
            "requestBody": {
                "content": {"application/x-yaml": {"schema": Item.model_json_schema()}},
                "required": True,
            },
        },
    )
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 10 08:55:32 UTC 2025
    - 797 bytes
    - Viewed (0)
  10. internal/bucket/lifecycle/lifecycle_test.go

    		hasRules bool
    	}{
    		{ // Delete marker shouldn't match filter without tags
    			lc: Lifecycle{
    				Rules: []Rule{
    					rules[0],
    				},
    			},
    			opts: ObjectOpts{
    				DeleteMarker: true,
    				IsLatest:     true,
    				Name:         "obj-1",
    			},
    			hasRules: false,
    		},
    		{ // PUT version with no matching tags
    			lc: Lifecycle{
    				Rules: []Rule{
    					rules[0],
    				},
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 55.5K bytes
    - Viewed (0)
Back to top