Search Options

Results per page
Sort
Preferred Languages
Advance

Results 4311 - 4320 of 6,864 for classe (0.32 sec)

  1. fastapi/middleware/asyncexitstack.py

    from contextlib import AsyncExitStack
    
    from starlette.types import ASGIApp, Receive, Scope, Send
    
    
    # Used mainly to close files after the request is done, dependencies are closed
    # in their own AsyncExitStack
    class AsyncExitStackMiddleware:
        def __init__(
            self, app: ASGIApp, context_name: str = "fastapi_middleware_astack"
        ) -> None:
            self.app = app
            self.context_name = context_name
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Mon Sep 29 03:29:38 UTC 2025
    - 637 bytes
    - Viewed (0)
  2. docs_src/response_model/tutorial004_py39.py

    from typing import Union
    
    from fastapi import FastAPI
    from pydantic import BaseModel
    
    app = FastAPI()
    
    
    class Item(BaseModel):
        name: str
        description: Union[str, None] = None
        price: float
        tax: float = 10.5
        tags: list[str] = []
    
    
    items = {
        "foo": {"name": "Foo", "price": 50.2},
        "bar": {"name": "Bar", "description": "The bartenders", "price": 62, "tax": 20.2},
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat May 14 11:59:59 UTC 2022
    - 627 bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/core/collection/EmptyIterator.java

    import java.util.Iterator;
    
    import org.codelibs.core.exception.ClUnsupportedOperationException;
    
    /**
     * An empty {@link Iterator}.
     *
     * @author higa
     * @param <T> the element type
     */
    public class EmptyIterator<T> implements Iterator<T> {
    
        /**
         * Creates an {@link EmptyIterator}.
         */
        public EmptyIterator() {
        }
    
        @Override
        public void remove() {
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Thu Jun 19 09:12:22 UTC 2025
    - 1.3K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/core/exception/ConverterRuntimeExceptionTest.java

    import org.junit.Test;
    
    /**
     * @author higa
     */
    public class ConverterRuntimeExceptionTest {
    
        /**
         * @throws Exception
         */
        @Test
        public void test() throws Exception {
            final ConverterRuntimeException e = new ConverterRuntimeException("hoge", "xxx", new RuntimeException("cause"));
            System.out.println(e.getMessage());
            assertThat(e.getPropertyName(), is("hoge"));
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 1.2K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/mylasta/direction/sponsor/FessTimeResourceProvider.java

    import org.codelibs.fess.mylasta.direction.FessConfig;
    import org.lastaflute.core.time.TypicalTimeResourceProvider;
    
    /**
     * The provider of time resource.
     *
     * @author jflute
     */
    public class FessTimeResourceProvider extends TypicalTimeResourceProvider {
    
        // ===================================================================================
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 2.5K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/opensearch/extension/kuromoji/index/analysis/KuromojiNumberFilterFactory.java

    import org.opensearch.common.settings.Settings;
    import org.opensearch.env.Environment;
    import org.opensearch.index.IndexSettings;
    import org.opensearch.index.analysis.AbstractTokenFilterFactory;
    
    public class KuromojiNumberFilterFactory extends AbstractTokenFilterFactory {
    
        public KuromojiNumberFilterFactory(IndexSettings indexSettings, Environment environment, String name, Settings settings) {
    Registered: Sat Dec 20 13:04:59 UTC 2025
    - Last Modified: Sat Mar 15 06:51:20 UTC 2025
    - 1.4K bytes
    - Viewed (0)
  7. src/test/java/jcifs/dcerpc/ndr/NdrExceptionTest.java

    package jcifs.dcerpc.ndr;
    
    import static org.junit.jupiter.api.Assertions.assertEquals;
    import static org.junit.jupiter.api.Assertions.assertNotNull;
    
    import org.junit.jupiter.api.Test;
    
    class NdrExceptionTest {
    
        /**
         * Test the constructor with a message.
         * Ensures that the exception is created with the correct message.
         */
        @Test
        void testConstructorWithMessage() {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 1.5K bytes
    - Viewed (0)
  8. okhttp-testing-support/src/test/kotlin/okhttp3/testing/PlatformRuleTest.kt

    package okhttp3.testing
    
    import okhttp3.internal.platform.Platform
    import org.junit.jupiter.api.Test
    import org.junit.jupiter.api.extension.RegisterExtension
    
    /**
     * Validates which environment is used by the IDE.
     */
    class PlatformRuleTest {
      @RegisterExtension @JvmField
      val platform = PlatformRule()
    
      @Test
      fun testMode() {
        println(PlatformRule.getPlatformSystemProperty())
        println(Platform.get().javaClass.simpleName)
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Mon Apr 15 14:55:09 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/exception/ScriptEngineException.java

            super(message);
        }
    
        /**
         * Constructor.
         * @param message The exception message.
         * @param cause The cause of the exception.
         */
        public ScriptEngineException(final String message, final Throwable cause) {
            super(message, cause);
        }
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 1.2K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/app/web/api/admin/dict/ListBody.java

     */
    package org.codelibs.fess.app.web.api.admin.dict;
    
    import java.util.Date;
    
    import org.codelibs.fess.app.web.admin.dict.ListForm;
    
    /**
     * The request body for listing dictionaries.
     */
    public class ListBody extends ListForm {
        /**
         * Default constructor.
         */
        public ListBody() {
            super();
        }
    
        /** The ID of the dictionary. */
        public String id;
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 1.2K bytes
    - Viewed (0)
Back to top