Search Options

Results per page
Sort
Preferred Languages
Advance

Results 3081 - 3090 of 7,604 for KClass (0.06 sec)

  1. docs/pt/docs/tutorial/encoder.md

    Por exemplo, ele não recebe objetos `datetime`, pois estes objetos não são compatíveis com JSON.
    
    Então, um objeto `datetime` teria que ser convertido em um `str` contendo os dados no formato  <a href="https://en.wikipedia.org/wiki/ISO_8601" class="external-link" target="_blank">ISO</a>.
    
    Da mesma forma, este banco de dados não receberia um modelo Pydantic (um objeto com atributos), apenas um `dict`.
    
    Você pode usar a função `jsonable_encoder` para resolver isso.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  2. build-logic/build-update-utils/src/main/kotlin/gradlebuild/buildutils/tasks/SubprojectsInfo.kt

    import org.gradle.work.DisableCachingByDefault
    import java.io.File
    import kotlin.io.path.invariantSeparatorsPathString
    
    
    @DisableCachingByDefault(because = "Abstract super-class, not to be instantiated directly")
    abstract class SubprojectsInfo : DefaultTask() {
    
        private
        val rootPath = project.layout.projectDirectory.asFile.toPath()
    
        private
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/CollectCollectors.java

            EnumSetAccumulator::combine,
            EnumSetAccumulator::toImmutableSet,
            Collector.Characteristics.UNORDERED);
      }
    
      @IgnoreJRERequirement // see enclosing class (whose annotation Animal Sniffer ignores here...)
      private static final class EnumSetAccumulator<E extends Enum<E>> {
        @SuppressWarnings({"rawtypes", "unchecked"})
        static final Collector<Enum<?>, ?, ImmutableSet<? extends Enum<?>>> TO_IMMUTABLE_ENUM_SET =
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 17.1K bytes
    - Viewed (0)
  4. api/maven-api-core/src/main/java/org/apache/maven/api/services/SettingsBuilderException.java

    import java.io.Serial;
    import java.util.List;
    import java.util.stream.Collectors;
    
    import org.apache.maven.api.annotations.Experimental;
    
    /**
     * The Exception class throw by the {@link SettingsBuilder}.
     *
     * @since 4.0.0
     */
    @Experimental
    public class SettingsBuilderException extends MavenException {
    
        @Serial
        private static final long serialVersionUID = 4714858598345418083L;
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Wed Oct 02 21:26:05 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  5. api/maven-api-core/src/main/java/org/apache/maven/api/services/ToolchainsBuilderException.java

    import java.io.Serial;
    import java.util.List;
    import java.util.stream.Collectors;
    
    import org.apache.maven.api.annotations.Experimental;
    
    /**
     * The Exception class throw by the {@link ToolchainsBuilder}.
     *
     * @since 4.0.0
     */
    @Experimental
    public class ToolchainsBuilderException extends MavenException {
    
        @Serial
        private static final long serialVersionUID = 7899871809665729349L;
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Wed Oct 02 21:26:05 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  6. mockwebserver/src/main/kotlin/mockwebserver3/Dispatcher.kt

    import okhttp3.ExperimentalOkHttpApi
    
    /** Handler for mock server requests. */
    @ExperimentalOkHttpApi
    abstract class Dispatcher {
      /**
       * Returns a response to satisfy `request`. This method may block (for instance, to wait on
       * a CountdownLatch).
       */
      @Throws(InterruptedException::class)
      abstract fun dispatch(request: RecordedRequest): MockResponse
    
      /**
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Tue Jan 23 14:31:42 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/sso/oic/OpenIdConnectAuthenticatorTest.java

    import java.util.HashMap;
    import java.util.Map;
    
    import org.codelibs.fess.app.web.base.login.OpenIdConnectCredential;
    import org.codelibs.fess.unit.UnitFessTestCase;
    import org.codelibs.fess.util.DocumentUtil;
    
    public class OpenIdConnectAuthenticatorTest extends UnitFessTestCase {
        public void test_parseJwtClaim() throws IOException {
            // Setup
            OpenIdConnectAuthenticator authenticator = new OpenIdConnectAuthenticator();
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:11:58 UTC 2024
    - 2K bytes
    - Viewed (0)
  8. android/guava-testlib/test/com/google/common/collect/testing/features/AndroidIncompatible.java

    import static java.lang.annotation.ElementType.FIELD;
    import static java.lang.annotation.ElementType.METHOD;
    import static java.lang.annotation.ElementType.TYPE;
    import static java.lang.annotation.RetentionPolicy.CLASS;
    
    import com.google.common.annotations.GwtCompatible;
    import java.lang.annotation.Retention;
    import java.lang.annotation.Target;
    
    /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Apr 21 02:27:51 UTC 2017
    - 1.6K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/graph/StandardMutableDirectedGraphTest.java

    import org.junit.runners.Parameterized;
    import org.junit.runners.Parameterized.Parameters;
    
    /** Tests for a directed {@link StandardMutableGraph}. */
    @AndroidIncompatible
    @RunWith(Parameterized.class)
    public final class StandardMutableDirectedGraphTest extends AbstractStandardDirectedGraphTest {
    
      @Parameters(name = "allowsSelfLoops={0}, incidentEdgeOrder={1}")
      public static Collection<Object[]> parameters() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Mar 10 17:54:18 UTC 2020
    - 2K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/io/TestByteSource.java

    import java.io.IOException;
    import java.io.InputStream;
    import java.util.Random;
    
    /**
     * A byte source for testing that has configurable behavior.
     *
     * @author Colin Decker
     */
    public final class TestByteSource extends ByteSource implements TestStreamSupplier {
    
      private final byte[] bytes;
      private final ImmutableSet<TestOption> options;
    
      private boolean inputStreamOpened;
      private boolean inputStreamClosed;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Apr 21 02:27:51 UTC 2017
    - 1.9K bytes
    - Viewed (0)
Back to top