Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for kenet (0.04 sec)

  1. src/main/resources/fess_indices/fess/fi/stopwords.txt

    noita
    noissa
    noista
    noihin
    noilla
    noilta
    noille
    noina
    noiksi
    ne
    niiden
    niitä
    niissä
    niistä
    niihin
    niillä
    niiltä
    niille
    niinä
    niiksi
    kuka
    kenen
    kenet
    ketä
    kenessä
    kenestä
    keneen
    kenellä
    keneltä
    kenelle
    kenenä
    keneksi
    ketkä
    keiden
    ketkä
    keitä
    keissä
    keistä
    keihin
    keillä
    keiltä
    keille
    keinä
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Mon Nov 27 12:59:36 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  2. docs_src/path_params/tutorial005.py

    
    class ModelName(str, Enum):
        alexnet = "alexnet"
        resnet = "resnet"
        lenet = "lenet"
    
    
    app = FastAPI()
    
    
    @app.get("/models/{model_name}")
    async def get_model(model_name: ModelName):
        if model_name is ModelName.alexnet:
            return {"model_name": model_name, "message": "Deep Learning FTW!"}
    
        if model_name.value == "lenet":
            return {"model_name": model_name, "message": "LeCNN all the images"}
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Aug 26 13:26:03 UTC 2022
    - 546 bytes
    - Viewed (0)
  3. tests/test_tutorial/test_path_params/test_tutorial005.py

                        "input": "foo",
                        "ctx": {"expected": "'alexnet', 'resnet' or 'lenet'"},
                    }
                ]
            }
        ) | IsDict(
            # TODO: remove when deprecating Pydantic v1
            {
                "detail": [
                    {
                        "ctx": {"enum_values": ["alexnet", "resnet", "lenet"]},
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Sep 28 04:14:40 UTC 2023
    - 5K bytes
    - Viewed (0)
  4. docs/en/docs/tutorial/path-params.md

    ```Python hl_lines="20"
    {!../../docs_src/path_params/tutorial005.py!}
    ```
    
    /// tip
    
    You could also access the value `"lenet"` with `ModelName.lenet.value`.
    
    ///
    
    #### Return *enumeration members*
    
    You can return *enum members* from your *path operation*, even nested in a JSON body (e.g. a `dict`).
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  5. docs/es/docs/tutorial/path-params.md

    ```Python hl_lines="20"
    {!../../docs_src/path_params/tutorial005.py!}
    ```
    
    /// tip | Consejo
    
    También podrías obtener el valor `"lenet"` con `ModelName.lenet.value`.
    
    ///
    
    #### Devuelve *enumeration members*
    
    Puedes devolver *enum members* desde tu *operación de path* inclusive en un body de JSON anidado (por ejemplo, un `dict`).
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  6. docs/em/docs/tutorial/path-params.md

    👆 💪 🤚 ☑ 💲 ( `str` 👉 💼) ⚙️ `model_name.value`, ⚖️ 🏢, `your_enum_member.value`:
    
    ```Python hl_lines="20"
    {!../../docs_src/path_params/tutorial005.py!}
    ```
    
    /// tip
    
    👆 💪 🔐 💲 `"lenet"` ⏮️ `ModelName.lenet.value`.
    
    ///
    
    #### 📨 *🔢 👨‍🎓*
    
    👆 💪 📨 *🔢 👨‍🎓* ⚪️➡️ 👆 *➡ 🛠️*, 🐦 🎻 💪 (✅ `dict`).
    
    👫 🔜 🗜 👫 🔗 💲 (🎻 👉 💼) ⏭ 🛬 👫 👩‍💻:
    
    ```Python hl_lines="18  21  23"
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  7. docs/zh/docs/tutorial/path-params.md

    #### 获取*枚举值*
    
    使用 `model_name.value` 或 `your_enum_member.value` 获取实际的值(本例中为**字符串**):
    
    ```Python hl_lines="20"
    {!../../docs_src/path_params/tutorial005.py!}
    ```
    
    /// tip | "提示"
    
    使用 `ModelName.lenet.value` 也能获取值 `"lenet"`。
    
    ///
    
    #### 返回*枚举元素*
    
    即使嵌套在 JSON 请求体里(例如, `dict`),也可以从*路径操作*返回*枚举元素*。
    
    返回给客户端之前,要把枚举元素转换为对应的值(本例中为字符串):
    
    ```Python hl_lines="18  21  23"
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 7.6K bytes
    - Viewed (0)
Back to top