Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 113 for Tasks (0.13 sec)

  1. docs/ko/docs/tutorial/background-tasks.md

    그리고 이 작업은 `async`와 `await`를 사용하지 않으므로 일반 `def` 함수로 선언합니다.
    
    ```Python hl_lines="6-9"
    {!../../../docs_src/background_tasks/tutorial001.py!}
    ```
    
    ## 백그라운드 작업 추가
    
    _경로 작동 함수_ 내에서 작업 함수를 `.add_task()` 함수 통해 _백그라운드 작업_ 개체에 전달합니다.
    
    ```Python hl_lines="14"
    {!../../../docs_src/background_tasks/tutorial001.py!}
    ```
    
    `.add_task()` 함수는 다음과 같은 인자를 받습니다 :
    
    - 백그라운드에서 실행되는 작업 함수 (`write_notification`).
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sun Feb 11 13:48:31 GMT 2024
    - 5.7K bytes
    - Viewed (0)
  2. docs/de/docs/tutorial/background-tasks.md

        ```Python hl_lines="13  15  22  25"
        {!> ../../../docs_src/background_tasks/tutorial002_an_py310.py!}
        ```
    
    === "Python 3.9+"
    
        ```Python hl_lines="13  15  22  25"
        {!> ../../../docs_src/background_tasks/tutorial002_an_py39.py!}
        ```
    
    === "Python 3.8+"
    
        ```Python hl_lines="14  16  23  26"
        {!> ../../../docs_src/background_tasks/tutorial002_an.py!}
        ```
    
    === "Python 3.10+ nicht annotiert"
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Jan 12 14:15:29 GMT 2024
    - 6.4K bytes
    - Viewed (0)
  3. docs/ja/docs/tutorial/background-tasks.md

    また、書き込み操作では `async` と `await` を使用しないため、通常の `def` で関数を定義します。
    
    ```Python hl_lines="6-9"
    {!../../../docs_src/background_tasks/tutorial001.py!}
    ```
    
    ## バックグラウンドタスクの追加
    
    *path operations 関数* 内で、`.add_task()` メソッドを使用してタスク関数を *background tasks* オブジェクトに渡します。
    
    ```Python hl_lines="14"
    {!../../../docs_src/background_tasks/tutorial001.py!}
    ```
    
    `.add_task()` は以下の引数を受け取ります:
    
    * バックグラウンドで実行されるタスク関数 (`write_notification`)。
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Mon Jan 15 16:12:39 GMT 2024
    - 6.1K bytes
    - Viewed (0)
  4. docs/ru/docs/tutorial/background-tasks.md

    ```Python hl_lines="6-9"
    {!../../../docs_src/background_tasks/tutorial001.py!}
    ```
    
    ## Добавление фоновой задачи
    
    Внутри функции вызовите метод `.add_task()` у объекта *background tasks* и передайте ему функцию, которую хотите выполнить в фоне:
    
    ```Python hl_lines="14"
    {!../../../docs_src/background_tasks/tutorial001.py!}
    ```
    
    `.add_task()` принимает следующие аргументы:
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Tue Jan 09 15:52:07 GMT 2024
    - 8K bytes
    - Viewed (0)
  5. build-logic/jvm/src/main/kotlin/gradlebuild/jvm/extension/StrictCompileExtension.kt

     */
    package gradlebuild.jvm.extension
    
    import org.gradle.api.tasks.TaskContainer
    import org.gradle.api.tasks.compile.JavaCompile
    import org.gradle.kotlin.dsl.*
    
    
    /**
     * Strict compilation options honored by [gradlebuild.Strict_compile_gradle].
     */
    abstract class StrictCompileExtension(val tasks: TaskContainer) {
    
        fun ignoreDeprecations() {
            tasks.withType<JavaCompile>().configureEach {
    Plain Text
    - Registered: Wed Mar 27 11:36:08 GMT 2024
    - Last Modified: Thu Feb 22 11:17:19 GMT 2024
    - 1.4K bytes
    - Viewed (0)
  6. build-logic/build-update-utils/src/main/kotlin/gradlebuild.update-versions.gradle.kts

    import gradlebuild.buildutils.model.ReleasedVersion
    import gradlebuild.buildutils.tasks.UpdateAgpVersions
    import gradlebuild.buildutils.tasks.UpdateKotlinVersions
    import gradlebuild.buildutils.tasks.UpdateReleasedVersions
    import java.net.URL
    
    
    tasks.withType<UpdateReleasedVersions>().configureEach {
        releasedVersionsFile = releasedVersionsFile()
        group = "Versioning"
    }
    
    tasks.register<UpdateReleasedVersions>("updateReleasedVersions") {
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Wed Nov 29 10:17:36 GMT 2023
    - 2K bytes
    - Viewed (0)
  7. build-logic-commons/gradle-plugin/src/main/kotlin/gradlebuild.code-quality.gradle.kts

            allErrorsAsWarnings = true
        }
    }
    
    val codeQuality = tasks.register("codeQuality") {
        dependsOn(tasks.withType<CodeNarc>())
        dependsOn(tasks.withType<Checkstyle>())
        dependsOn(tasks.withType<ValidatePlugins>())
    }
    
    tasks.withType<Test>().configureEach {
        shouldRunAfter(codeQuality)
    }
    tasks.check {
        dependsOn(codeQuality)
    }
    
    val rules by configurations.creating {
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Tue Jan 30 10:26:21 GMT 2024
    - 6K bytes
    - Viewed (0)
  8. build.gradle.kts

    import com.vanniktech.maven.publish.SonatypeHost
    import java.net.URI
    import kotlinx.validation.ApiValidationExtension
    import org.gradle.api.tasks.testing.logging.TestExceptionFormat
    import org.jetbrains.dokka.gradle.DokkaTaskPartial
    import org.jetbrains.kotlin.gradle.dsl.kotlinExtension
    import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
    import ru.vyarus.gradle.plugin.animalsniffer.AnimalSnifferExtension
    
    buildscript {
      dependencies {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Thu Apr 18 01:32:42 GMT 2024
    - 8.9K bytes
    - Viewed (0)
  9. okhttp-testing-support/src/main/kotlin/okhttp3/internal/concurrent/TaskFaker.kt

        BeforeOtherTasks,
    
        /** Resumes after the already-enqueued tasks. */
        AfterEnqueuedTasks,
    
        /** Resumes after all other tasks, including tasks enqueued while yielding. */
        AfterOtherTasks,
      }
    
      /** Returns the task that was started, or null if there were no tasks to start. */
      private fun startNextTask(): SerialTask? {
        taskRunner.assertThreadHoldsLock()
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Apr 29 00:33:04 GMT 2024
    - 12.6K bytes
    - Viewed (0)
  10. build-logic/integration-testing/src/main/kotlin/gradlebuild/integrationtests/shared-configuration.kt

    import org.gradle.api.file.Directory
    import org.gradle.api.tasks.GroovySourceDirectorySet
    import org.gradle.api.tasks.InputDirectory
    import org.gradle.api.tasks.InputFiles
    import org.gradle.api.tasks.PathSensitive
    import org.gradle.api.tasks.PathSensitivity
    import org.gradle.api.tasks.SourceSet
    import org.gradle.api.tasks.SourceSetContainer
    import org.gradle.api.tasks.TaskProvider
    import org.gradle.kotlin.dsl.*
    Plain Text
    - Registered: Wed Mar 27 11:36:08 GMT 2024
    - Last Modified: Mon Feb 12 13:19:06 GMT 2024
    - 11.7K bytes
    - Viewed (0)
Back to top