Search Options

Results per page
Sort
Preferred Languages
Advance

Results 331 - 340 of 1,264 for NONE (0.04 sec)

  1. compat/maven-settings-builder/src/main/java/org/apache/maven/settings/building/SettingsBuildingRequest.java

     */
    @Deprecated(since = "4.0.0")
    public interface SettingsBuildingRequest {
    
        /**
         * Gets the global settings file.
         *
         * @return The global settings file or {@code null} if none.
         */
        File getGlobalSettingsFile();
    
        /**
         * Sets the global settings file. A non-existent settings file is equivalent to empty settings. If both user
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6K bytes
    - Viewed (0)
  2. docs/em/docs/tutorial/body-multiple-params.md

    ## 💗 💪 = & 🔢
    
    ↗️, 👆 💪 📣 🌖 🔢 🔢 🕐❔ 👆 💪, 🌖 🙆 💪 🔢.
    
    , 🔢, ⭐ 💲 🔬 🔢 🔢, 👆 🚫 ✔️ 🎯 🚮 `Query`, 👆 💪:
    
    ```Python
    q: Union[str, None] = None
    ```
    
    ⚖️ 🐍 3️⃣.1️⃣0️⃣ & 🔛:
    
    ```Python
    q: str | None = None
    ```
    
    🖼:
    
    //// tab | 🐍 3️⃣.6️⃣ & 🔛
    
    ```Python hl_lines="27"
    {!> ../../docs_src/body_multiple_params/tutorial004.py!}
    ```
    
    ////
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 5K bytes
    - Viewed (0)
  3. tests/test_required_noneable.py

    from fastapi.testclient import TestClient
    
    app = FastAPI()
    
    
    @app.get("/query")
    def read_query(q: Union[str, None]):
        return q
    
    
    @app.get("/explicit-query")
    def read_explicit_query(q: Union[str, None] = Query()):
        return q
    
    
    @app.post("/body-embed")
    def send_body_embed(b: Union[str, None] = Body(embed=True)):
        return b
    
    
    client = TestClient(app)
    
    
    def test_required_nonable_query_invalid():
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat May 14 19:08:31 UTC 2022
    - 1.5K bytes
    - Viewed (0)
  4. docs/vi/docs/index.md

    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):
        return {"item_id": item_id, "q": q}
    
    
    @app.put("/items/{item_id}")
    def update_item(item_id: int, item: Item):
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 20 19:20:23 UTC 2024
    - 21.9K bytes
    - Viewed (0)
  5. docs/zh/docs/index.md

    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):
        return {"item_id": item_id, "q": q}
    
    
    @app.put("/items/{item_id}")
    def update_item(item_id: int, item: Item):
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 20 19:20:23 UTC 2024
    - 18.2K bytes
    - Viewed (0)
  6. tests/test_tutorial/test_bigger_applications/test_main_an.py

                        "msg": "Field required",
                        "input": None,
                    },
                    {
                        "type": "missing",
                        "loc": ["header", "x-token"],
                        "msg": "Field required",
                        "input": None,
                    },
                ]
            }
        ) | IsDict(
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Apr 18 19:40:57 UTC 2024
    - 24.6K bytes
    - Viewed (0)
  7. tests/test_tutorial/test_bigger_applications/test_main_an_py39.py

                        "msg": "Field required",
                        "input": None,
                    },
                    {
                        "type": "missing",
                        "loc": ["header", "x-token"],
                        "msg": "Field required",
                        "input": None,
                    },
                ]
            }
        ) | IsDict(
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Apr 18 19:40:57 UTC 2024
    - 24.9K bytes
    - Viewed (0)
  8. tests/test_security_oauth2_optional_description.py

        if oauth_header is None:
            return None
        user = User(username=oauth_header)
        return user
    
    
    @app.post("/login")
    def login(form_data: OAuth2PasswordRequestFormStrict = Depends()):
        return form_data
    
    
    @app.get("/users/me")
    def read_users_me(current_user: Optional[User] = Depends(get_current_user)):
        if current_user is None:
            return {"msg": "Create an account first"}
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Apr 18 19:40:57 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  9. .mailmap

    Paul Merlin <******@****.***> <******@****.***>
    Peter Niederwieser <******@****.***> <pniederw@.(none)>
    Peter Niederwieser <******@****.***> <pniederw@pniederw-PC.(none)>
    Piotr Jagielski <******@****.***> <Piotr Jagielski>
    Rene Groeschke <******@****.***> <Rene@DevWin7.(none)>
    Rene Groeschke <******@****.***> <******@****.***>
    Rene Groeschke <******@****.***> <******@****.***>
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Tue Oct 03 06:34:28 UTC 2017
    - 3.3K bytes
    - Viewed (0)
  10. ci/official/installer_wheel.sh

    # This generates a pure python wheel of the format "*-py3-none-any.whl"
    python3 tensorflow/tools/pip_package/setup.py bdist_wheel --dist-dir "$TFCI_OUTPUT_DIR"
    
    # Get the name of the pure python wheel that was built. This should
    # resolve to either
    # 1. tensorflow-a.b.c-py3-none-any.whl  or, for nightly builds,
    # 2. tf_nightly-a.b.c.devYYYYMMDD-py3-none-any.whl
    pure_python_whl=$(ls "$TFCI_OUTPUT_DIR"/*py3-none-any*)
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Thu Jul 25 17:28:01 UTC 2024
    - 3.5K bytes
    - Viewed (0)
Back to top