Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1961 - 1970 of 7,602 for _class (0.05 sec)

  1. src/test/java/org/codelibs/core/beans/converter/NumberConverterTest.java

         */
        @Test
        public void testIsTarget() throws Exception {
            final NumberConverter converter = new NumberConverter("##0");
            assertThat(converter.isTarget(Integer.class), is(true));
            assertThat(converter.isTarget(Timestamp.class), is(not(true)));
        }
    
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  2. tests/test_additional_responses_response_class.py

    from fastapi.responses import JSONResponse
    from fastapi.testclient import TestClient
    from pydantic import BaseModel
    
    app = FastAPI()
    
    
    class JsonApiResponse(JSONResponse):
        media_type = "application/vnd.api+json"
    
    
    class Error(BaseModel):
        status: str
        title: str
    
    
    class JsonApiError(BaseModel):
        errors: typing.List[Error]
    
    
    @app.get(
        "/a",
        response_class=JsonApiResponse,
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jun 30 18:25:16 UTC 2023
    - 3.5K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/graph/ImmutableNetworkTest.java

    import static com.google.common.truth.Truth.assertThat;
    
    import org.junit.Test;
    import org.junit.runner.RunWith;
    import org.junit.runners.JUnit4;
    
    /** Tests for {@link ImmutableNetwork}. */
    @RunWith(JUnit4.class)
    public class ImmutableNetworkTest {
    
      @Test
      public void immutableNetwork() {
        MutableNetwork<String, Integer> mutableNetwork = NetworkBuilder.directed().build();
        mutableNetwork.addNode("A");
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sun May 05 18:02:35 UTC 2019
    - 5.5K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/util/concurrent/ExecutionError.java

     *
     * @author Chris Povirk
     * @since 10.0
     */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    public class ExecutionError extends Error {
      /*
       * Ideally, this class would have exposed only constructors that require a non-null cause. See
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Mar 07 17:52:19 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  5. docs/de/docs/advanced/middleware.md

    * <a href="https://github.com/florimondmanca/msgpack-asgi" class="external-link" target="_blank">MessagePack</a>
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  6. docs/em/docs/advanced/dataclasses.md

    ✋️ FastAPI 🐕‍🦺 ⚙️ <a href="https://docs.python.org/3/library/dataclasses.html" class="external-link" target="_blank">`dataclasses`</a> 🎏 🌌:
    
    ```Python hl_lines="1  7-12  19-20"
    {!../../docs_src/dataclasses/tutorial001.py!}
    ```
    
    👉 🐕‍🦺 👏 **Pydantic**, ⚫️ ✔️ <a href="https://docs.pydantic.dev/latest/concepts/dataclasses/#use-of-stdlib-dataclasses-with-basemodel" class="external-link" target="_blank">🔗 🐕‍🦺 `dataclasses`</a>.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  7. docs_src/body_nested_models/tutorial005.py

    from typing import Set, Union
    
    from fastapi import FastAPI
    from pydantic import BaseModel, HttpUrl
    
    app = FastAPI()
    
    
    class Image(BaseModel):
        url: HttpUrl
        name: str
    
    
    class Item(BaseModel):
        name: str
        description: Union[str, None] = None
        price: float
        tax: Union[float, None] = None
        tags: Set[str] = set()
        image: Union[Image, None] = None
    
    
    @app.put("/items/{item_id}")
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat May 14 11:59:59 UTC 2022
    - 517 bytes
    - Viewed (0)
  8. docs_src/body_nested_models/tutorial006_py39.py

    from typing import Union
    
    from fastapi import FastAPI
    from pydantic import BaseModel, HttpUrl
    
    app = FastAPI()
    
    
    class Image(BaseModel):
        url: HttpUrl
        name: str
    
    
    class Item(BaseModel):
        name: str
        description: Union[str, None] = None
        price: float
        tax: Union[float, None] = None
        tags: set[str] = set()
        images: Union[list[Image], None] = None
    
    
    @app.put("/items/{item_id}")
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat May 14 11:59:59 UTC 2022
    - 519 bytes
    - Viewed (0)
  9. android/guava-testlib/src/com/google/common/collect/testing/TestsForMapsInJavaUtil.java

                    Map<String, String> map = populate(new HashMap<String, String>(), entries);
                    return Collections.checkedMap(map, String.class, String.class);
                  }
                })
            .named("checkedMap/HashMap")
            .withFeatures(
                MapFeature.GENERAL_PURPOSE,
                MapFeature.ALLOWS_NULL_KEYS,
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 17K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/crawler/FessCrawlerThread.java

    import org.codelibs.fess.mylasta.direction.FessConfig;
    import org.codelibs.fess.util.ComponentUtil;
    import org.codelibs.fess.util.DocumentUtil;
    
    public class FessCrawlerThread extends CrawlerThread {
    
        private static final Logger logger = LogManager.getLogger(FessCrawlerThread.class);
    
        protected static final String CRAWLER_CLIENTS = "crawlerClients";
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 14.6K bytes
    - Viewed (0)
Back to top