Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 22 for Pin (0.27 seconds)

  1. docs/en/docs/deployment/versions.md

    ## Pin your `fastapi` version { #pin-your-fastapi-version }
    
    The first thing you should do is to "pin" the version of **FastAPI** you are using to the specific latest version that you know works correctly for your application.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 3.4K bytes
    - Click Count (0)
  2. ci/official/requirements_updater/requirements.in

    auditwheel >= 6.1.0
    # Install tensorboard, and keras
    # Note that here we want the latest version that matches TF major.minor version
    # Note that we must use nightly here as these are used in nightly jobs
    # For release jobs, we will pin these on the release branch
    keras-nightly ~= 3.12.0.dev
    tb-nightly ~= 2.20.0.a
    # For new protobuf, if V.x.y is gencode version, then runtime version U must be
    # V <= U <= V+1
    Created: Tue Apr 07 12:39:13 GMT 2026
    - Last Modified: Tue Mar 10 13:31:27 GMT 2026
    - 1.5K bytes
    - Click Count (0)
  3. docs/zh/docs/deployment/versions.md

    经常添加新功能,定期修复错误,并且代码仍在持续改进。
    
    这就是为什么当前版本仍然是`0.x.x`,这反映出每个版本都可能有Breaking changes。 这遵循[语义版本控制](https://semver.org/)的约定。
    
    你现在就可以使用 **FastAPI** 创建生产环境应用程序(你可能已经这样做了一段时间),你只需确保使用的版本可以与其余代码正确配合即可。
    
    ## 固定你的 `fastapi` 版本 { #pin-your-fastapi-version }
    
    你应该做的第一件事是将你正在使用的 **FastAPI** 版本“固定”到你知道适用于你的应用程序的特定最新版本。
    
    例如,假设你在应用程序中使用版本`0.112.0`。
    
    如果你使用`requirements.txt`文件,你可以使用以下命令指定版本:
    
    ```txt
    fastapi[standard]==0.112.0
    ```
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:06:37 GMT 2026
    - 3.2K bytes
    - Click Count (0)
  4. okhttp/src/jvmTest/kotlin/okhttp3/InterceptorOverridesTest.kt

    import kotlin.time.Duration.Companion.nanoseconds
    import mockwebserver3.MockResponse
    import mockwebserver3.MockWebServer
    import mockwebserver3.junit5.StartStop
    import okhttp3.CertificatePinner.Companion.pin
    import okhttp3.Headers.Companion.headersOf
    import okhttp3.internal.connection.ConnectionListener
    import okhttp3.internal.platform.Platform
    import okhttp3.testing.PlatformRule
    import okio.BufferedSink
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed Mar 11 02:37:00 GMT 2026
    - 28.8K bytes
    - Click Count (0)
  5. okhttp/api/jvm/okhttp.api

    }
    
    public final class okhttp3/CertificatePinner$Companion {
    	public final fun pin (Ljava/security/cert/Certificate;)Ljava/lang/String;
    	public final fun sha1Hash (Ljava/security/cert/X509Certificate;)Lokio/ByteString;
    	public final fun sha256Hash (Ljava/security/cert/X509Certificate;)Lokio/ByteString;
    }
    
    public final class okhttp3/CertificatePinner$Pin {
    	public fun <init> (Ljava/lang/String;Ljava/lang/String;)V
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Mar 10 21:47:20 GMT 2026
    - 72.3K bytes
    - Click Count (0)
  6. okhttp/src/jvmTest/kotlin/okhttp3/KotlinSourceModernTest.kt

        val certificates: List<Certificate> = listOf()
        certificatePinner.check("", listOf(certificate))
        certificatePinner.check("", arrayOf<Certificate>(certificate, certificate).toList())
        val pin: String = CertificatePinner.pin(certificate)
        val default: CertificatePinner = CertificatePinner.DEFAULT
      }
    
      @Test
      fun certificatePinnerBuilder() {
        val builder: CertificatePinner.Builder = CertificatePinner.Builder()
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Mar 10 21:47:20 GMT 2026
    - 49.7K bytes
    - Click Count (0)
  7. okhttp/api/android/okhttp.api

    }
    
    public final class okhttp3/CertificatePinner$Companion {
    	public final fun pin (Ljava/security/cert/Certificate;)Ljava/lang/String;
    	public final fun sha1Hash (Ljava/security/cert/X509Certificate;)Lokio/ByteString;
    	public final fun sha256Hash (Ljava/security/cert/X509Certificate;)Lokio/ByteString;
    }
    
    public final class okhttp3/CertificatePinner$Pin {
    	public fun <init> (Ljava/lang/String;Ljava/lang/String;)V
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Mar 10 21:47:20 GMT 2026
    - 72.3K bytes
    - Click Count (0)
  8. okhttp/src/jvmTest/kotlin/okhttp3/CallTest.kt

        val request1 = Request.Builder().url(server.url("/")).build()
        val response1 = client.newCall(request1).execute()
        val certificatePinnerBuilder = CertificatePinner.Builder()
        for (certificate in response1.handshake!!.peerCertificates) {
          certificatePinnerBuilder.add(
            server.hostName,
            pin(certificate),
          )
        }
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Sun Mar 15 09:02:18 GMT 2026
    - 146.5K bytes
    - Click Count (0)
  9. docs/ko/docs/deployment/versions.md

    지금 바로 **FastAPI**로 프로덕션 애플리케이션을 만들 수 있습니다(그리고 아마도 한동안 그렇게 해오셨을 것입니다). 다만 나머지 코드와 함께 올바르게 동작하는 버전을 사용하고 있는지 확인하기만 하면 됩니다.
    
    ## `fastapi` 버전을 고정하기 { #pin-your-fastapi-version }
    
    가장 먼저 해야 할 일은 여러분의 애플리케이션에서 올바르게 동작하는 것으로 알고 있는 **FastAPI**의 최신 구체 버전에 맞춰 사용 중인 버전을 "고정(pin)"하는 것입니다.
    
    예를 들어, 앱에서 `0.112.0` 버전을 사용하고 있다고 가정해 보겠습니다.
    
    `requirements.txt` 파일을 사용한다면 다음과 같이 버전을 지정할 수 있습니다:
    
    ```txt
    fastapi[standard]==0.112.0
    ```
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:06:26 GMT 2026
    - 4.2K bytes
    - Click Count (0)
  10. docs/zh-hant/docs/deployment/versions.md

    這就是為什麼目前版本仍為 `0.x.x`,這表示每個版本都可能包含破壞性變更。這遵循 [語意化版本(Semantic Versioning)](https://semver.org/) 的慣例。
    
    你現在就可以用 **FastAPI** 建置生產環境的應用(而且你可能已經這麼做一段時間了),只要確保你使用的版本能與其餘程式碼正確相容。
    
    ## 鎖定你的 `fastapi` 版本 { #pin-your-fastapi-version }
    
    首先,你應該將你使用的 **FastAPI** 版本「鎖定(pin)」到你知道對你的應用可正常運作的最新特定版本。
    
    例如,假設你的應用使用 `0.112.0` 版本。
    
    如果你使用 `requirements.txt` 檔案,可以這樣指定版本:
    
    ```txt
    fastapi[standard]==0.112.0
    ```
    
    這表示你會使用完全相同的 `0.112.0` 版本。
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:05:38 GMT 2026
    - 3.1K bytes
    - Click Count (0)
Back to Top