Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 441 - 450 of 1,070 for Layout (0.08 seconds)

  1. docs/zh-hant/docs/tutorial/debugging.md

    你可以在編輯器中連接偵錯器,例如 Visual Studio Code 或 PyCharm。
    
    ## 呼叫 `uvicorn` { #call-uvicorn }
    
    在你的 FastAPI 應用程式中,直接匯入並執行 `uvicorn`:
    
    {* ../../docs_src/debugging/tutorial001_py310.py hl[1,15] *}
    
    ### 關於 `__name__ == "__main__"` { #about-name-main }
    
    `__name__ == "__main__"` 的主要目的是,當你的檔案以以下方式呼叫時,執行某些程式碼:
    
    <div class="termy">
    
    ```console
    $ python myapp.py
    ```
    
    </div>
    
    但當其他檔案匯入它時不會執行,例如:
    
    ```Python
    from myapp import app
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:05:38 GMT 2026
    - 2.4K bytes
    - Click Count (0)
  2. docs/zh/docs/how-to/conditional-openapi.md

    # 按条件配置 OpenAPI { #conditional-openapi }
    
    如果需要,你可以使用设置和环境变量,按环境有条件地配置 OpenAPI,甚至完全禁用它。
    
    ## 关于安全、API 和文档 { #about-security-apis-and-docs }
    
    在生产环境隐藏文档界面并不应该成为保护 API 的方式。
    
    这并不会给你的 API 增加任何额外的安全性,*路径操作* 仍然会在原来的位置可用。
    
    如果你的代码里有安全漏洞,它仍然存在。
    
    隐藏文档只会让理解如何与 API 交互变得更困难,也可能让你在生产环境中调试更困难。这大体上可以被视为一种 [通过隐藏实现安全](https://en.wikipedia.org/wiki/Security_through_obscurity) 的做法。
    
    如果你想保护你的 API,有很多更好的措施,例如:
    
    - 确保为请求体和响应定义完善的 Pydantic 模型。
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:06:37 GMT 2026
    - 2.2K bytes
    - Click Count (0)
  3. src/main/java/jcifs/internal/smb1/com/SmbComSessionSetupAndXResponse.java

    import jcifs.internal.smb1.AndXServerMessageBlock;
    import jcifs.internal.smb1.ServerMessageBlock;
    import jcifs.internal.util.SMBUtil;
    
    /**
     * SMB1 Session Setup AndX Response message.
     *
     * This response contains information about the established session,
     * including native OS, LAN manager, and primary domain information.
     */
    public class SmbComSessionSetupAndXResponse extends AndXServerMessageBlock {
    
        private String nativeOs = "";
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 4.7K bytes
    - Click Count (0)
  4. docs/fr/llm-prompt.md

    - For headings that are instructions written in imperative in English (e.g. `Go check …`), keep them in imperative in French, using the formal grammar (e.g. `Allez voir …`).
    
    ### French instructions about technical terms
    
    Do not try to translate everything. In particular, keep common programming terms (e.g. `framework`, `endpoint`, `plug-in`, `payload`).
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Jan 16 11:57:08 GMT 2026
    - 3.6K bytes
    - Click Count (0)
  5. docs/ko/docs/tutorial/debugging.md

    ## `uvicorn` 호출 { #call-uvicorn }
    
    FastAPI 애플리케이션에서 `uvicorn`을 직접 임포트하여 실행합니다:
    
    {* ../../docs_src/debugging/tutorial001_py310.py hl[1,15] *}
    
    ### `__name__ == "__main__"` 에 대하여 { #about-name-main }
    
    `__name__ == "__main__"`의 주요 목적은 다음과 같이 파일이 호출될 때 실행되는 일부 코드를 갖는 것입니다.
    
    <div class="termy">
    
    ```console
    $ python myapp.py
    ```
    
    </div>
    
    그러나 다음과 같이 다른 파일을 가져올 때는 호출되지 않습니다.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:06:26 GMT 2026
    - 2.8K bytes
    - Click Count (0)
  6. docs/ko/docs/how-to/conditional-openapi.md

    # 조건부 OpenAPI { #conditional-openapi }
    
    필요한 경우, 설정 및 환경 변수를 사용하여 환경에 따라 OpenAPI를 조건부로 구성하고 완전히 비활성화할 수도 있습니다.
    
    ## 보안, API 및 docs에 대해서 { #about-security-apis-and-docs }
    
    프로덕션에서, 문서화된 사용자 인터페이스(UI)를 숨기는 것이 API를 보호하는 방법이 되어서는 안 됩니다.
    
    이는 API에 추가적인 보안을 제공하지 않으며, *경로 처리*는 여전히 동일한 위치에서 사용 할 수 있습니다.
    
    코드에 보안 결함이 있다면, 그 결함은 여전히 존재할 것입니다.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:06:26 GMT 2026
    - 2.7K bytes
    - Click Count (0)
  7. .github/ISSUE_TEMPLATE/10_contributor_bug_report.yml

        validations:
          required: false
      - type: textarea
        id: environment
        attributes:
          label: Your Environment (optional)
          description: |
            Include as many relevant details about the environment you experienced the bug in
        validations:
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Mon Sep 09 14:48:49 GMT 2024
    - 3K bytes
    - Click Count (1)
  8. okhttp/src/jvmMain/kotlin/okhttp3/internal/platform/OpenJSSEPlatform.kt

     */
    class OpenJSSEPlatform private constructor() : Platform() {
      private val provider: Provider =
        org.openjsse.net.ssl
          .OpenJSSE()
    
      // Selects TLSv1.3 so we are specific about our intended version ranges (not just 1.3)
      // and because it's a common pattern for VMs to have differences between supported and
      // defaulted versions for TLS based on what is requested.
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Jan 27 09:00:39 GMT 2026
    - 3.6K bytes
    - Click Count (0)
  9. docs/fr/docs/tutorial/debugging.md

    ## Appeler `uvicorn` { #call-uvicorn }
    
    Dans votre application FastAPI, importez et exécutez directement `uvicorn` :
    
    {* ../../docs_src/debugging/tutorial001_py310.py hl[1,15] *}
    
    ### À propos de `__name__ == "__main__"` { #about-name-main }
    
    Le but principal de `__name__ == "__main__"` est d'avoir du code qui est exécuté lorsque votre fichier est appelé avec :
    
    <div class="termy">
    
    ```console
    $ python myapp.py
    ```
    
    </div>
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:37:13 GMT 2026
    - 2.9K bytes
    - Click Count (0)
  10. docs/zh/docs/tutorial/debugging.md

    你可以在编辑器中连接调试器,例如使用 Visual Studio Code 或 PyCharm。
    
    ## 调用 `uvicorn` { #call-uvicorn }
    
    在你的 FastAPI 应用中直接导入 `uvicorn` 并运行:
    
    {* ../../docs_src/debugging/tutorial001_py310.py hl[1,15] *}
    
    ### 关于 `__name__ == "__main__"` { #about-name-main }
    
    `__name__ == "__main__"` 的主要目的是使用以下代码调用文件时执行一些代码:
    
    <div class="termy">
    
    ```console
    $ python myapp.py
    ```
    
    </div>
    
    而当其它文件导入它时并不会被调用,像这样:
    
    ```Python
    from myapp import app
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:06:37 GMT 2026
    - 2.4K bytes
    - Click Count (0)
Back to Top