Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 785 for init (0.15 sec)

  1. .teamcity/src/main/kotlin/promotion/PublishBranchSnapshotFromQuickFeedback.kt

        triggerName = "QuickFeedback",
        prepTask = "prepSnapshot",
        promoteTask = "promoteSnapshot",
        extraParameters = "-PpromotedBranch=%branch.qualifier% ",
        vcsRootId = gradlePromotionBranches
    ) {
        init {
            id("Promotion_PublishBranchSnapshotFromQuickFeedback")
            name = "Publish Branch Snapshot (from Quick Feedback)"
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Tue Dec 05 00:08:14 GMT 2023
    - 1.9K bytes
    - Viewed (0)
  2. docs/de/docs/how-to/custom-docs-ui-assets.md

    Nehmen wir an, die Dateistruktur Ihres Projekts sieht folgendermaßen aus:
    
    ```
    .
    ├── app
    │   ├── __init__.py
    │   ├── main.py
    ```
    
    Erstellen Sie jetzt ein Verzeichnis zum Speichern dieser statischen Dateien.
    
    Ihre neue Dateistruktur könnte so aussehen:
    
    ```
    .
    ├── app
    │   ├── __init__.py
    │   ├── main.py
    └── static/
    ```
    
    ### Die Dateien herunterladen
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Sat Mar 30 18:17:36 GMT 2024
    - 9.2K bytes
    - Viewed (0)
  3. .teamcity/src/main/kotlin/promotion/BasePromotionBuildType.kt

    import jetbrains.buildServer.configs.kotlin.BuildType
    import jetbrains.buildServer.configs.kotlin.CheckoutMode
    
    abstract class BasePromotionBuildType(vcsRootId: String, cleanCheckout: Boolean = true) : BuildType() {
        init {
            vcs {
                root(AbsoluteId(vcsRootId))
    
                checkoutMode = CheckoutMode.ON_AGENT
                this.cleanCheckout = cleanCheckout
                showDependenciesChanges = true
            }
    
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Wed Apr 24 03:34:53 GMT 2024
    - 2.1K bytes
    - Viewed (0)
  4. docs/zh/docs/advanced/extending-openapi.md

    这种做法很常用,例如,在没有联网或本地局域网时也能让应用在离线状态下正常运行。
    
    本文介绍如何为 FastAPI 应用提供文件自托管服务,并设置文档使用这些文件。
    
    ### 项目文件架构
    
    假设项目文件架构如下:
    
    ```
    .
    ├── app
    │   ├── __init__.py
    │   ├── main.py
    ```
    
    接下来,创建存储静态文件的文件夹。
    
    新的文件架构如下:
    
    ```
    .
    ├── app
    │   ├── __init__.py
    │   ├── main.py
    └── static/
    ```
    
    ### 下载文件
    
    下载文档所需的静态文件,把文件放到 `static/` 文件夹里。
    
    右键点击链接,选择**另存为...**。
    
    Plain Text
    - Registered: Sun Mar 31 07:19:09 GMT 2024
    - Last Modified: Sat Mar 30 22:46:12 GMT 2024
    - 7.7K bytes
    - Viewed (0)
  5. docs/en/docs/tutorial/testing.md

    ```
    .
    ├── app
    │   ├── __init__.py
    │   └── main.py
    ```
    
    In the file `main.py` you have your **FastAPI** app:
    
    
    ```Python
    {!../../../docs_src/app_testing/main.py!}
    ```
    
    ### Testing file
    
    Then you could have a file `test_main.py` with your tests. It could live on the same Python package (the same directory with a `__init__.py` file):
    
    ``` hl_lines="5"
    .
    ├── app
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 6.2K bytes
    - Viewed (0)
  6. okhttp/src/test/java/okhttp3/internal/platform/android/AndroidSocketAdapterTest.kt

      }
    
      val context: SSLContext by lazy {
        val provider: Provider = Conscrypt.newProviderBuilder().provideTrustManager(true).build()
    
        SSLContext.getInstance("TLS", provider).apply {
          init(null, null, null)
        }
      }
    
      @ParameterizedTest
      @MethodSource("data")
      fun testMatchesSupportedSocket(adapter: SocketAdapter) {
        val socketFactory = context.socketFactory
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 3.6K bytes
    - Viewed (0)
  7. docs/zh/docs/advanced/advanced-dependencies.md

    {!../../../docs_src/dependencies/tutorial011.py!}
    ```
    
    本例中,**FastAPI**  使用 `__call__` 检查附加参数及子依赖项,稍后,还要调用它向*路径操作函数*传递值。
    
    ## 参数化实例
    
    接下来,使用 `__init__` 声明用于**参数化**依赖项的实例参数:
    
    ```Python hl_lines="7"
    {!../../../docs_src/dependencies/tutorial011.py!}
    ```
    
    本例中,**FastAPI** 不使用 `__init__`,我们要直接在代码中使用。
    
    ## 创建实例
    
    使用以下代码创建类实例:
    
    ```Python hl_lines="16"
    {!../../../docs_src/dependencies/tutorial011.py!}
    ```
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Sun Jan 28 18:26:57 GMT 2024
    - 2K bytes
    - Viewed (0)
  8. .teamcity/src/main/kotlin/configurations/PerformanceTest.kt

        description: String,
        performanceSubProject: String,
        val testProjects: List<String>,
        val bucketIndex: Int,
        extraParameters: String = "",
        performanceTestTaskSuffix: String = "PerformanceTest",
        preBuildSteps: BuildSteps.() -> Unit = {}
    ) : BaseGradleBuildType(
        stage = stage,
        init = {
            this.id(performanceTestBuildSpec.asConfigurationId(model, "bucket${bucketIndex + 1}"))
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Wed Apr 24 08:17:56 GMT 2024
    - 5.3K bytes
    - Viewed (0)
  9. pyproject.toml

        "orjson >=3.2.1",
        "email_validator >=2.0.0",
        "uvicorn[standard] >=0.12.0",
        "pydantic-settings >=2.0.0",
        "pydantic-extra-types >=2.0.0",
    ]
    
    [tool.hatch.version]
    path = "fastapi/__init__.py"
    
    [tool.mypy]
    strict = true
    
    [[tool.mypy.overrides]]
    module = "fastapi.concurrency"
    warn_unused_ignores = false
    ignore_missing_imports = true
    
    [[tool.mypy.overrides]]
    module = "fastapi.tests.*"
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Tue Apr 02 02:28:39 GMT 2024
    - 7K bytes
    - Viewed (0)
  10. mockwebserver-junit4/api/mockwebserver3-junit4.api

    public final class mockwebserver3/junit4/MockWebServerRule : org/junit/rules/ExternalResource {
    	public static final field Companion Lmockwebserver3/junit4/MockWebServerRule$Companion;
    	public fun <init> ()V
    	public final fun getServer ()Lmockwebserver3/MockWebServer;
    }
    
    public final class mockwebserver3/junit4/MockWebServerRule$Companion {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Feb 26 19:17:33 GMT 2022
    - 346 bytes
    - Viewed (0)
Back to top