Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1001 - 1010 of 1,383 for Items (0.03 sec)

  1. src/cmd/asm/internal/asm/parse.go

    	colon := -1
    	for tok != '\n' && tok != ';' {
    		// Process one operand.
    		var items []lex.Token
    		if cap(operands) > len(operands) {
    			// Reuse scratch items slice.
    			items = operands[:cap(operands)][len(operands)][:0]
    		} else {
    			items = make([]lex.Token, 0, 3)
    		}
    		for {
    			tok = p.nextToken()
    			if len(operands) == 0 && len(items) == 0 {
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Wed Sep 04 18:16:59 UTC 2024
    - 36.9K bytes
    - Viewed (0)
  2. docs/es/docs/tutorial/first-steps.md

    #### Path
    
    "Path" aquí se refiere a la última parte de una URL comenzando desde el primer `/`.
    
    Entonces, en una URL como:
    
    ```
    https://example.com/items/foo
    ```
    
    ...el path sería:
    
    ```
    /items/foo
    ```
    
    /// info | Información
    
    Un "path" también se conoce habitualmente como "endpoint", "route" o "ruta".
    
    ///
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  3. docs/fr/docs/tutorial/first-steps.md

    #### Chemin
    
    Chemin, ou "path" fait référence ici à la dernière partie de l'URL démarrant au premier `/`.
    
    Donc, dans un URL tel que :
    
    ```
    https://example.com/items/foo
    ```
    
    ...le "path" serait :
    
    ```
    /items/foo
    ```
    
    /// info
    
    Un chemin, ou "path" est aussi souvent appelé route ou "endpoint".
    
    ///
    
    #### Opération
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  4. docs/fr/docs/tutorial/query-params-str-validations.md

    {* ../../docs_src/query_params_str_validations/tutorial011.py hl[9] *}
    
    Ce qui fait qu'avec une URL comme :
    
    ```
    http://localhost:8000/items/?q=foo&q=bar
    ```
    
    vous recevriez les valeurs des multiples paramètres de requête `q` (`foo` et `bar`) dans une `list` Python au sein de votre fonction de **path operation**, dans le paramètre de fonction `q`.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 27 17:14:38 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  5. docs/pt/docs/tutorial/first-steps.md

    ### Passo 3: crie uma *rota*
    
    #### Rota
    
    "Rota" aqui se refere à última parte da URL, começando do primeiro `/`.
    
    Então, em uma URL como:
    
    ```
    https://example.com/items/foo
    ```
    
    ...a rota seria:
    
    ```
    /items/foo
    ```
    
    /// info | "Informação"
    
    Uma "rota" também é comumente chamada de "endpoint".
    
    ///
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 9.6K bytes
    - Viewed (0)
  6. docs/pt/docs/tutorial/handling-errors.md

    ```
    
    ### A response resultante
    
    
    Se o cliente faz uma requisição para `http://example.com/items/foo` (um `item_id` `"foo"`), esse cliente receberá um HTTP status code 200, e uma resposta JSON:
    
    
    ```
    {
      "item": "The Foo Wrestlers"
    }
    ```
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 10K bytes
    - Viewed (0)
  7. docs/uk/docs/tutorial/first-steps.md

    #### Шлях (path)
    
    "Шлях" це частина URL, яка йде одразу після символу `/`.
    
    Отже, у такому URL, як:
    
    ```
    https://example.com/items/foo
    ```
    
    ...шлях буде:
    
    ```
    /items/foo
    ```
    
    /// info | "Додаткова інформація"
    
    "Шлях" (path) також зазвичай називають "ендпоінтом" (endpoint) або "маршрутом" (route).
    
    ///
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 15.6K bytes
    - Viewed (0)
  8. docs/de/docs/tutorial/metadata.md

         * `url` (**erforderlich**): ein `str` mit der URL für die externe Dokumentation.
    
    ### Metadaten für Tags erstellen
    
    Versuchen wir das an einem Beispiel mit Tags für `users` und `items`.
    
    Erstellen Sie Metadaten für Ihre Tags und übergeben Sie sie an den Parameter `openapi_tags`:
    
    ```Python hl_lines="3-16  18"
    {!../../docs_src/metadata/tutorial004.py!}
    ```
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  9. docs/zh/docs/tutorial/metadata.md

    ```
    
    /// tip
    
    您可以在 `description` 字段中编写 Markdown,它将在输出中呈现。
    
    ///
    
    通过这样设置,自动 API 文档看起来会像:
    
    <img src="/img/tutorial/metadata/image01.png">
    
    ## 标签元数据
    
    ### 创建标签元数据
    
    让我们在带有标签的示例中为 `users` 和 `items` 试一下。
    
    创建标签元数据并把它传递给 `openapi_tags` 参数:
    
    ```Python hl_lines="3-16  18"
    {!../../docs_src/metadata/tutorial004.py!}
    ```
    
    注意你可以在描述内使用 Markdown,例如「login」会显示为粗体(**login**)以及「fancy」会显示为斜体(_fancy_)。
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  10. tests/test_ambiguous_params.py

    app = FastAPI()
    
    
    def test_no_annotated_defaults():
        with pytest.raises(
            AssertionError, match="Path parameters cannot have a default value"
        ):
    
            @app.get("/items/{item_id}/")
            async def get_item(item_id: Annotated[int, Path(default=1)]):
                pass  # pragma: nocover
    
        with pytest.raises(
            AssertionError,
            match=(
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Dec 12 00:22:47 UTC 2023
    - 2.1K bytes
    - Viewed (0)
Back to top