Search Options

Results per page
Sort
Preferred Languages
Advance

Results 151 - 160 of 1,110 for curl (0.02 sec)

  1. docs/vi/docs/tutorial/index.md

    <div class="termy">
    
    ```console
    $ uvicorn main:app --reload
    
    <span style="color: green;">INFO</span>:     Uvicorn running on http://127.0.0.1:8000 (Press CTRL+C to quit)
    <span style="color: green;">INFO</span>:     Started reloader process [28720]
    <span style="color: green;">INFO</span>:     Started server process [28722]
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Aug 06 04:48:30 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  2. docs/zh/docs/tutorial/index.md

    要运行任何示例,请将代码复制到 `main.py` 文件中,然后使用以下命令启动 `uvicorn`:
    
    <div class="termy">
    
    ```console
    $ uvicorn main:app --reload
    
    <span style="color: green;">INFO</span>:     Uvicorn running on http://127.0.0.1:8000 (Press CTRL+C to quit)
    <span style="color: green;">INFO</span>:     Started reloader process [28720]
    <span style="color: green;">INFO</span>:     Started server process [28722]
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Aug 06 04:48:30 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  3. docs/en/docs/tutorial/first-steps.md

    ```
    
    </div>
    
    In the output, there's a line with something like:
    
    ```hl_lines="4"
    INFO:     Uvicorn running on http://127.0.0.1:8000 (Press CTRL+C to quit)
    ```
    
    That line shows the URL where your app is being served, in your local machine.
    
    ### Check it
    
    Open your browser at <a href="http://127.0.0.1:8000" class="external-link" target="_blank">http://127.0.0.1:8000</a>.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Oct 26 11:48:16 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  4. cmd/bucket-replication-stats.go

    func (r *ReplicationStats) ActiveWorkers() ActiveWorkerStat {
    	if r == nil {
    		return ActiveWorkerStat{}
    	}
    	r.wlock.RLock()
    	defer r.wlock.RUnlock()
    	w := r.workers.get()
    	return ActiveWorkerStat{
    		Curr: w.Curr,
    		Max:  w.Max,
    		Avg:  w.Avg,
    	}
    }
    
    func (r *ReplicationStats) collectWorkerMetrics(ctx context.Context) {
    	if r == nil {
    		return
    	}
    	for {
    		select {
    		case <-ctx.Done():
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 15 12:04:40 UTC 2024
    - 13.6K bytes
    - Viewed (0)
  5. docs/ko/docs/fastapi-cli.md

    <font color="#4E9A06">INFO</font>:     Will watch for changes in these directories: [&apos;/home/user/code/awesomeapp&apos;]
    <font color="#4E9A06">INFO</font>:     Uvicorn running on <b>http://127.0.0.1:8000</b> (Press CTRL+C to quit)
    <font color="#4E9A06">INFO</font>:     Started reloader process [<font color="#34E2E2"><b>2265862</b></font>] using <font color="#34E2E2"><b>WatchFiles</b></font>
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Mon Oct 28 11:29:32 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  6. docs/uk/docs/python-types.md

    Тоді ви спробуєте давнього друга програміста - автозаповнення редактора коду.
    
    Ви надрукуєте перший параметр функції, `first_name`, тоді крапку (`.`), а тоді натиснете `Ctrl+Space`, щоб запустити автозаповнення.
    
    Але, на жаль, ви не отримаєте нічого корисного:
    
    <img src="/img/python-types/image01.png">
    
    ### Додайте типи
    
    Давайте змінимо один рядок з попередньої версії.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 19.5K bytes
    - Viewed (0)
  7. docs/zh/docs/python-types.md

    现在假设你将从头开始编写这段程序。
    
    在某一时刻,你开始定义函数,并且准备好了参数...。
    
    现在你需要调用一个"将第一个字母转换为大写形式的方法"。
    
    等等,那个方法是什么来着?`upper`?还是 `uppercase`?`first_uppercase`?`capitalize`?
    
    然后你尝试向程序员老手的朋友——编辑器自动补全寻求帮助。
    
    输入函数的第一个参数 `first_name`,输入点号(`.`)然后敲下 `Ctrl+Space` 来触发代码补全。
    
    但遗憾的是并没有起什么作用:
    
    <img src="https://fastapi.tiangolo.com/img/python-types/image01.png">
    
    ### 添加类型
    
    让我们来修改上面例子的一行代码。
    
    我们将把下面这段代码中的函数参数从:
    
    ```Python
        first_name, last_name
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 8.6K bytes
    - Viewed (0)
  8. docs/ko/docs/python-types.md

    여러분은 매개변수를 준비했고, 함수를 정의하기 시작했을 겁니다.
    
    이때 "첫 글자를 대문자로 바꾸는 함수"를 호출해야 합니다.
    
    `upper`였나? 아니면 `uppercase`? `first_uppercase`? `capitalize`?
    
    그때 개발자들의 오랜 친구, 에디터 자동완성을 시도해봅니다.
    
    당신은 `first_name`를 입력한 뒤 점(`.`)을 입력하고 자동완성을 켜기 위해서 `Ctrl+Space`를 눌렀습니다.
    
    하지만 슬프게도 아무런 도움이 되지 않습니다:
    
    <img src="/img/python-types/image01.png">
    
    ### 타입 추가하기
    
    이전 버전에서 한 줄만 수정해봅시다.
    
    저희는 이 함수의 매개변수 부분:
    
    ```Python
        first_name, last_name
    ```
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 10.5K bytes
    - Viewed (0)
  9. cmd/bucket-replication-metrics.go

    	sma     *SMA             `json:"-"`
    }
    
    // Clone returns a copy of XferStats
    func (rx *XferStats) Clone() *XferStats {
    	curr := rx.curr()
    	peak := rx.Peak
    	if curr > peak {
    		peak = curr
    	}
    	return &XferStats{
    		Curr:    curr,
    		Avg:     rx.Avg,
    		Peak:    peak,
    		N:       rx.N,
    		measure: rx.measure,
    	}
    }
    
    func newXferStats() *XferStats {
    	return &XferStats{
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 15 12:04:40 UTC 2024
    - 14.2K bytes
    - Viewed (0)
  10. docs/pt/docs/python-types.md

    Em seguida, tente com o velho amigo do programador, o preenchimento automático do editor.
    
    Você digita o primeiro parâmetro da função, `first_name`, depois um ponto (`.`) e, em seguida, pressiona `Ctrl + Space` para acionar a conclusão.
    
    Mas, infelizmente, você não obtém nada útil:
    
    <img src="/img/python-types/image01.png">
    
    ### Adicionar tipos
    
    Vamos modificar uma única linha da versão anterior.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Oct 15 12:32:27 UTC 2024
    - 18K bytes
    - Viewed (0)
Back to top