Search Options

Results per page
Sort
Preferred Languages
Advance

Results 401 - 410 of 1,467 for dist (0.02 sec)

  1. docs/ru/docs/tutorial/testing.md

    * Передаёте JSON в теле запроса, передав Python-объект (например: `dict`) через именованный параметр `json`.
    * Если же Вам необходимо отправить *форму с данными* вместо JSON, то используйте параметр `data` вместо `json`.
    * Для передачи *заголовков*, передайте объект `dict` через параметр `headers`.
    * Для передачи *cookies* также передайте `dict`, но через параметр `cookies`.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/dict/kuromoji/KuromojiFile.java

    import java.util.ArrayList;
    import java.util.Collections;
    import java.util.Date;
    import java.util.List;
    
    import org.codelibs.core.io.CloseableUtil;
    import org.codelibs.core.lang.StringUtil;
    import org.codelibs.curl.CurlResponse;
    import org.codelibs.fess.Constants;
    import org.codelibs.fess.dict.DictionaryException;
    import org.codelibs.fess.dict.DictionaryFile;
    import org.codelibs.fess.util.ComponentUtil;
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:11:58 UTC 2024
    - 9.7K bytes
    - Viewed (0)
  3. docs_src/body_updates/tutorial002_py310.py

    from pydantic import BaseModel
    
    app = FastAPI()
    
    
    class Item(BaseModel):
        name: str | None = None
        description: str | None = None
        price: float | None = None
        tax: float = 10.5
        tags: list[str] = []
    
    
    items = {
        "foo": {"name": "Foo", "price": 50.2},
        "bar": {"name": "Bar", "description": "The bartenders", "price": 62, "tax": 20.2},
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jan 07 14:11:31 UTC 2022
    - 1010 bytes
    - Viewed (0)
  4. docs/em/docs/tutorial/sql-databases.md

    ///
    
    /// tip
    
    ↩️ 🚶‍♀️ 🔠 🇨🇻 ❌ `Item` & 👂 🔠 1️⃣ 👫 ⚪️➡️ Pydantic *🏷*, 👥 🏭 `dict` ⏮️ Pydantic *🏷*'Ⓜ 📊 ⏮️:
    
    `item.dict()`
    
     & ⤴️ 👥 🚶‍♀️ `dict`'Ⓜ 🔑-💲 👫 🇨🇻 ❌ 🇸🇲 `Item`, ⏮️:
    
    `Item(**item.dict())`
    
     & ⤴️ 👥 🚶‍♀️ ➕ 🇨🇻 ❌ `owner_id` 👈 🚫 🚚 Pydantic *🏷*, ⏮️:
    
    `Item(**item.dict(), owner_id=user_id)`
    
    ///
    
    ## 👑 **FastAPI** 📱
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 25K bytes
    - Viewed (0)
  5. docs/em/docs/how-to/custom-request-and-route.md

    ```Python hl_lines="18-26"
    {!../../docs_src/custom_request_and_route/tutorial001.py!}
    ```
    
    /// note | "📡 ℹ"
    
    `Request` ✔️ `request.scope` 🔢, 👈 🐍 `dict` ⚗ 🗃 🔗 📨.
    
     `Request` ✔️ `request.receive`, 👈 🔢 "📨" 💪 📨.
    
     `scope` `dict` & `receive` 🔢 👯‍♂️ 🍕 🔫 🔧.
    
     & 👈 2️⃣ 👜, `scope` & `receive`, ⚫️❔ 💪 ✍ 🆕 `Request` 👐.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  6. fastapi/exceptions.py

    from typing import Any, Dict, Optional, Sequence, Type, Union
    
    from pydantic import BaseModel, create_model
    from starlette.exceptions import HTTPException as StarletteHTTPException
    from starlette.exceptions import WebSocketException as StarletteWebSocketException
    from typing_extensions import Annotated, Doc
    
    
    class HTTPException(StarletteHTTPException):
        """
        An HTTP exception you can raise in your own code to show errors to the client.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Apr 02 02:48:51 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  7. docs_src/body_updates/tutorial002.py

    from typing import List, Union
    
    from fastapi import FastAPI
    from fastapi.encoders import jsonable_encoder
    from pydantic import BaseModel
    
    app = FastAPI()
    
    
    class Item(BaseModel):
        name: Union[str, None] = None
        description: Union[str, None] = None
        price: Union[float, None] = None
        tax: float = 10.5
        tags: List[str] = []
    
    
    items = {
        "foo": {"name": "Foo", "price": 50.2},
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat May 14 11:59:59 UTC 2022
    - 1K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/app/web/admin/dict/protwords/SearchForm.java

     * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
     * either express or implied. See the License for the specific language
     * governing permissions and limitations under the License.
     */
    package org.codelibs.fess.app.web.admin.dict.protwords;
    
    import org.lastaflute.web.validation.Required;
    
    /**
     * @author ma2tani
     */
    public class SearchForm {
    
        @Required
        public String dictId;
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 822 bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/app/web/admin/dict/kuromoji/DownloadForm.java

     * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
     * either express or implied. See the License for the specific language
     * governing permissions and limitations under the License.
     */
    package org.codelibs.fess.app.web.admin.dict.kuromoji;
    
    import org.lastaflute.web.validation.Required;
    
    public class DownloadForm {
        @Required
        public String dictId;
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 795 bytes
    - Viewed (0)
  10. docs_src/extra_models/tutorial002_py310.py

    def fake_password_hasher(raw_password: str):
        return "supersecret" + raw_password
    
    
    def fake_save_user(user_in: UserIn):
        hashed_password = fake_password_hasher(user_in.password)
        user_in_db = UserInDB(**user_in.dict(), hashed_password=hashed_password)
        print("User saved! ..not really")
        return user_in_db
    
    
    @app.post("/user/", response_model=UserOut)
    async def create_user(user_in: UserIn):
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jan 07 14:11:31 UTC 2022
    - 792 bytes
    - Viewed (0)
Back to top