Search Options

Results per page
Sort
Preferred Languages
Advance

Results 481 - 490 of 2,146 for none (0.64 sec)

  1. tests/test_stringified_annotation_dependency.py

    
    class DummyClient:
        async def get_people(self) -> list:
            return ["John Doe", "Jane Doe"]
    
        async def close(self) -> None:
            pass
    
    
    async def get_client() -> AsyncGenerator[DummyClient, None]:
        client = DummyClient()
        yield client
        await client.close()
    
    
    Client = Annotated[DummyClient, Depends(get_client)]
    
    
    @pytest.fixture(name="client")
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 21:25:59 UTC 2025
    - 2.2K bytes
    - Viewed (0)
  2. 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 Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 20 15:55:38 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  3. docs/en/docs/css/custom.css

      justify-content: space-between;
      flex-wrap: wrap;
      align-items: center;
    }
    
    .announce-wrapper #announce-left div.item {
      display: none;
    }
    
    .announce-wrapper #announce-right {
      display: none;
    }
    
    .announce-wrapper #announce-right div.item {
      display: none;
    }
    
    .announce-wrapper .sponsor-badge {
      display: block;
      position: absolute;
      top: -10px;
      right: 0;
      font-size: 0.5rem;
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Fri Nov 28 15:55:15 UTC 2025
    - 3.7K bytes
    - Viewed (0)
  4. docs/de/docs/tutorial/response-model.md

    Ihr Responsemodell könnte Defaultwerte haben, wie:
    
    {* ../../docs_src/response_model/tutorial004_py310.py hl[9,11:12] *}
    
    * `description: Union[str, None] = None` (oder `str | None = None` in Python 3.10) hat einen Defaultwert `None`.
    * `tax: float = 10.5` hat einen Defaultwert `10.5`.
    * `tags: List[str] = []` hat eine leere Liste als Defaultwert: `[]`.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 24 10:28:19 UTC 2025
    - 17.5K bytes
    - Viewed (0)
  5. docs/pt/docs/tutorial/query-params.md

    ## Parâmetros opcionais { #optional-parameters }
    
    Da mesma forma, você pode declarar parâmetros de consulta opcionais, definindo o valor padrão para `None`:
    
    {* ../../docs_src/query_params/tutorial002_py310.py hl[7] *}
    
    Nesse caso, o parâmetro da função `q` será opcional, e `None` será o padrão.
    
    /// check | Verifique
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 5K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/smb2/rdma/RdmaProviderFactory.java

         * @return RDMA provider instance, or null if none available
         */
        public static RdmaProvider getProvider(Configuration config) {
            String preference = config.getRdmaProvider();
            return createProvider(preference != null ? preference : "auto");
        }
    
        /**
         * Select the best available RDMA provider
         *
         * @return best RDMA provider, or null if none available
         */
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 24 00:12:28 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  7. tests/test_tutorial/test_body/test_tutorial003.py

        )
        assert response.status_code == 200
        assert response.json() == {
            "item_id": 123,
            "name": "Foo",
            "price": 50.1,
            "description": None,
            "tax": None,
        }
    
    
    def test_put_with_no_data(client: TestClient):
        response = client.put("/items/123", json={})
        assert response.status_code == 422
        assert response.json() == {
            "detail": [
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Fri Dec 26 10:43:02 UTC 2025
    - 5.5K bytes
    - Viewed (0)
  8. docs_src/query_params_str_validations/tutorial011_an_py310.py

    from typing import Annotated
    
    from fastapi import FastAPI, Query
    
    app = FastAPI()
    
    
    @app.get("/items/")
    async def read_items(q: Annotated[list[str] | None, Query()] = None):
        query_items = {"q": q}
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Mar 18 12:29:59 UTC 2023
    - 224 bytes
    - Viewed (0)
  9. docs_src/query_params_str_validations/tutorial014_py39.py

    from typing import Union
    
    from fastapi import FastAPI, Query
    
    app = FastAPI()
    
    
    @app.get("/items/")
    async def read_items(
        hidden_query: Union[str, None] = Query(default=None, include_in_schema=False),
    ):
        if hidden_query:
            return {"hidden_query": hidden_query}
        else:
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 330 bytes
    - Viewed (0)
  10. src/main/webapp/css/bootstrap.min.css.map

    all !important;\n}\n\n.user-select-auto {\n  -webkit-user-select: auto !important;\n  -moz-user-select: auto !important;\n  user-select: auto !important;\n}\n\n.user-select-none {\n  -webkit-user-select: none !important;\n  -moz-user-select: none !important;\n  user-select: none !important;\n}\n\n.pe-none {\n  pointer-events: none !important;\n}\n\n.pe-auto {\n  pointer-events: auto !important;\n}\n\n.rounded {\n  border-radius: var(--bs-border-radius) !important;\n}\n\n.rounded-0 {\n  border-radius:...
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Sun Jan 12 06:14:02 UTC 2025
    - 575.5K bytes
    - Viewed (0)
Back to top