Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 271 - 280 of 1,089 for itens (0.04 seconds)

  1. docs/zh-hant/docs/tutorial/path-params.md

    如果你執行這個範例並在瀏覽器開啟 [http://127.0.0.1:8000/items/3](http://127.0.0.1:8000/items/3),你會看到這樣的回應:
    
    ```JSON
    {"item_id":3}
    ```
    
    /// check
    
    注意你的函式接收(並回傳)的值是 `3`,也就是 Python 的 `int`,而不是字串 `"3"`。
    
    因此,有了這個型別宣告,**FastAPI** 會自動為你處理請求的 <dfn title="將 HTTP 請求中的字串轉換為 Python 資料">「解析」</dfn>。
    
    ///
    
    ## 資料驗證 { #data-validation }
    
    但如果你在瀏覽器前往 [http://127.0.0.1:8000/items/foo](http://127.0.0.1:8000/items/foo),你會看到漂亮的 HTTP 錯誤:
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:05:38 GMT 2026
    - 8.4K bytes
    - Click Count (0)
  2. docs/en/docs/python-types.md

    ///
    
    That means: "the variable `items` is a `list`, and each of the items in this list is a `str`".
    
    By doing that, your editor can provide support even while processing items from the list:
    
    <img src="/img/python-types/image05.png">
    
    Without types, that's almost impossible to achieve.
    
    Notice that the variable `item` is one of the elements in the list `items`.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 11K bytes
    - Click Count (0)
  3. src/main/java/org/codelibs/fess/storage/StorageClient.java

        /**
         * Lists objects in storage with the given prefix.
         *
         * @param prefix the path prefix to list objects under (null or empty for root)
         * @param maxItems maximum number of items to return
         * @return list of storage items
         */
        List<StorageItem> listObjects(String prefix, int maxItems);
    
        /**
         * Gets tags/metadata for an object.
         *
         * @param objectName the name/path of the object
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Dec 13 02:21:17 GMT 2025
    - 2.8K bytes
    - Click Count (0)
  4. docs/de/docs/editor-support.md

    # Editor-Unterstützung { #editor-support }
    
    Die offizielle [FastAPI-Erweiterung](https://marketplace.visualstudio.com/items?itemName=FastAPILabs.fastapi-vscode) verbessert Ihren FastAPI-Entwicklungsworkflow mit Pfadoperation-Erkennung und -Navigation sowie FastAPI-Cloud-Deployment und Live-Logstreaming.
    
    Weitere Details zur Erweiterung finden Sie im README im [GitHub-Repository](https://github.com/fastapi/fastapi-vscode).
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 17:48:21 GMT 2026
    - 2.7K bytes
    - Click Count (0)
  5. docs/ru/docs/editor-support.md

    # Поддержка редактора кода { #editor-support }
    
    Официальное [расширение FastAPI](https://marketplace.visualstudio.com/items?itemName=FastAPILabs.fastapi-vscode) улучшает ваш процесс разработки на FastAPI за счет обнаружения и навигации по *операциям пути* (обработчикам пути), а также развертывания в FastAPI Cloud и потоковой передачи логов в реальном времени.
    
    Подробности о расширении смотрите в README в [репозитории GitHub](https://github.com/fastapi/fastapi-vscode).
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 17:56:20 GMT 2026
    - 3.9K bytes
    - Click Count (0)
  6. docs/de/docs/tutorial/dependencies/index.md

    Nehmen wir zum Beispiel an, Sie haben vier API-Endpunkte (*Pfadoperationen*):
    
    * `/items/public/`
    * `/items/private/`
    * `/users/{user_id}/activate`
    * `/items/pro/`
    
    Dann könnten Sie für jeden davon unterschiedliche Berechtigungsanforderungen hinzufügen, nur mit Abhängigkeiten und Unterabhängigkeiten:
    
    ```mermaid
    graph TB
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 17:58:09 GMT 2026
    - 11.3K bytes
    - Click Count (0)
  7. docs/ja/docs/tutorial/dependencies/index.md

    例えば、4つのAPIエンドポイント(*path operation*)があるとします:
    
    * `/items/public/`
    * `/items/private/`
    * `/users/{user_id}/activate`
    * `/items/pro/`
    
    そして、依存関係とサブ依存関係だけで、それぞれに異なるパーミッション要件を追加することができます:
    
    ```mermaid
    graph TB
    
    current_user(["current_user"])
    active_user(["active_user"])
    admin_user(["admin_user"])
    paying_user(["paying_user"])
    
    public["/items/public/"]
    private["/items/private/"]
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:07:17 GMT 2026
    - 11.9K bytes
    - Click Count (0)
  8. tests/test_tutorial/test_additional_status_codes/test_tutorial001.py

        return client
    
    
    def test_update(client: TestClient):
        response = client.put("/items/foo", json={"name": "Wrestlers"})
        assert response.status_code == 200, response.text
        assert response.json() == {"name": "Wrestlers", "size": None}
    
    
    def test_create(client: TestClient):
        response = client.put("/items/red", json={"name": "Chillies"})
        assert response.status_code == 201, response.text
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Feb 12 13:19:43 GMT 2026
    - 934 bytes
    - Click Count (0)
  9. docs/ja/docs/advanced/security/oauth2-scopes.md

    ここでは、`/users/me/items/` の path operation が `items` スコープを必要とするように宣言します。
    
    そのために、`fastapi` から `Security` をインポートして使います。
    
    `Security` は(`Depends` と同様に)依存関係を宣言できますが、さらにスコープ(文字列)のリストを受け取る `scopes` パラメータも持ちます。
    
    この場合、`Security` に依存関数 `get_current_active_user` を渡します(`Depends` と同様です)。
    
    加えて、`items` という 1 つのスコープ(複数でも可)を含む `list` も渡します。
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:07:17 GMT 2026
    - 16.6K bytes
    - Click Count (0)
  10. docs/pt/docs/tutorial/dependencies/index.md

    Por exemplo, vamos supor que você possua 4 endpoints na sua API (*operações de rota*):
    
    * `/items/public/`
    * `/items/private/`
    * `/users/{user_id}/activate`
    * `/items/pro/`
    
    Você poderia adicionar diferentes requisitos de permissão para cada um deles utilizando apenas dependências e sub-dependências:
    
    ```mermaid
    graph TB
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:20:43 GMT 2026
    - 10.6K bytes
    - Click Count (0)
Back to Top