Search Options

Results per page
Sort
Preferred Languages
Advance

Results 261 - 270 of 1,375 for nine (0.02 sec)

  1. src/main/java/org/codelibs/fess/dict/kuromoji/KuromojiItem.java

                    + newToken + ", newSegmentation=" + newSegmentation + ", newReading=" + newReading + ", newPos=" + newPos + "]";
        }
    
        /**
         * Returns the item as a line string.
         *
         * @return The item as a line string.
         */
        public String toLineString() {
            final StringBuilder buf = new StringBuilder(100);
            if (isUpdated()) {
                buf.append(quoteEscape(newToken));
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 6.3K bytes
    - Viewed (0)
  2. tests/test_compat.py

        def foo(req: Model) -> dict[str, Union[str, None]]:
            return {
                "value": req.value or None,
                "embedded_value": req.embedded_model.value or None,
            }
    
        client = TestClient(app)
    
        response = client.post("/", json={})
        assert response.status_code == 200, response.text
        assert response.json() == {
            "value": None,
            "embedded_value": None,
        }
    
        response2 = client.post(
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 12:54:56 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  3. docs/es/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 Dec 28 07:19:09 UTC 2025
    - Last Modified: Tue Dec 16 16:33:45 UTC 2025
    - 24.3K bytes
    - Viewed (0)
  4. docs/pt/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 Dec 28 07:19:09 UTC 2025
    - Last Modified: Tue Dec 16 20:32:40 UTC 2025
    - 24.5K bytes
    - Viewed (0)
  5. docs/de/docs/deployment/versions.md

    Wenn Sie eine `requirements.txt`-Datei verwenden, können Sie die Version wie folgt angeben:
    
    ```txt
    fastapi[standard]==0.112.0
    ```
    
    Das würde bedeuten, dass Sie genau die Version `0.112.0` verwenden.
    
    Oder Sie können sie auch anpinnen mit:
    
    ```txt
    fastapi[standard]>=0.112.0,<0.113.0
    ```
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Sep 20 15:10:09 UTC 2025
    - 4.1K bytes
    - Viewed (0)
  6. fastapi/security/api_key.py

    from starlette.status import HTTP_401_UNAUTHORIZED
    
    
    class APIKeyBase(SecurityBase):
        def __init__(
            self,
            location: APIKeyIn,
            name: str,
            description: Union[str, None],
            scheme_name: Union[str, None],
            auto_error: bool,
        ):
            self.auto_error = auto_error
    
            self.model: APIKey = APIKey(
                **{"in": location},
                name=name,
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 21:25:59 UTC 2025
    - 9.6K bytes
    - Viewed (1)
  7. docs_src/python_types/tutorial009_py310.py

    def say_hi(name: str | None = None):
        if name is not None:
            print(f"Hey {name}!")
        else:
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Fri Jan 07 14:11:31 UTC 2022
    - 131 bytes
    - Viewed (0)
  8. docs/de/docs/tutorial/body.md

    Das `str | None` (Python 3.10+) oder `Union` in `Union[str, None]` (Python 3.9+) wird von FastAPI nicht verwendet, um zu bestimmen, dass der Wert nicht erforderlich ist. FastAPI weiß, dass er nicht erforderlich ist, weil er einen Defaultwert von `= None` hat.
    
    Das Hinzufügen der Typannotationen ermöglicht jedoch Ihrem Editor, Ihnen eine bessere Unterstützung zu bieten und Fehler zu erkennen.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 24 10:28:19 UTC 2025
    - 7.9K bytes
    - Viewed (0)
  9. docs_src/security/tutorial003_py310.py

        return "fakehashed" + password
    
    
    oauth2_scheme = OAuth2PasswordBearer(tokenUrl="token")
    
    
    class User(BaseModel):
        username: str
        email: str | None = None
        full_name: str | None = None
        disabled: bool | None = None
    
    
    class UserInDB(User):
        hashed_password: str
    
    
    def get_user(db, username: str):
        if username in db:
            user_dict = db[username]
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Mon Nov 24 19:03:06 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  10. tests/test_tutorial/test_body/test_tutorial001.py

            "price": 50.5,
            "description": None,
            "tax": None,
        }
    
    
    def test_post_with_str_float(client: TestClient):
        response = client.post("/items/", json={"name": "Foo", "price": "50.5"})
        assert response.status_code == 200
        assert response.json() == {
            "name": "Foo",
            "price": 50.5,
            "description": None,
            "tax": None,
        }
    
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 18:19:10 UTC 2025
    - 10.6K bytes
    - Viewed (0)
Back to top