Search Options

Results per page
Sort
Preferred Languages
Advance

Results 471 - 480 of 3,858 for Mode (0.02 sec)

  1. docs/zh/docs/advanced/events.md

    ### `shutdown` 事件
    
    使用 `shutdown` 事件声明 `app` 关闭时运行的函数:
    
    {* ../../docs_src/events/tutorial002.py hl[6] *}
    
    此处,`shutdown` 事件处理器函数在 `log.txt` 中写入一行文本 `Application shutdown`。
    
    /// info | 说明
    
    `open()` 函数中,`mode="a"` 指的是**追加**。因此这行文本会添加在文件已有内容之后,不会覆盖之前的内容。
    
    ///
    
    /// tip | 提示
    
    注意,本例使用 Python `open()` 标准函数与文件交互。
    
    这个函数执行 I/O(输入/输出)操作,需要等待内容写进磁盘。
    
    但 `open()` 函数不支持使用 `async` 与 `await`。
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Oct 11 17:48:49 UTC 2025
    - 7K bytes
    - Viewed (0)
  2. gorm.go

    	}
    
    	return tx
    }
    
    // WithContext change current instance db's context to ctx
    func (db *DB) WithContext(ctx context.Context) *DB {
    	return db.Session(&Session{Context: ctx})
    }
    
    // Debug start debug mode
    func (db *DB) Debug() (tx *DB) {
    	tx = db.getInstance()
    	return tx.Session(&Session{
    		Logger: db.Logger.LogMode(logger.Info),
    	})
    }
    
    // Set store value with key into current db instance's context
    Registered: Sun Dec 28 09:35:17 UTC 2025
    - Last Modified: Tue Aug 26 06:24:29 UTC 2025
    - 12.8K bytes
    - Viewed (0)
  3. src/main/resources/fess_indices/fess.json

              "synonyms_path": "${fess.dictionary.path}synonym.txt"
            }
          },
          "tokenizer": {
            "japanese_tokenizer": {
              "type": "fess_japanese_tokenizer",
              "mode": "normal",
              "user_dictionary": "${fess.dictionary.path}ja/kuromoji.txt",
              "discard_punctuation": false
            },
            "korean_tokenizer": {
                "type": "fess_korean_tokenizer",
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Jun 06 14:17:42 UTC 2025
    - 39.8K bytes
    - Viewed (0)
  4. CHANGELOG/CHANGELOG-1.7.md

    [kubernetes-node-linux-arm64.tar.gz](https://dl.k8s.io/v1.7.16/kubernetes-node-linux-arm64.tar.gz) | `87e768d59fd71a3a558ea5775bedec1f74f983af9a568ccec52f9394431db547`
    [kubernetes-node-linux-ppc64le.tar.gz](https://dl.k8s.io/v1.7.16/kubernetes-node-linux-ppc64le.tar.gz) | `cece0dddbe6cac79ccc5c490d3132a85f72a4da6daf3c88202ad864dff5c98aa`
    Registered: Fri Dec 26 09:05:12 UTC 2025
    - Last Modified: Thu May 05 13:44:43 UTC 2022
    - 308.7K bytes
    - Viewed (1)
  5. docs/ru/docs/tutorial/first-steps.md

                 Importing from <font color="#75507B">/home/user/code/</font><font color="#AD7FA8">awesomeapp</font>
    
       <span style="background-color:#007166"><font color="#D3D7CF"> module </font></span>  🐍 main.py
    
         <span style="background-color:#007166"><font color="#D3D7CF"> code </font></span>  Importing the FastAPI app object from the module with
                 the following code:
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 17.7K bytes
    - Viewed (0)
  6. docs/zh/docs/tutorial/first-steps.md

                 Importing from <font color="#75507B">/home/user/code/</font><font color="#AD7FA8">awesomeapp</font>
    
       <span style="background-color:#007166"><font color="#D3D7CF"> module </font></span>  🐍 main.py
    
         <span style="background-color:#007166"><font color="#D3D7CF"> code </font></span>  Importing the FastAPI app object from the module with
                 the following code:
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Oct 11 17:48:49 UTC 2025
    - 10.5K bytes
    - Viewed (0)
  7. docs/de/docs/deployment/docker.md

    FROM python:3.9
    
    WORKDIR /code
    
    COPY ./requirements.txt /code/requirements.txt
    
    RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
    
    # (1)!
    COPY ./main.py /code/
    
    # (2)!
    CMD ["fastapi", "run", "main.py", "--port", "80"]
    ```
    
    1. Kopiere die Datei `main.py` direkt in das Verzeichnis `/code` (ohne ein Verzeichnis `./app`).
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Tue Dec 02 17:32:56 UTC 2025
    - 33.6K bytes
    - Viewed (0)
  8. docs/en/docs/tutorial/first-steps.md

                 Importing from <font color="#75507B">/home/user/code/</font><font color="#AD7FA8">awesomeapp</font>
    
       <span style="background-color:#007166"><font color="#D3D7CF"> module </font></span>  🐍 main.py
    
         <span style="background-color:#007166"><font color="#D3D7CF"> code </font></span>  Importing the FastAPI app object from the module with
                 the following code:
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 12.8K bytes
    - Viewed (0)
  9. docs/de/docs/tutorial/first-steps.md

                 Importing from <font color="#75507B">/home/user/code/</font><font color="#AD7FA8">awesomeapp</font>
    
       <span style="background-color:#007166"><font color="#D3D7CF"> module </font></span>  🐍 main.py
    
         <span style="background-color:#007166"><font color="#D3D7CF"> code </font></span>  Importing the FastAPI app object from the module with
                 the following code:
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 14.3K bytes
    - Viewed (0)
  10. docs/pt/docs/deployment/docker.md

    ```{ .dockerfile .annotate hl_lines="10  13" }
    FROM python:3.9
    
    WORKDIR /code
    
    COPY ./requirements.txt /code/requirements.txt
    
    RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
    
    # (1)!
    COPY ./main.py /code/
    
    # (2)!
    CMD ["fastapi", "run", "main.py", "--port", "80"]
    ```
    
    1. Copie o arquivo `main.py` para o diretório `/code` diretamente (sem nenhum diretório `./app`).
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Nov 12 16:23:57 UTC 2025
    - 32.1K bytes
    - Viewed (0)
Back to top