Search Options

Results per page
Sort
Preferred Languages
Advance

Results 4161 - 4170 of 6,186 for classe (0.06 sec)

  1. tests/test_validate_response_dataclass.py

    import pytest
    from fastapi import FastAPI
    from fastapi.exceptions import ResponseValidationError
    from fastapi.testclient import TestClient
    from pydantic.dataclasses import dataclass
    
    app = FastAPI()
    
    
    @dataclass
    class Item:
        name: str
        price: Optional[float] = None
        owner_ids: Optional[List[int]] = None
    
    
    @app.get("/items/invalid", response_model=Item)
    def get_invalid():
        return {"name": "invalid", "price": "foo"}
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jul 07 17:12:13 UTC 2023
    - 1.2K bytes
    - Viewed (0)
  2. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/AcceptedApiChange.groovy

     * limitations under the License.
     */
    
    package gradlebuild.binarycompatibility
    
    import groovy.transform.Immutable
    import groovy.transform.ToString
    
    @Immutable @ToString
    class AcceptedApiChange {
        String type
        String member
        String acceptation
        List<String> changes
    
        ApiChange toApiChange() {
            return new ApiChange(type, member, changes ?: [])
        }
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 952 bytes
    - Viewed (0)
  3. fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/exception/OpenSearchAccessException.java

     */
    package org.codelibs.fess.crawler.exception;
    
    public class OpenSearchAccessException extends CrawlerSystemException {
    
        private static final long serialVersionUID = 1L;
    
        public OpenSearchAccessException(final String message) {
            super(message);
        }
    
        public OpenSearchAccessException(final String message, final Throwable cause) {
            super(message, cause);
        }
    
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Nov 07 04:44:10 UTC 2024
    - 1010 bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/suggest/converter/KatakanaConverterTest.java

     * governing permissions and limitations under the License.
     */
    package org.codelibs.fess.suggest.converter;
    
    import junit.framework.TestCase;
    
    public class KatakanaConverterTest extends TestCase {
        public void test_convert() throws Exception {
            /*
             * TODO ReadingConverter converter = new KatakanaConverter(); converter.init(); assertEquals("ケンサク",
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:54 UTC 2024
    - 1001 bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/net/InternetDomainName.java

      /** The full domain name, converted to lower case. */
      private final String name;
    
      /** The parts of the domain name, converted to lower case. */
      private final ImmutableList<String> parts;
    
      /**
       * Cached value of #publicSuffixIndex(). Do not use directly.
       *
       * <p>Since this field isn't {@code volatile}, if an instance of this class is shared across
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Feb 05 20:47:23 UTC 2024
    - 28K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/helper/IndexingHelper.java

    import org.opensearch.action.search.SearchResponse;
    import org.opensearch.index.query.QueryBuilder;
    import org.opensearch.index.query.QueryBuilders;
    
    public class IndexingHelper {
        private static final Logger logger = LogManager.getLogger(IndexingHelper.class);
    
        protected int maxRetryCount = 5;
    
        protected int defaultRowSize = 100;
    
        protected long requestInterval = 500;
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:11:58 UTC 2024
    - 16.8K bytes
    - Viewed (0)
  7. okhttp/src/main/kotlin/okhttp3/ConnectionSpec.kt

     * [OkHttp's TLS Configuration History][tls_history] to track these changes.
     *
     * [tls_history]: https://square.github.io/okhttp/tls_configuration_history/
     */
    class ConnectionSpec internal constructor(
      @get:JvmName("isTls") val isTls: Boolean,
      @get:JvmName("supportsTlsExtensions") val supportsTlsExtensions: Boolean,
      internal val cipherSuitesAsString: Array<String>?,
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Jan 20 10:30:28 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  8. okhttp/src/main/kotlin/okhttp3/internal/-UtilCommon.kt

    internal infix fun Int.and(mask: Long): Long = toLong() and mask
    
    @Throws(IOException::class)
    internal fun BufferedSink.writeMedium(medium: Int) {
      writeByte(medium.ushr(16) and 0xff)
      writeByte(medium.ushr(8) and 0xff)
      writeByte(medium and 0xff)
    }
    
    @Throws(IOException::class)
    internal fun BufferedSource.readMedium(): Int {
      return (
        readByte() and 0xff shl 16
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon May 13 13:42:37 UTC 2024
    - 11K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/smb2/nego/Smb2NegotiateResponse.java

    import jcifs.util.Hexdump;
    import jcifs.util.transport.Response;
    
    
    /**
     * @author mbechler
     *
     */
    public class Smb2NegotiateResponse extends ServerMessageBlock2Response implements SmbNegotiationResponse {
    
        private static final Logger log = LoggerFactory.getLogger(Smb2NegotiateResponse.class);
    
        private int securityMode;
        private int dialectRevision;
        private byte[] serverGuid = new byte[16];
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Mar 22 10:09:46 UTC 2020
    - 17.6K bytes
    - Viewed (0)
  10. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/DefaultArtifactDescriptorReader.java

    import org.slf4j.LoggerFactory;
    
    /**
     * Default artifact descriptor reader.
     *
     * @deprecated since 4.0.0, use {@code maven-api-impl} jar instead
     */
    @Named
    @Singleton
    @Deprecated(since = "4.0.0")
    public class DefaultArtifactDescriptorReader implements ArtifactDescriptorReader {
        private final RemoteRepositoryManager remoteRepositoryManager;
        private final VersionResolver versionResolver;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 17K bytes
    - Viewed (0)
Back to top