Search Options

Results per page
Sort
Preferred Languages
Advance

Results 311 - 320 of 882 for extentions (0.09 sec)

  1. tests/test_exception_handlers.py

    import pytest
    from fastapi import FastAPI, HTTPException
    from fastapi.exceptions import RequestValidationError
    from fastapi.testclient import TestClient
    from starlette.responses import JSONResponse
    
    
    def http_exception_handler(request, exception):
        return JSONResponse({"exception": "http-exception"})
    
    
    def request_validation_exception_handler(request, exception):
        return JSONResponse({"exception": "request-validation"})
    
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Feb 17 12:40:12 UTC 2022
    - 1.9K bytes
    - Viewed (0)
  2. cmd/api-datatypes.go

    	VersionID             string `xml:"VersionId,omitempty"`
    	// MTime of DeleteMarker on source that needs to be propagated to replica
    	DeleteMarkerMTime DeleteMarkerMTime `xml:"-"`
    	// MinIO extensions to support delete marker replication
    	ReplicationState ReplicationState `xml:"-"`
    }
    
    // DeleteMarkerMTime is an embedded type containing time.Time for XML marshal
    type DeleteMarkerMTime struct {
    	time.Time
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue May 14 07:26:50 UTC 2024
    - 3K bytes
    - Viewed (0)
  3. build-logic/documentation/src/main/groovy/gradlebuild/docs/RenderMarkdown.java

         */
        @Input
        public abstract Property<String> getOutputEncoding();
    
        @TaskAction
        public void process() {
            MutableDataSet options = new MutableDataSet();
            options.set(Parser.EXTENSIONS, Collections.singletonList(TablesExtension.create()));
            Parser parser = Parser.builder(options).build();
            HtmlRenderer renderer = HtmlRenderer.builder(options).build();
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 3.2K bytes
    - Viewed (0)
  4. okhttp/src/test/java/okhttp3/JSSETest.kt

    import org.junit.jupiter.api.Assertions.assertNotEquals
    import org.junit.jupiter.api.BeforeEach
    import org.junit.jupiter.api.Disabled
    import org.junit.jupiter.api.Test
    import org.junit.jupiter.api.extension.RegisterExtension
    
    class JSSETest {
      @JvmField @RegisterExtension
      var platform = PlatformRule()
    
      @JvmField @RegisterExtension
      val clientTestRule = OkHttpClientTestRule()
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Jan 20 10:30:28 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  5. api/maven-api-metadata/src/main/mdo/metadata.mdo

              <defaultValue></defaultValue>
              <identifier>true</identifier>
            </field>
            <field>
              <name>extension</name>
              <version>1.1.0+</version>
              <type>String</type>
              <description>The file extension of the sub-artifact. Each classifier and extension pair may only appear once.</description>
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Wed May 15 17:32:27 UTC 2024
    - 15.8K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/smb1/SmbAuthException.java

    package jcifs.smb1.smb1;
    
    /**
     * The <code>SmbAuthException</code> encapsulates the variety of
     * authentication related error codes returned by an SMB server.
     * <p>
     * See <a href="../../../authhandler.html">jCIFS Exceptions and NtlmAuthenticator</a> for more information about <code>SmbAuthException</code>.
     */
    
    public class SmbAuthException extends SmbException {
    
        SmbAuthException( int errcode ) {
            super( errcode, null );
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 1.3K bytes
    - Viewed (0)
  7. cmd/bucket-versioning.go

    	return vc.Enabled()
    }
    
    // PrefixEnabled returns true is versioning is enabled at bucket level and if
    // the given prefix doesn't match any excluded prefixes pattern. This is
    // part of a MinIO versioning configuration extension.
    func (sys *BucketVersioningSys) PrefixEnabled(bucket, prefix string) bool {
    	vc, err := sys.Get(bucket)
    	if err != nil {
    		logger.CriticalIf(GlobalContext, err)
    	}
    	return vc.PrefixEnabled(prefix)
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 25 00:44:15 UTC 2022
    - 2.6K bytes
    - Viewed (0)
  8. internal/bucket/versioning/versioning.go

    const (
    	Enabled State = "Enabled"
    	// Disabled  State = "Disabled" only used by MFA Delete not supported yet.
    	Suspended State = "Suspended"
    )
    
    var (
    	errExcludedPrefixNotSupported = Errorf("excluded prefixes extension supported only when versioning is enabled")
    	errTooManyExcludedPrefixes    = Errorf("too many excluded prefixes")
    )
    
    // ExcludedPrefix - holds individual prefixes excluded from being versioned.
    type ExcludedPrefix struct {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/hash/BloomFilterTest.java

              }
            };
    
        List<Throwable> exceptions = runThreadsAndReturnExceptions(numThreads, task);
    
        assertThat(exceptions).isEmpty();
      }
    
      private static List<Throwable> runThreadsAndReturnExceptions(int numThreads, Runnable task) {
        List<Thread> threads = new ArrayList<>(numThreads);
        final List<Throwable> exceptions = new ArrayList<>(numThreads);
        for (int i = 0; i < numThreads; i++) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 14:28:19 UTC 2024
    - 21.2K bytes
    - Viewed (0)
  10. tests/test_validate_response.py

    from typing import List, Optional, Union
    
    import pytest
    from fastapi import FastAPI
    from fastapi.exceptions import ResponseValidationError
    from fastapi.testclient import TestClient
    from pydantic import BaseModel
    
    app = FastAPI()
    
    
    class Item(BaseModel):
        name: str
        price: Optional[float] = None
        owner_ids: Optional[List[int]] = None
    
    
    @app.get("/items/invalid", response_model=Item)
    def get_invalid():
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jul 07 17:12:13 UTC 2023
    - 2K bytes
    - Viewed (0)
Back to top