Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 31 - 40 of 716 for sleeps (0.08 seconds)

  1. docs/ko/docs/tutorial/security/first-steps.md

    # 보안 - 첫 단계 { #security-first-steps }
    
    어떤 도메인에 **backend** API가 있다고 가정해 보겠습니다.
    
    그리고 다른 도메인에 **frontend**가 있거나, 같은 도메인의 다른 경로에 있거나(또는 모바일 애플리케이션에 있을 수도 있습니다).
    
    그리고 frontend가 **username**과 **password**를 사용해 backend에 인증할 수 있는 방법이 필요하다고 해봅시다.
    
    **FastAPI**와 함께 **OAuth2**를 사용해서 이를 구현할 수 있습니다.
    
    하지만 필요한 작은 정보 조각들을 찾기 위해 길고 긴 전체 스펙을 읽느라 시간을 쓰지 않도록 하겠습니다.
    
    보안을 처리하기 위해 **FastAPI**가 제공하는 도구들을 사용해 봅시다.
    
    ## 어떻게 보이는지 { #how-it-looks }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:06:26 GMT 2026
    - 9.6K bytes
    - Click Count (0)
  2. docs/ja/docs/tutorial/first-steps.md

    # 最初のステップ { #first-steps }
    
    最もシンプルなFastAPIファイルは以下のようになります:
    
    {* ../../docs_src/first_steps/tutorial001_py310.py *}
    
    これを`main.py`にコピーします。
    
    ライブサーバーを実行します:
    
    <div class="termy">
    
    ```console
    $ <font color="#4E9A06">fastapi</font> dev
    
      <span style="background-color:#009485"><font color="#D3D7CF"> FastAPI </font></span>  Starting development server 🚀
    
                 Searching for package file structure from directories
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:07:17 GMT 2026
    - 15.9K bytes
    - Click Count (0)
  3. docs/ru/docs/tutorial/security/first-steps.md

    # Безопасность — первые шаги { #security-first-steps }
    
    Представим, что у вас есть **бэкенд** API на некотором домене.
    
    И у вас есть **фронтенд** на другом домене или на другом пути того же домена (или в мобильном приложении).
    
    И вы хотите, чтобы фронтенд мог аутентифицироваться на бэкенде, используя **имя пользователя** и **пароль**.
    
    Мы можем использовать **OAuth2**, чтобы построить это с **FastAPI**.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 17:56:20 GMT 2026
    - 14K bytes
    - Click Count (0)
  4. docs/zh-hant/docs/tutorial/security/first-steps.md

    # 安全性 - 入門 { #security-first-steps }
    
    想像你有一個部署在某個網域的後端 API。
    
    還有一個前端在另一個網域,或同一網域的不同路徑(或是行動應用程式)。
    
    你希望前端能用使用者名稱與密碼向後端進行身分驗證。
    
    我們可以用 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)
  5. docs/zh/docs/tutorial/security/first-steps.md

    # 安全 - 第一步 { #security-first-steps }
    
    假设你的**后端** API 位于某个域名下。
    
    而**前端**在另一个域名,或同一域名的不同路径(或在移动应用中)。
    
    你希望前端能通过**username** 和 **password** 与后端进行身份验证。
    
    我们可以用 **OAuth2** 在 **FastAPI** 中实现它。
    
    但为了节省你的时间,不必为获取少量信息而通读冗长的规范。
    
    我们直接使用 **FastAPI** 提供的安全工具。
    
    ## 效果预览 { #how-it-looks }
    
    先直接运行代码看看效果,之后再回过头理解其背后的原理。
    
    ## 创建 `main.py` { #create-main-py }
    
    把下面的示例代码复制到 `main.py`:
    
    {* ../../docs_src/security/tutorial001_an_py310.py *}
    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)
  6. docs/bucket/replication/setup_ilm_expiry_replication.sh

    if [ $transDays -ne 0 ] || [ "${transDays}" == "null" ]; then
    	echo "BUG: Transition rule on sitea seems to be overwritten"
    	exit 1
    fi
    
    ## Check replication of edit of prefix, tags and status of ILM Expiry Rules
    ./mc ilm rule edit --id "${id}" --prefix "newprefix" --tags "ntag1=nval1&ntag2=nval2" --disable sitea/bucket
    sleep 30s
    
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Sep 06 09:42:21 GMT 2024
    - 12.8K bytes
    - Click Count (0)
  7. .github/workflows/issue-manager.yml

          - labeled
      workflow_dispatch:
    
    permissions:
      issues: write
      pull-requests: write
    
    jobs:
      issue-manager:
        if: github.repository_owner == 'fastapi'
        runs-on: ubuntu-latest
        steps:
          - name: Dump GitHub context
            env:
              GITHUB_CONTEXT: ${{ toJson(github) }}
            run: echo "$GITHUB_CONTEXT"
          - uses: tiangolo/issue-manager@0.6.0
            with:
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Jan 11 22:22:58 GMT 2026
    - 1.8K bytes
    - Click Count (0)
  8. internal/config/heal/heal.go

    // Config represents the heal settings.
    type Config struct {
    	// Bitrot will perform bitrot scan on local disk when checking objects.
    	Bitrot string `json:"bitrotscan"`
    
    	// maximum sleep duration between objects to slow down heal operation.
    	Sleep   time.Duration `json:"sleep"`
    	IOCount int           `json:"iocount"`
    
    	DriveWorkers int `json:"drive_workers"`
    
    	// Cached value from Bitrot field
    	cache struct {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Mon Nov 04 19:06:02 GMT 2024
    - 4.9K bytes
    - Click Count (0)
  9. internal/dsync/utils.go

    		panic("unit cannot exceed one hour")
    	}
    	return func(r *rand.Rand, attempt uint) time.Duration {
    		sleep := minSleep
    		sleep += unit * time.Duration(attempt)
    		if sleep > maxSleep {
    			sleep = maxSleep
    		}
    		sleep -= time.Duration(r.Float64() * float64(sleep))
    		return sleep
    	}
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Mon Nov 11 14:51:43 GMT 2024
    - 1.2K bytes
    - Click Count (0)
  10. guava-tests/test/com/google/common/io/testdata/alice_in_wonderland.txt

    like what I get" is the same thing as "I get what I like"!'
    
      `You might just as well say,' added the Dormouse, who seemed to
    be talking in his sleep, `that "I breathe when I sleep" is the
    same thing as "I sleep when I breathe"!'
    
      `It IS the same thing with you,' said the Hatter, and here the
    conversation dropped, and the party sat silent for a minute,
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Oct 29 21:35:03 GMT 2012
    - 145.2K bytes
    - Click Count (0)
Back to Top