Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1171 - 1180 of 2,275 for inf1 (0.17 seconds)

  1. docs/zh-hant/docs/python-types.md

    #### List { #list }
    
    例如,讓我們定義一個變數是 `str` 的 `list`。
    
    宣告變數,使用相同的冒號(`:`)語法。
    
    型別填 `list`。
    
    由於 list 是一種包含內部型別的型別,你要把內部型別放在方括號中:
    
    {* ../../docs_src/python_types/tutorial006_py310.py hl[1] *}
    
    /// info | 資訊
    
    方括號裡的那些內部型別稱為「型別參數」。
    
    在這個例子中,`str` 是傳給 `list` 的型別參數。
    
    ///
    
    這表示:「變數 `items` 是一個 `list`,而這個清單中的每個元素都是 `str`」。
    
    這麼做之後,你的編輯器甚至在處理清單裡的項目時也能提供支援:
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:05:38 GMT 2026
    - 10.7K bytes
    - Click Count (0)
  2. docs/en/docs/advanced/stream-data.md

    If you want to stream data that can be structured as JSON, you should [Stream JSON Lines](../tutorial/stream-json-lines.md).
    
    But if you want to **stream pure binary data** or strings, here's how you can do it.
    
    /// info
    
    Added in FastAPI 0.134.0.
    
    ///
    
    ## Use Cases { #use-cases }
    
    You could use this if you want to stream pure strings, for example directly from the output of an **AI LLM** service.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 5.4K bytes
    - Click Count (0)
  3. docs/uk/docs/tutorial/body-nested-models.md

            }
        ]
    }
    ```
    
    /// info | Інформація
    
    Зверніть увагу, що тепер ключ `images` містить список об'єктів зображень.
    
    ///
    
    ## Глибоко вкладені моделі { #deeply-nested-models }
    
    Ви можете визначати вкладені моделі довільної глибини:
    
    {* ../../docs_src/body_nested_models/tutorial007_py310.py hl[7,12,18,21,25] *}
    
    /// info | Інформація
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:27:41 GMT 2026
    - 10.3K bytes
    - Click Count (0)
  4. docs/uk/docs/tutorial/path-params-numeric-validations.md

    ## Імпорт `Path` { #import-path }
    
    Спочатку імпортуйте `Path` з `fastapi` і імпортуйте `Annotated`:
    
    {* ../../docs_src/path_params_numeric_validations/tutorial001_an_py310.py hl[1,3] *}
    
    /// info | Інформація
    
    FastAPI додав підтримку `Annotated` (і почав рекомендувати його використання) у версії 0.95.0.
    
    Якщо у вас стара версія, при спробі використати `Annotated` можуть виникати помилки.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:27:41 GMT 2026
    - 10K bytes
    - Click Count (0)
  5. .github/ISSUE_TEMPLATE/bug-report.yaml

    description: Report a bug encountered while operating Kubernetes
    labels: kind/bug
    body:
      - type: textarea
        id: problem
        attributes:
          label: What happened?
          description: |
            Please provide as much info as possible. Not doing so may result in your bug not being addressed in a timely manner.
            If this matter is security related, please disclose it privately via https://kubernetes.io/security
        validations:
          required: true
    Created: Fri Apr 03 09:05:14 GMT 2026
    - Last Modified: Mon Feb 28 09:34:43 GMT 2022
    - 2.2K bytes
    - Click Count (0)
  6. guava-testlib/src/com/google/common/testing/SloppyTearDown.java

      private static final Logger logger = Logger.getLogger(SloppyTearDown.class.getName());
    
      @Override
      public final void tearDown() {
        try {
          sloppyTearDown();
        } catch (Throwable t) {
          logger.log(Level.INFO, "exception thrown during tearDown: " + t.getMessage(), t);
        }
      }
    
      public abstract void sloppyTearDown() throws Exception;
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Dec 21 14:50:24 GMT 2024
    - 1.6K bytes
    - Click Count (0)
  7. docs/pt/docs/tutorial/request-forms-and-files.md

    # Formulários e Arquivos da Requisição { #request-forms-and-files }
    
    Você pode definir arquivos e campos de formulário ao mesmo tempo usando `File` e `Form`.
    
    /// info | Informação
    
    Para receber arquivos carregados e/ou dados de formulário, primeiro instale [`python-multipart`](https://github.com/Kludex/python-multipart).
    
    Certifique-se de criar um [ambiente virtual](../virtual-environments.md), ativá-lo e então instalar, por exemplo:
    
    ```console
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:20:43 GMT 2026
    - 1.6K bytes
    - Click Count (0)
  8. tests/test_enforce_once_required_parameter.py

                            "required": ["loc", "msg", "type"],
                            "title": "ValidationError",
                            "type": "object",
                        },
                    }
                },
                "info": {"title": "FastAPI", "version": "0.1.0"},
                "openapi": "3.1.0",
                "paths": {
                    "/foo": {
                        "get": {
                            "operationId": "foo_handler_foo_get",
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Tue Feb 17 09:59:14 GMT 2026
    - 4.1K bytes
    - Click Count (0)
  9. tests/test_openapi_query_parameter_extension.py

    
    def test_openapi():
        response = client.get("/openapi.json")
        assert response.status_code == 200, response.text
        assert response.json() == snapshot(
            {
                "openapi": "3.1.0",
                "info": {"title": "FastAPI", "version": "0.1.0"},
                "paths": {
                    "/": {
                        "get": {
                            "summary": "Route With Extra Query Parameters",
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Tue Feb 17 09:59:14 GMT 2026
    - 4.8K bytes
    - Click Count (0)
  10. tests/test_security_http_basic_realm_description.py

    def test_openapi_schema():
        response = client.get("/openapi.json")
        assert response.status_code == 200, response.text
        assert response.json() == snapshot(
            {
                "openapi": "3.1.0",
                "info": {"title": "FastAPI", "version": "0.1.0"},
                "paths": {
                    "/users/me": {
                        "get": {
                            "responses": {
                                "200": {
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Feb 08 10:18:38 GMT 2026
    - 2.9K bytes
    - Click Count (0)
Back to Top