Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1441 - 1450 of 1,612 for path1b (0.06 seconds)

  1. docs/zh-hant/docs/tutorial/dependencies/classes-as-dependencies.md

    ## 前一個範例中的 `dict` { #a-dict-from-the-previous-example }
    
    在前一個範例中,我們從相依項("dependable")回傳了一個 `dict`:
    
    {* ../../docs_src/dependencies/tutorial001_an_py310.py hl[9] *}
    
    但接著我們在路徑操作函式(*path operation function*)的參數 `commons` 中取得的是一個 `dict`。
    
    而我們知道,編輯器對 `dict` 無法提供太多輔助(例如自動完成),因為它無法預先知道其中的鍵與值的型別。
    
    我們可以做得更好...
    
    ## 什麼算是相依性 { #what-makes-a-dependency }
    
    到目前為止,你看到的相依性都是宣告成函式。
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sat Feb 14 08:15:26 GMT 2026
    - 6.7K bytes
    - Click Count (0)
  2. src/main/webapp/js/chat.js

         */
        function sanitizeUrl(url) {
            if (!url || typeof url !== 'string') {
                return '#';
            }
            var trimmedUrl = url.trim().toLowerCase();
            // Allow http, https, and absolute path URLs
            if (trimmedUrl.startsWith('http://') || trimmedUrl.startsWith('https://') || trimmedUrl.startsWith('/')) {
                return url;
            }
            // Allow relative URLs starting with ./ or ../
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 19 01:36:02 GMT 2026
    - 30.6K bytes
    - Click Count (0)
  3. CHANGELOG/CHANGELOG-1.9.md

    * Relative paths in the Kubelet's local config files (--init-config-dir) will be resolved relative to the location of the containing files. ([#55648](https://github.com/kubernetes/kubernetes/pull/55648), [@mtaufen](https://github.com/mtaufen))
    Created: Fri Apr 03 09:05:14 GMT 2026
    - Last Modified: Tue Nov 16 10:46:27 GMT 2021
    - 313.7K bytes
    - Click Count (0)
  4. okhttp-dnsoverhttps/src/test/java/okhttp3/dnsoverhttps/DnsOverHttpsTest.kt

    import okhttp3.Dns
    import okhttp3.EventRecorder
    import okhttp3.OkHttpClient
    import okhttp3.Protocol
    import okhttp3.testing.PlatformRule
    import okio.Buffer
    import okio.ByteString.Companion.decodeHex
    import okio.Path.Companion.toPath
    import okio.fakefilesystem.FakeFileSystem
    import org.junit.jupiter.api.Assertions.fail
    import org.junit.jupiter.api.BeforeEach
    import org.junit.jupiter.api.Tag
    import org.junit.jupiter.api.Test
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Nov 04 19:13:52 GMT 2025
    - 11.9K bytes
    - Click Count (0)
  5. docs/zh/docs/fastapi-cli.md

    ```
    
    那么你可以将 `entrypoint` 设置为:
    
    ```toml
    [tool.fastapi]
    entrypoint = "backend.main:app"
    ```
    
    这等价于:
    
    ```python
    from backend.main import app
    ```
    
    ### 带路径的 `fastapi dev` { #fastapi-dev-with-path }
    
    你也可以把文件路径传给 `fastapi dev` 命令,它会猜测要使用的 FastAPI 应用对象:
    
    ```console
    $ fastapi dev main.py
    ```
    
    但每次运行 `fastapi` 命令都需要记得传入正确的路径。
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:06:37 GMT 2026
    - 5.8K bytes
    - Click Count (0)
  6. pyproject.toml

        "pytest-sugar>=1.0.0",
        "pytest-timeout>=2.4.0",
    ]
    translations = [
        "gitpython >=3.1.46",
        "pydantic-ai >=0.4.10",
        "pygithub >=2.8.1",
    ]
    
    [tool.pdm]
    version = { source = "file", path = "fastapi/__init__.py" }
    distribution = true
    
    [tool.pdm.build]
    source-includes = [
        "tests/",
        "docs_src/",
        "scripts/",
        # For a test
        "docs/en/docs/img/favicon.png",
    ]
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Mon Mar 23 12:36:49 GMT 2026
    - 10.3K bytes
    - Click Count (0)
  7. src/cmd/api/api_test.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package main
    
    import (
    	"flag"
    	"fmt"
    	"go/build"
    	"internal/testenv"
    	"os"
    	"path/filepath"
    	"slices"
    	"strings"
    	"sync"
    	"testing"
    )
    
    var flagCheck = flag.Bool("check", false, "run API checks")
    
    func TestMain(m *testing.M) {
    	flag.Parse()
    	for _, c := range contexts {
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Mon Mar 02 13:20:41 GMT 2026
    - 7.6K bytes
    - Click Count (0)
  8. src/test/java/jcifs/pac/kerberos/KerberosTicketTest.java

                assertEquals(USER_PRINCIPAL_NAME, ticket.getUserPrincipalName());
                assertEquals(USER_REALM, ticket.getUserRealm());
            }
        }
    
        // Note: Testing the code path where keys are null and retrieved from
        // KerberosCredentials requires mocking the constructor of KerberosCredentials,
        // which is not possible with standard Mockito. A tool like PowerMock would be needed.
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 11.4K bytes
    - Click Count (0)
  9. docs/ko/docs/advanced/websockets.md

    그리고 모든 메시지는 동일한 WebSocket 연결을 사용합니다.
    
    ## `Depends` 및 기타 사용하기 { #using-depends-and-others }
    
    WebSocket 엔드포인트에서 `fastapi`에서 다음을 가져와 사용할 수 있습니다:
    
    * `Depends`
    * `Security`
    * `Cookie`
    * `Header`
    * `Path`
    * `Query`
    
    이들은 다른 FastAPI 엔드포인트/*경로 처리*와 동일하게 동작합니다:
    
    {* ../../docs_src/websockets_/tutorial002_an_py310.py hl[68:69,82] *}
    
    /// info | 정보
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:06:26 GMT 2026
    - 6.3K bytes
    - Click Count (0)
  10. docs/ko/docs/fastapi-cli.md

    `entrypoint`를 다음과 같이 설정합니다:
    
    ```toml
    [tool.fastapi]
    entrypoint = "backend.main:app"
    ```
    
    이는 다음과 동일합니다:
    
    ```python
    from backend.main import app
    ```
    
    ### 경로와 함께 `fastapi dev` { #fastapi-dev-with-path }
    
    `fastapi dev` 명령어에 파일 경로를 전달할 수도 있으며, 그러면 사용할 FastAPI 앱 객체를 추정합니다:
    
    ```console
    $ fastapi dev main.py
    ```
    
    하지만 매번 `fastapi` 명령어를 호출할 때 올바른 경로를 전달하는 것을 기억해야 합니다.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:06:26 GMT 2026
    - 6.5K bytes
    - Click Count (0)
Back to Top