Search Options

Results per page
Sort
Preferred Languages
Advance

Results 2681 - 2690 of 7,602 for _class (0.05 sec)

  1. docs_src/query_param_models/tutorial002_an.py

    from typing import List
    
    from fastapi import FastAPI, Query
    from pydantic import BaseModel, Field
    from typing_extensions import Annotated, Literal
    
    app = FastAPI()
    
    
    class FilterParams(BaseModel):
        model_config = {"extra": "forbid"}
    
        limit: int = Field(100, gt=0, le=100)
        offset: int = Field(0, ge=0)
        order_by: Literal["created_at", "updated_at"] = "created_at"
        tags: List[str] = []
    
    
    @app.get("/items/")
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Sep 17 18:54:10 UTC 2024
    - 518 bytes
    - Viewed (0)
  2. docs_src/schema_extra_example/tutorial003.py

    from typing import Union
    
    from fastapi import Body, FastAPI
    from pydantic import BaseModel
    
    app = FastAPI()
    
    
    class Item(BaseModel):
        name: str
        description: Union[str, None] = None
        price: float
        tax: Union[float, None] = None
    
    
    @app.put("/items/{item_id}")
    async def update_item(
        item_id: int,
        item: Item = Body(
            examples=[
                {
                    "name": "Foo",
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jun 30 18:25:16 UTC 2023
    - 612 bytes
    - Viewed (0)
  3. src/main/resources/crawler/contentlength.xml

    <!DOCTYPE components PUBLIC "-//DBFLUTE//DTD LastaDi 1.0//EN"
    	"http://dbflute.org/meta/lastadi10.dtd">
    <components namespace="fessCrawler">
    	<include path="crawler/container.xml" />
    
    	<component name="contentLengthHelper"
    		class="org.codelibs.fess.crawler.helper.ContentLengthHelper" instance="singleton">
    		<property name="defaultMaxLength">10485760</property><!-- 10M -->
    		<postConstruct name="addMaxLength">
    			<arg>"text/html"</arg>
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sun Oct 11 06:51:14 UTC 2015
    - 561 bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/Sets.java

     * @author Chris Povirk
     * @since 2.0
     */
    @GwtCompatible(emulated = true)
    @ElementTypesAreNonnullByDefault
    public final class Sets {
      private Sets() {}
    
      /**
       * {@link AbstractSet} substitute without the potentially-quadratic {@code removeAll}
       * implementation.
       */
      abstract static class ImprovedAbstractSet<E extends @Nullable Object> extends AbstractSet<E> {
        @Override
        public boolean removeAll(Collection<?> c) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 14:28:19 UTC 2024
    - 78.8K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/query/WildcardQueryCommand.java

    import org.opensearch.index.query.QueryBuilders;
    
    public class WildcardQueryCommand extends QueryCommand {
        private static final Logger logger = LogManager.getLogger(WildcardQueryCommand.class);
    
        protected boolean lowercaseWildcard = true;
    
        @Override
        protected String getQueryClassName() {
            return WildcardQuery.class.getSimpleName();
        }
    
        @Override
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  6. android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionRemoveIfTester.java

    // @Ignore affects the Android test runner, which respects JUnit 4 annotations on JUnit 3 tests.
    @SuppressWarnings("JUnit4ClassUsedInJUnit3")
    @IgnoreJRERequirement // We opt into library desugaring for our tests.
    public class CollectionRemoveIfTester<E> extends AbstractCollectionTester<E> {
      @CollectionFeature.Require(SUPPORTS_ITERATOR_REMOVE)
      public void testRemoveIf_alwaysFalse() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 14:51:04 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  7. android/guava-testlib/src/com/google/common/collect/testing/testers/ConcurrentMapReplaceTester.java

     */
    @GwtCompatible
    @Ignore // Affects only Android test runner, which respects JUnit 4 annotations on JUnit 3 tests.
    @SuppressWarnings("JUnit4ClassUsedInJUnit3")
    @ElementTypesAreNonnullByDefault
    public class ConcurrentMapReplaceTester<K, V> extends AbstractMapTester<K, V> {
      @Override
      protected ConcurrentMap<K, V> getMap() {
        return (ConcurrentMap<K, V>) super.getMap();
      }
    
      @MapFeature.Require(SUPPORTS_PUT)
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 20:00:30 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/collect/TreeTraverserTest.java

     *
     * @author Louis Wasserman
     */
    @GwtCompatible(emulated = true)
    @ElementTypesAreNonnullByDefault
    public class TreeTraverserTest extends TestCase {
      private static class Node {
        final char value;
    
        Node(char value) {
          this.value = value;
        }
      }
    
      private static final class Tree extends Node {
        final List<Tree> children;
    
        public Tree(char value, Tree... children) {
          super(value);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  9. fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/impl/HtmlXpathExtractorTest.java

    import org.dbflute.utflute.core.PlainTestCase;
    import org.slf4j.Logger;
    import org.slf4j.LoggerFactory;
    
    /**
     * @author shinsuke
     *
     */
    public class HtmlXpathExtractorTest extends PlainTestCase {
        private static final Logger logger = LoggerFactory.getLogger(HtmlXpathExtractorTest.class);
    
        public HtmlXpathExtractor htmlXpathExtractor;
    
        @Override
        protected void setUp() throws Exception {
            super.setUp();
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/ingest/IngestFactory.java

     */
    package org.codelibs.fess.ingest;
    
    import java.util.Arrays;
    
    import org.apache.logging.log4j.LogManager;
    import org.apache.logging.log4j.Logger;
    
    public class IngestFactory {
        private static final Logger logger = LogManager.getLogger(IngestFactory.class);
    
        private Ingester[] ingesters = {};
    
        public synchronized void add(final Ingester ingester) {
            if (logger.isDebugEnabled()) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 1.4K bytes
    - Viewed (0)
Back to top