Search Options

Results per page
Sort
Preferred Languages
Advance

Results 191 - 200 of 1,034 for defaulted (0.11 sec)

  1. tests/test_schema_extra_examples.py

            def query_example(
                data: Union[str, None] = Query(
                    default=None,
                    example="query1",
                ),
            ):
                return data
    
        @app.get("/query_examples/")
        def query_examples(
            data: Union[str, None] = Query(
                default=None,
                examples=["query1", "query2"],
            ),
        ):
            return data
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Oct 24 20:26:06 UTC 2023
    - 37.7K bytes
    - Viewed (0)
  2. okcurl/src/main/kotlin/okhttp3/curl/Main.kt

      val connectTimeout: Int by option(
        "--connect-timeout",
        help = "Maximum time allowed for connection (seconds)",
      ).int().default(DEFAULT_TIMEOUT)
    
      val readTimeout: Int by option("--read-timeout", help = "Maximum time allowed for reading data (seconds)").int().default(DEFAULT_TIMEOUT)
    
      val callTimeout: Int by option(
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  3. docs_src/schema_extra_example/tutorial002.py

    from pydantic import BaseModel, Field
    
    app = FastAPI()
    
    
    class Item(BaseModel):
        name: str = Field(examples=["Foo"])
        description: Union[str, None] = Field(default=None, examples=["A very nice Item"])
        price: float = Field(examples=[35.4])
        tax: Union[float, None] = Field(default=None, examples=[3.2])
    
    
    @app.put("/items/{item_id}")
    async def update_item(item_id: int, item: Item):
        results = {"item_id": item_id, "item": item}
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jun 30 18:25:16 UTC 2023
    - 517 bytes
    - Viewed (0)
  4. docs/sts/dex.yaml

      logger:
        level: "debug"
        format: "text" # can also be "json"
    
    # Default values shown below
    oauth2:
      # use ["code", "token", "id_token"] to enable implicit flow for web-only clients
      responseTypes: [ "code", "token", "id_token" ] # also allowed are "token" and "id_token"
      # By default, Dex will ask for approval to share data with application
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Jul 15 11:55:55 UTC 2020
    - 2.7K bytes
    - Viewed (0)
  5. src/packaging/common/packaging.properties

    #
    # Properties defined here can be overridden with specific settings,
    # like in rpm/packaging.properties and deb/packaging.properties.
    
    # Environment file
    packaging.env.file=
    
    # Default configuration directory and file to use in bin/plugin script
    
    # Default values for min/max heap memory allocated to fess java process
    packaging.fess.heap.min=256m
    packaging.fess.heap.max=1g
    
    # Specifies the maximum file descriptor number
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Dec 10 01:24:02 UTC 2015
    - 797 bytes
    - Viewed (0)
  6. src/packaging/rpm/init.d/fess

    # description: Starts and stops a single fess instance on this system 
    #
    
    ### BEGIN INIT INFO
    # Provides: Fess
    # Required-Start: $network $named
    # Required-Stop: $network $named
    # Default-Start: 2 3 4 5
    # Default-Stop: 0 1 6
    # Short-Description: This service manages the fess daemon
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sun Jan 15 06:32:15 UTC 2023
    - 3.7K bytes
    - Viewed (0)
  7. api/maven-api-spi/src/main/java/org/apache/maven/api/spi/ModelTransformer.java

         *
         * @param model the input model
         * @return the transformed model, or the input model if no transformation is needed
         * @throws ModelTransformerException
         */
        @Nonnull
        default Model transformFileModel(@Nonnull Model model) throws ModelTransformerException {
            return model;
        }
    
        /**
         * Apply a transformation on the raw models.
         *
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Sat Sep 28 09:03:24 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  8. docs/em/docs/tutorial/query-params-str-validations.md

    ```
    
    ////
    
    👥 ✔️ ❎ 🔢 💲 `None` 🔢 ⏮️ `Query()`, 👥 💪 🔜 ⚒ 🔢 💲 ⏮️ 🔢 `Query(default=None)`, ⚫️ 🍦 🎏 🎯 ⚖ 👈 🔢 💲.
    
    :
    
    ```Python
    q: Union[str, None] = Query(default=None)
    ```
    
    ...⚒ 🔢 📦, 🎏:
    
    ```Python
    q: Union[str, None] = None
    ```
    
    & 🐍 3️⃣.1️⃣0️⃣ & 🔛:
    
    ```Python
    q: str | None = Query(default=None)
    ```
    
    ...⚒ 🔢 📦, 🎏:
    
    ```Python
    q: str | None = None
    ```
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 11.7K bytes
    - Viewed (0)
  9. docs_src/additional_status_codes/tutorial001_py310.py

    items = {"foo": {"name": "Fighters", "size": 6}, "bar": {"name": "Tenders", "size": 3}}
    
    
    @app.put("/items/{item_id}")
    async def upsert_item(
        item_id: str,
        name: str | None = Body(default=None),
        size: int | None = Body(default=None),
    ):
        if item_id in items:
            item = items[item_id]
            item["name"] = name
            item["size"] = size
            return item
        else:
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Mar 18 12:29:59 UTC 2023
    - 646 bytes
    - Viewed (0)
  10. cmd/last-minute_gen.go

    								return
    							}
    						default:
    							err = dc.Skip()
    							if err != nil {
    								err = msgp.WrapError(err, za0001, "Totals", za0002)
    								return
    							}
    						}
    					}
    				}
    			case "LastSec":
    				z[za0001].LastSec, err = dc.ReadInt64()
    				if err != nil {
    					err = msgp.WrapError(err, za0001, "LastSec")
    					return
    				}
    			default:
    				err = dc.Skip()
    				if err != nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Jul 05 21:45:49 UTC 2022
    - 17.2K bytes
    - Viewed (0)
Back to top