- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 785 for init (0.17 sec)
-
docs/zh/docs/tutorial/bigger-applications.md
## 一个文件结构示例 假设你的文件结构如下: ``` . ├── app │ ├── __init__.py │ ├── main.py │ ├── dependencies.py │ └── routers │ │ ├── __init__.py │ │ ├── items.py │ │ └── users.py │ └── internal │ ├── __init__.py │ └── admin.py ``` !!! tip 上面有几个 `__init__.py` 文件:每个目录或子目录中都有一个。 这就是能将代码从一个文件导入到另一个文件的原因。 例如,在 `app/main.py` 中,你可以有如下一行:
Plain Text - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Thu Apr 18 19:53:19 GMT 2024 - 18.5K bytes - Viewed (0) -
.teamcity/src/main/kotlin/configurations/SanityCheck.kt
package configurations import model.CIBuildModel import model.Stage class SanityCheck(model: CIBuildModel, stage: Stage) : BaseGradleBuildType(stage = stage, init = { id(buildTypeId(model)) name = "Sanity Check" description = "Static code analysis, checkstyle, release notes verification, etc." features { publishBuildStatusToGithub(model) } applyDefaults( model, this,
Plain Text - Registered: Wed May 01 11:36:15 GMT 2024 - Last Modified: Tue Nov 30 11:15:05 GMT 2021 - 708 bytes - Viewed (0) -
okhttp-urlconnection/api/okhttp-urlconnection.api
public final class okhttp3/JavaNetAuthenticator : okhttp3/Authenticator { public fun <init> ()V public fun authenticate (Lokhttp3/Route;Lokhttp3/Response;)Lokhttp3/Request; } public final class okhttp3/JavaNetCookieJar : okhttp3/CookieJar { public fun <init> (Ljava/net/CookieHandler;)V public fun loadForRequest (Lokhttp3/HttpUrl;)Ljava/util/List; public fun saveFromResponse (Lokhttp3/HttpUrl;Ljava/util/List;)V
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Sat Feb 26 19:17:33 GMT 2022 - 423 bytes - Viewed (0) -
.teamcity/src/main/kotlin/configurations/FunctionalTestsPass.kt
import model.CIBuildModel import model.TestCoverage import projects.FunctionalTestProject class FunctionalTestsPass(model: CIBuildModel, functionalTestProject: FunctionalTestProject) : BaseGradleBuildType(init = { id("${functionalTestProject.testCoverage.asId(model)}_Trigger") name = functionalTestProject.name + " (Trigger)" type = Type.COMPOSITE applyDefaultSettings() features {
Plain Text - Registered: Wed May 01 11:36:15 GMT 2024 - Last Modified: Thu May 06 17:20:10 GMT 2021 - 1.3K bytes - Viewed (0) -
.teamcity/src/main/kotlin/configurations/GitHubMergeQueueCheckPass.kt
import jetbrains.buildServer.configs.kotlin.triggers.vcs import model.CIBuildModel import model.StageName class GitHubMergeQueueCheckPass(model: CIBuildModel) : BaseGradleBuildType(init = { id("${model.projectId}_GitHubMergeQueueCheckPass") uuid = "${DslContext.uuidPrefix}_${model.projectId}_GitHubMergeQueueCheckPass" name = "GitHub Merge Queue Check Pass" type = Type.COMPOSITE vcs {
Plain Text - Registered: Wed May 01 11:36:15 GMT 2024 - Last Modified: Tue Jan 23 05:43:32 GMT 2024 - 1.5K bytes - Viewed (0) -
docs/features/https.md
=== ":material-language-kotlin: Kotlin" ```kotlin private val client: OkHttpClient init { val trustManager = trustManagerForCertificates(trustedCertificatesInputStream()) val sslContext = SSLContext.getInstance("TLS") sslContext.init(null, arrayOf<TrustManager>(trustManager), null) val sslSocketFactory = sslContext.socketFactory
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Sat Dec 24 00:16:30 GMT 2022 - 10.5K bytes - Viewed (0) -
okhttp-sse/api/okhttp-sse.api
public abstract fun newEventSource (Lokhttp3/Request;Lokhttp3/sse/EventSourceListener;)Lokhttp3/sse/EventSource; } public abstract class okhttp3/sse/EventSourceListener { public fun <init> ()V public fun onClosed (Lokhttp3/sse/EventSource;)V public fun onEvent (Lokhttp3/sse/EventSource;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Sun Dec 17 14:39:59 GMT 2023 - 1.1K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/tls/BasicTrustRootIndex.kt
class BasicTrustRootIndex(vararg caCerts: X509Certificate) : TrustRootIndex { private val subjectToCaCerts: Map<X500Principal, Set<X509Certificate>> init { val map = mutableMapOf<X500Principal, MutableSet<X509Certificate>>() for (caCert in caCerts) { map.getOrPut(caCert.subjectX500Principal) { mutableSetOf() }.add(caCert) } this.subjectToCaCerts = map
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 1.8K bytes - Viewed (0) -
okhttp-android/api/okhttp-android.api
public final class okhttp3/android/AndroidAsyncDns : okhttp3/AsyncDns { public static final field Companion Lokhttp3/android/AndroidAsyncDns$Companion; public fun <init> (Lokhttp3/AsyncDns$DnsClass;Landroid/net/Network;)V public synthetic fun <init> (Lokhttp3/AsyncDns$DnsClass;Landroid/net/Network;ILkotlin/jvm/internal/DefaultConstructorMarker;)V public fun query (Ljava/lang/String;Lokhttp3/AsyncDns$Callback;)V }
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Apr 01 11:07:32 GMT 2024 - 1.3K bytes - Viewed (1) -
docs/em/docs/advanced/testing-database.md
## 📁 📊 👥 ✍ 🆕 📁 `sql_app/tests/test_sql_app.py`. 🆕 📁 📊 👀 💖: ``` hl_lines="9-11" . └── sql_app ├── __init__.py ├── crud.py ├── database.py ├── main.py ├── models.py ├── schemas.py └── tests ├── __init__.py └── test_sql_app.py ``` ## ✍ 🆕 💽 🎉 🥇, 👥 ✍ 🆕 💽 🎉 ⏮️ 🆕 💽. 💯 👥 🔜 ⚙️ 📁 `test.db` ↩️ `sql_app.db`.
Plain Text - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Sat Apr 01 09:26:04 GMT 2023 - 2.6K bytes - Viewed (0)