Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 80 for x_type (0.07 sec)

  1. tests/test_custom_route_class.py

    from fastapi.testclient import TestClient
    from starlette.routing import Route
    
    app = FastAPI()
    
    
    class APIRouteA(APIRoute):
        x_type = "A"
    
    
    class APIRouteB(APIRoute):
        x_type = "B"
    
    
    class APIRouteC(APIRoute):
        x_type = "C"
    
    
    router_a = APIRouter(route_class=APIRouteA)
    router_b = APIRouter(route_class=APIRouteB)
    router_c = APIRouter(route_class=APIRouteC)
    
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jun 30 18:25:16 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  2. fess-crawler/src/main/java/org/codelibs/fess/crawler/entity/AccessResultImpl.java

    import org.codelibs.core.beans.util.BeanUtil;
    import org.codelibs.fess.crawler.Constants;
    
    /**
     * @author shinsuke
     *
     */
    public class AccessResultImpl<IDTYPE> implements AccessResult<IDTYPE> {
        protected IDTYPE id;
    
        protected String sessionId;
    
        protected String ruleId;
    
        protected String url;
    
        protected String parentUrl;
    
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 8K bytes
    - Viewed (0)
  3. internal/disk/disk_test.go

    	"testing"
    
    	"github.com/minio/minio/internal/disk"
    )
    
    func TestFree(t *testing.T) {
    	di, err := disk.GetInfo(t.TempDir(), true)
    	if err != nil {
    		t.Fatal(err)
    	}
    
    	if di.FSType == "UNKNOWN" {
    		t.Error("Unexpected FSType", di.FSType)
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jul 31 22:20:48 UTC 2023
    - 1.1K bytes
    - Viewed (0)
  4. internal/bucket/replication/replication.go

    	return nil
    }
    
    // Types of replication
    const (
    	UnsetReplicationType Type = 0 + iota
    	ObjectReplicationType
    	DeleteReplicationType
    	MetadataReplicationType
    	HealReplicationType
    	ExistingObjectReplicationType
    	ResyncReplicationType
    	AllReplicationType
    )
    
    // Valid returns true if replication type is set
    func (t Type) Valid() bool {
    	return t > 0
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Mar 28 17:44:56 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  5. fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/service/impl/OpenSearchUrlFilterService.java

            setNumberOfShards(crawlerConfig.getFilterShards());
            setNumberOfReplicas(crawlerConfig.getFilterReplicas());
        }
    
        public OpenSearchUrlFilterService(final String name, final String type) {
            index = name + "." + type;
        }
    
        @PostConstruct
        public void init() {
            fesenClient.addOnConnectListener(() -> createMapping("filter"));
    
            includeFilterCache = createFilterCache(INCLUDE);
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Nov 07 04:44:10 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  6. fess-crawler/src/main/java/org/codelibs/fess/crawler/entity/AccessResultDataImpl.java

     *
     */
    public class AccessResultDataImpl<IDTYPE> implements AccessResultData<IDTYPE> {
        protected IDTYPE id;
    
        protected String transformerName;
    
        protected byte[] data;
    
        protected String encoding;
    
        /*
         * (non-Javadoc)
         *
         * @see org.codelibs.fess.crawler.entity.AccessResultData#getId()
         */
        @Override
        public IDTYPE getId() {
            return id;
        }
    
        /*
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  7. okhttp-android/src/test/kotlin/okhttp3/android/ShadowDnsResolver.kt

      }
    
      data class Request(
        val network: Network?,
        val domain: String,
        val nsType: Int,
        val flags: Int,
        val callback: DnsResolver.Callback<List<InetAddress>>,
      )
    
      @Implementation
      fun query(
        network: Network?,
        domain: String,
        nsType: Int,
        flags: Int,
        executor: Executor,
        cancellationSignal: CancellationSignal?,
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 22 20:07:09 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  8. docs/pt/docs/alternatives.md

    Ele foi uma das primeiras implementações de um framework usando Python _type hints_ para declarar parâmetros e requisições que eu nunca vi (antes no NestJS e Molten). Eu encontrei ele mais ou menos na mesma época que o Hug. Mas o APIStar utilizava o padrão OpenAPI.
    
    Ele tinha validação de dados automática, serialização de dados e geração de _schema_ OpenAPI baseado nos mesmos _type hints_ em vários locais.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 20 19:20:23 UTC 2024
    - 25.5K bytes
    - Viewed (0)
  9. cmd/bucket-replication-stats.go

    	case replication.Pending:
    		if ri.OpType.IsDataReplication() && prevStatus != status {
    			rs.set(ri.Arn, ri.Size, 0, status, ri.OpType, ri.endpoint, ri.secure, ri.Err)
    		}
    	case replication.Completed:
    		if ri.OpType.IsDataReplication() {
    			rs.set(ri.Arn, ri.Size, ri.Duration, status, ri.OpType, ri.endpoint, ri.secure, ri.Err)
    		}
    	case replication.Failed:
    		if ri.OpType.IsDataReplication() && prevStatus == replication.Pending {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 15 12:04:40 UTC 2024
    - 13.6K bytes
    - Viewed (0)
  10. fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/service/impl/OpenSearchDataService.java

            index = name + "." + type;
        }
    
        @PostConstruct
        public void init() {
            fesenClient.addOnConnectListener(() -> createMapping("data"));
        }
    
        @Override
        public void store(final OpenSearchAccessResult accessResult) {
            super.insert(accessResult, accessResult.getId() == null ? OpType.CREATE : OpType.INDEX);
        }
    
        @Override
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Nov 07 04:44:10 UTC 2024
    - 8.5K bytes
    - Viewed (0)
Back to top