Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 691 - 700 of 1,159 for MAIN (0.02 seconds)

  1. docs/zh-hant/docs/advanced/settings.md

    注意現在我們不再建立預設實例 `settings = Settings()`。
    
    ### 主應用程式檔案 { #the-main-app-file }
    
    現在我們建立一個相依,回傳新的 `config.Settings()`。
    
    {* ../../docs_src/settings/app02_an_py310/main.py hl[6,12:13] *}
    
    /// tip
    
    我們稍後會討論 `@lru_cache`。
    
    現在你可以先把 `get_settings()` 視為一般函式。
    
    ///
    
    接著我們可以在*路徑操作函式 (path operation function)* 中將它宣告為相依,並在需要的地方使用它。
    
    {* ../../docs_src/settings/app02_an_py310/main.py hl[17,19:21] *}
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:05:38 GMT 2026
    - 10.3K bytes
    - Click Count (0)
  2. docs/zh-hant/docs/tutorial/security/first-steps.md

    你希望前端能用使用者名稱與密碼向後端進行身分驗證。
    
    我們可以用 OAuth2 搭配 FastAPI 來實作。
    
    但不必通讀整份冗長規格只為了找出你需要的幾個重點。
    
    就用 FastAPI 提供的工具處理安全性。
    
    ## 看起來如何 { #how-it-looks }
    
    先直接跑範例看效果,再回頭理解其原理。
    
    ## 建立 `main.py` { #create-main-py }
    
    將範例複製到檔案 `main.py`:
    
    {* ../../docs_src/security/tutorial001_an_py310.py *}
    
    ## 執行 { #run-it }
    
    /// info
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:05:38 GMT 2026
    - 7.2K bytes
    - Click Count (0)
  3. docs/zh/docs/tutorial/security/first-steps.md

    我们可以用 **OAuth2** 在 **FastAPI** 中实现它。
    
    但为了节省你的时间,不必为获取少量信息而通读冗长的规范。
    
    我们直接使用 **FastAPI** 提供的安全工具。
    
    ## 效果预览 { #how-it-looks }
    
    先直接运行代码看看效果,之后再回过头理解其背后的原理。
    
    ## 创建 `main.py` { #create-main-py }
    
    把下面的示例代码复制到 `main.py`:
    
    {* ../../docs_src/security/tutorial001_an_py310.py *}
    
    ## 运行 { #run-it }
    
    /// info | 信息
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:06:37 GMT 2026
    - 7.5K bytes
    - Click Count (0)
  4. src/test/resources/thumbnail/test_generate_thumbnail.sh

    PROJECT_ROOT="${SCRIPT_DIR}"
    while [[ ! -f "${PROJECT_ROOT}/pom.xml" ]] && [[ "${PROJECT_ROOT}" != "/" ]]; do
        PROJECT_ROOT="$(dirname "${PROJECT_ROOT}")"
    done
    GENERATE_THUMBNAIL="${PROJECT_ROOT}/src/main/assemblies/files/generate-thumbnail"
    TEST_DIR="${SCRIPT_DIR}"
    OUTPUT_DIR="/tmp/thumbnail_test_$$"
    
    # Color codes for output
    RED='\033[0;31m'
    GREEN='\033[0;32m'
    NC='\033[0m' # No Color
    
    # Test counters
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Dec 04 08:02:36 GMT 2025
    - 7.9K bytes
    - Click Count (0)
  5. maven-tests/mvnw

    	  {
    	    return new java.net.PasswordAuthentication( System.getenv( "MVNW_USERNAME" ), System.getenv( "MVNW_PASSWORD" ).toCharArray() );
    	  }
    	  public static void main( String[] args ) throws Exception
    	  {
    	    setDefault( new Downloader() );
    	    java.nio.file.Files.copy( java.net.URI.create( args[0] ).toURL().openStream(), java.nio.file.Paths.get( args[1] ).toAbsolutePath().normalize() );
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Thu Sep 25 18:22:49 GMT 2025
    - 10.4K bytes
    - Click Count (0)
  6. docs/en/docs/advanced/events.md

    ///
    
    ## Sub Applications { #sub-applications }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 7.8K bytes
    - Click Count (0)
  7. internal/s3select/sql/statement.go

    			return stmt, err
    		}
    	}
    
    	// Validate table name
    	err = validateTableName(selectAST.From)
    	if err != nil {
    		return stmt, err
    	}
    
    	// Analyze main select expression
    	stmt.selectQProp = selectAST.Expression.analyze(&selectAST)
    	err = stmt.selectQProp.err
    	if err != nil {
    		err = errQueryAnalysisFailure(err)
    	}
    
    	// Set table alias
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 9K bytes
    - Click Count (0)
  8. helm-releases/minio-5.0.10.tgz

    [ # "10.0.0.0/8", # "192.168.0.0/24" # ] # ## Additional Annotations for the Kubernetes Job makePolicyJob makePolicyJob: securityContext: enabled: false runAsUser: 1000 runAsGroup: 1000 resources: requests: memory: 128Mi # Command to run after the main command on exit exitCommand: "" ## List of users to be created after minio install ## users: ## Username, password and policy to be assigned to the user ## Default policies are [readonly|readwrite|writeonly|consoleAdmin|diagnostics] ## Add new policies...
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sat May 27 00:05:49 GMT 2023
    - 20.3K bytes
    - Click Count (0)
  9. helm-releases/minio-5.0.9.tgz

    [ # "10.0.0.0/8", # "192.168.0.0/24" # ] # ## Additional Annotations for the Kubernetes Job makePolicyJob makePolicyJob: securityContext: enabled: false runAsUser: 1000 runAsGroup: 1000 resources: requests: memory: 128Mi # Command to run after the main command on exit exitCommand: "" ## List of users to be created after minio install ## users: ## Username, password and policy to be assigned to the user ## Default policies are [readonly|readwrite|writeonly|consoleAdmin|diagnostics] ## Add new policies...
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Wed May 03 06:23:26 GMT 2023
    - 20.2K bytes
    - Click Count (0)
  10. helm-releases/minio-5.0.2.tgz

    "10.0.0.0/8", # "192.168.0.0/24" # ] # ## Additional Annotations for the Kubernetes Job makePolicyJob makePolicyJob: securityContext: enabled: false runAsUser: 1000 runAsGroup: 1000 fsGroup: 1000 resources: requests: memory: 128Mi # Command to run after the main command on exit exitCommand: "" ## List of users to be created after minio install ## users: ## Username, password and policy to be assigned to the user ## Default policies are [readonly|readwrite|writeonly|consoleAdmin|diagnostics] ## Add new policies...
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Dec 18 07:57:10 GMT 2022
    - 20.4K bytes
    - Click Count (0)
Back to Top