Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 304 for ioperation (0.16 sec)

  1. docs/en/docs/tutorial/dependencies/dependencies-in-path-operation-decorators.md

    In some cases you don't really need the return value of a dependency inside your *path operation function*.
    
    Or the dependency doesn't return a value.
    
    But you still need it to be executed/solved.
    
    For those cases, instead of declaring a *path operation function* parameter with `Depends`, you can add a `list` of `dependencies` to the *path operation decorator*.
    
    ## Add `dependencies` to the *path operation decorator*
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sat May 18 23:43:13 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  2. docs/en/docs/advanced/path-operation-advanced-configuration.md

    ## OpenAPI Extra
    
    When you declare a *path operation* in your application, **FastAPI** automatically generates the relevant metadata about that *path operation* to be included in the OpenAPI schema.
    
    !!! note "Technical details"
        In the OpenAPI specification it is called the <a href="https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.0.3.md#operation-object" class="external-link" target="_blank">Operation Object</a>.
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sat May 18 23:43:13 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  3. platforms/core-runtime/logging/src/main/java/org/gradle/internal/logging/sink/ProgressLogEventGenerator.java

            for (Operation operation : operations.values()) {
                operation.completeHeader();
            }
            listener.onOutput(event);
        }
    
        private void onComplete(ProgressCompleteEvent progressCompleteEvent) {
            if (operations.isEmpty()) {
                return;
            }
            Operation operation = operations.remove(progressCompleteEvent.getProgressOperationId());
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 13:09:37 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  4. platforms/core-configuration/core-serialization-codecs/src/main/kotlin/org/gradle/internal/serialize/codecs/core/jos/RecordingObjectOutputStream.kt

        private
        val operations = mutableListOf<suspend WriteContext.() -> Unit>()
    
        suspend fun WriteContext.playback() {
            withBeanTrace(beanType) {
                operations.forEach { operation ->
                    operation()
                }
            }
        }
    
        private
        fun record(operation: suspend WriteContext.() -> Unit) {
            operations.add(operation)
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 23:09:56 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  5. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r51/TransformProgressEventCrossVersionSpec.groovy

            given:
            withFileSizerTransform()
    
            when:
            runBuild("resolve", EnumSet.complementOf(EnumSet.of(OperationType.TRANSFORM)))
    
            then:
            events.operations.findAll { it.transform }.empty
        }
    
        def "reports dependencies of transform operations"() {
            given:
            buildFile << """
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 9K bytes
    - Viewed (0)
  6. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/fixture/CrossVersionToolingApiSpecificationRetryTest.groovy

            given:
            iteration++
    
            when:
            logToFakeDaemonLog('java.net.SocketException: Socket operation on nonsocket: no further information')
            throwWhen(new IOException("Could not dispatch a message to the daemon.",
                new IOException("Some exception in the chain",
                    new IOException("An existing connection was forcibly closed by the remote host"))), iteration == 1)
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Jun 10 06:17:20 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  7. platforms/ide/problems-api/src/main/java/org/gradle/api/problems/internal/DefaultProblemReporter.java

            action.execute(defaultProblemBuilder);
            return defaultProblemBuilder.build();
        }
    
        /**
         * Reports a problem.
         * <p>
         * The current build operation is used as the operation identifier.
         * If there is no current build operation, the problem is not reported.
         *
         * @param problem The problem to report.
         */
        @Override
        public void report(Problem problem) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 04 08:30:15 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  8. platforms/core-runtime/build-profile/src/main/java/org/gradle/profile/BuildProfile.java

        }
    
        public CompositeOperation<Operation> getProjectConfiguration() {
            List<Operation> operations = new ArrayList<>();
            for (ProjectProfile projectProfile : projects.values()) {
                operations.add(projectProfile.getConfigurationOperation());
            }
            operations = CollectionUtils.sort(operations, Operation.slowestFirst());
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 13:09:39 UTC 2024
    - 9.3K bytes
    - Viewed (0)
  9. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r35/CacheableTaskProgressEventsCrossVersionSpec.groovy

            then:
            readingOperations(pullFromCacheResults).size() == maybeIncludeLocalBuildOperations(1)
        }
    
        private static List<Operation> writingOperations(ProgressEvents pushToCacheEvents) {
            def pushTaskOperation = pushToCacheEvents.operation("Task :cacheable")
            def writingOperations = pushTaskOperation.descendants {
                it.descriptor.displayName =~ /Store entry .+ in (local|remote) build cache/ ||
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  10. platforms/core-execution/workers/src/test/groovy/org/gradle/workers/internal/WorkerDaemonFactoryTest.groovy

     * limitations under the License.
     */
    
    package org.gradle.workers.internal
    
    import org.gradle.internal.operations.BuildOperationContext
    import org.gradle.internal.operations.BuildOperationRef
    import org.gradle.internal.operations.BuildOperationRunner
    import spock.lang.Specification
    import spock.lang.Subject
    
    class WorkerDaemonFactoryTest extends Specification {
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 30 19:57:50 UTC 2024
    - 4K bytes
    - Viewed (0)
Back to top