Search Options

Results per page
Sort
Preferred Languages
Advance

Results 741 - 750 of 1,721 for item (0.03 sec)

  1. docs/ja/docs/advanced/response-directly.md

    **FastAPI** は開発者の利便性のために `fastapi.responses` という `starlette.responses` と同じものを提供しています。しかし、利用可能なレスポンスのほとんどはStarletteから直接提供されます。
    
    ///
    
    ## カスタム `Response` を返す
    
    上記の例では必要な部分を全て示していますが、あまり便利ではありません。`item` を直接返すことができるし、**FastAPI** はそれを `dict` に変換して `JSONResponse` に含めてくれるなど。すべて、デフォルトの動作です。
    
    では、これを使ってカスタムレスポンスをどう返すか見てみましょう。
    
    <a href="https://en.wikipedia.org/wiki/XML" class="external-link" target="_blank">XML</a>レスポンスを返したいとしましょう。
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  2. docs/pt/docs/tutorial/body-nested-models.md

    Note como o campo `images` agora tem uma lista de objetos de image.
    
    ///
    
    ## Modelos profundamente aninhados
    
    Você pode definir modelos profundamente aninhados de forma arbitrária:
    
    ```Python hl_lines="9  14  20  23  27"
    {!../../docs_src/body_nested_models/tutorial007.py!}
    ```
    
    /// info | "informação"
    
    Note como `Offer` tem uma lista de `Item`s, que por sua vez possui opcionalmente uma lista `Image`s
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  3. docs/de/docs/advanced/websockets.md

    ```
    
    </div>
    
    Öffnen Sie Ihren Browser unter <a href="http://127.0.0.1:8000" class="external-link" target="_blank">http://127.0.0.1:8000</a>.
    
    Dort können Sie einstellen:
    
    * Die „Item ID“, die im Pfad verwendet wird.
    * Das „Token“, das als Query-Parameter verwendet wird.
    
    /// tip | "Tipp"
    
    Beachten Sie, dass der Query-„Token“ von einer Abhängigkeit verarbeitet wird.
    
    ///
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  4. src/main/webapp/js/admin/bootstrap.min.js.map

    }\n\n      $(this).trigger('click')\n      return\n    }\n\n    const items = [].slice.call(parent.querySelectorAll(SELECTOR_VISIBLE_ITEMS))\n      .filter(item => $(item).is(':visible'))\n\n    if (items.length === 0) {\n      return\n    }\n\n    let index = items.indexOf(event.target)\n\n    if (event.which === ARROW_UP_KEYCODE && index > 0) { // Up\n      index--\n    }\n\n    if (event.which === ARROW_DOWN_KEYCODE && index < items.length - 1) { // Down\n      index++\n    }\n\n    if (index < 0)...
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sat Oct 26 01:49:09 UTC 2024
    - 180.9K bytes
    - Viewed (0)
  5. src/cmd/asm/internal/lex/lex_test.go

    		}
    		buf.WriteString(input.Text())
    	}
    }
    
    type badLexTest struct {
    	input string
    	error string
    }
    
    var badLexTests = []badLexTest{
    	{
    		"3 #define foo bar\n",
    		"'#' must be first item on line",
    	},
    	{
    		"#ifdef foo\nhello",
    		"unclosed #ifdef or #ifndef",
    	},
    	{
    		"#ifndef foo\nhello",
    		"unclosed #ifdef or #ifndef",
    	},
    	{
    		"#ifdef foo\nhello\n#else\nbye",
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Tue Aug 29 07:48:38 UTC 2023
    - 5.8K bytes
    - Viewed (0)
  6. docs/em/docs/python-types.md

    ///
    
    👈 ⛓: "🔢 `items` `list`, &amp; 🔠 🏬 👉 📇 `str`".
    
    /// tip
    
    🚥 👆 ⚙️ 🐍 3️⃣.9️⃣ ⚖️ 🔛, 👆 🚫 ✔️ 🗄 `List` ⚪️➡️ `typing`, 👆 💪 ⚙️ 🎏 🥔 `list` 🆎 ↩️.
    
    ///
    
    🔨 👈, 👆 👨‍🎨 💪 🚚 🐕‍🦺 ⏪ 🏭 🏬 ⚪️➡️ 📇:
    
    <img src="/img/python-types/image05.png">
    
    🍵 🆎, 👈 🌖 💪 🏆.
    
    👀 👈 🔢 `item` 1️⃣ 🔣 📇 `items`.
    
    &amp; , 👨‍🎨 💭 ⚫️ `str`, &amp; 🚚 🐕‍🦺 👈.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  7. istioctl/pkg/validate/validate.go

    			obj.Namespace = defaultNamespace
    		}
    
    		warnings, err := schema.ValidateConfig(*obj)
    		return warnings, err
    	}
    
    	var errs error
    	if un.IsList() {
    		_ = un.EachListItem(func(item runtime.Object) error {
    			castItem := item.(*unstructured.Unstructured)
    			if castItem.GetKind() == gvk.Service.Kind {
    				err := v.validateServicePortPrefix(istioNamespace, castItem)
    				if err != nil {
    					errs = multierror.Append(errs, err)
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Aug 15 22:27:47 UTC 2024
    - 14.3K bytes
    - Viewed (0)
  8. docs/en/docs/advanced/websockets.md

    ```
    
    </div>
    
    Open your browser at <a href="http://127.0.0.1:8000" class="external-link" target="_blank">http://127.0.0.1:8000</a>.
    
    There you can set:
    
    * The "Item ID", used in the path.
    * The "Token" used as a query parameter.
    
    /// tip
    
    Notice that the query `token` will be handled by a dependency.
    
    ///
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  9. istioctl/pkg/multicluster/remote_secret.go

    	if err != nil {
    		return nil, fmt.Errorf("failed listing secrets in %s: %v", opt.Namespace, err)
    	}
    	for _, item := range allSecrets.Items {
    		secret := item
    		if secretReferencesServiceAccount(serviceAccount, &secret) == nil {
    			return &secret, nil
    		}
    	}
    
    	// finally, create the sa token secret manually
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Aug 15 16:31:46 UTC 2024
    - 23.3K bytes
    - Viewed (0)
  10. docs/bn/docs/python-types.md

    ///
    
    এর মাধ্যমে, আপনার এডিটর লিস্ট থেকে আইটেম প্রসেস করার সময় সাপোর্ট প্রদান করতে পারবে:
    
    <img src="/img/python-types/image05.png">
    
    টাইপগুলি ছাড়া, এটি করা প্রায় অসম্ভব।
    
    লক্ষ্য করুন যে ভেরিয়েবল `item` হল `items` লিস্টের একটি এলিমেন্ট।
    
    তবুও, এডিটর জানে যে এটি একটি `str`, এবং তার জন্য সাপোর্ট প্রদান করে।
    
    #### টাপল এবং সেট
    
    আপনি `tuple` এবং `set` ঘোষণা করার জন্য একই প্রক্রিয়া অনুসরণ করবেন:
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 35.8K bytes
    - Viewed (0)
Back to top