Search Options

Results per page
Sort
Preferred Languages
Advance

Results 621 - 630 of 3,801 for getK (0.08 sec)

  1. tests/test_custom_swagger_ui_redirect.py

    swagger_ui_oauth2_redirect_url = "/docs/redirect"
    
    app = FastAPI(swagger_ui_oauth2_redirect_url=swagger_ui_oauth2_redirect_url)
    
    
    @app.get("/items/")
    async def read_items():
        return {"id": "foo"}
    
    
    client = TestClient(app)
    
    
    def test_swagger_ui():
        response = client.get("/docs")
        assert response.status_code == 200, response.text
        assert response.headers["content-type"] == "text/html; charset=utf-8"
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Wed Apr 08 04:37:38 UTC 2020
    - 1.1K bytes
    - Viewed (0)
  2. tests/test_tutorial/test_cors/test_tutorial001.py

        response = client.get("/", headers=headers)
        assert response.status_code == 200, response.text
        assert response.json() == {"message": "Hello World"}
        assert (
            response.headers["access-control-allow-origin"]
            == "https://localhost.tiangolo.com"
        )
    
        # Test non-CORS response
        response = client.get("/")
        assert response.status_code == 200, response.text
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Jul 09 18:06:12 UTC 2020
    - 1.2K bytes
    - Viewed (0)
  3. cmd/kms-handlers.go

    		return
    	}
    	allKeys, _, err := GlobalKMS.ListKeys(ctx, &kms.ListRequest{
    		Prefix: r.Form.Get("pattern"),
    	})
    	if err != nil {
    		writeErrorResponseJSON(ctx, w, toAdminAPIErr(ctx, err), r.URL)
    		return
    	}
    
    	// Get the cred and owner for checking authz below.
    	cred, owner, s3Err := validateAdminSignature(ctx, r, "")
    	if s3Err != ErrNone {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Aug 18 06:43:03 UTC 2024
    - 10.1K bytes
    - Viewed (0)
  4. compat/maven-toolchain-builder/src/main/java/org/apache/maven/toolchain/building/ToolchainsBuildingRequest.java

     *
     * @since 3.3.0
     * @deprecated since 4.0.0, use {@link org.apache.maven.api.services.ToolchainsBuilder} instead
     */
    @Deprecated(since = "4.0.0")
    public interface ToolchainsBuildingRequest {
    
        /**
         * Gets the global toolchains source.
         *
         * @return The global toolchains source or {@code null} if none.
         */
        Source getGlobalToolchainsSource();
    
        /**
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  5. .teamcity/src/main/kotlin/common/VersionedSettingsBranch.kt

                    }
                }
            }
        }
    
        val isMainBranch: Boolean
            get() = isMaster || isRelease
        val isMaster: Boolean
            get() = branchName == MASTER_BRANCH
        val isRelease: Boolean
            get() = branchName == RELEASE_BRANCH
        val isExperimental: Boolean
            get() = branchName == EXPERIMENTAL_BRANCH
    
        fun vcsRootId() = DslContext.settingsRoot.id.toString()
    
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Mon Aug 26 12:59:03 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  6. guava-gwt/src-super/com/google/common/util/concurrent/super/com/google/common/util/concurrent/AbstractFuture.java

        @CanIgnoreReturnValue
        @Override
        public final V get() throws InterruptedException, ExecutionException {
          return super.get();
        }
    
        @CanIgnoreReturnValue
        @Override
        public final V get(long timeout, TimeUnit unit)
            throws InterruptedException, ExecutionException, TimeoutException {
          return super.get(timeout, unit);
        }
    
        @Override
        public final boolean isDone() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Jan 22 19:37:41 UTC 2024
    - 12.3K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/es/config/bsbhv/BsBadWordBhv.java

                result.setCreatedBy(DfTypeUtil.toString(source.get("createdBy")));
                result.setCreatedTime(DfTypeUtil.toLong(source.get("createdTime")));
                result.setSuggestWord(DfTypeUtil.toString(source.get("suggestWord")));
                result.setTargetLabel(DfTypeUtil.toString(source.get("targetLabel")));
                result.setTargetRole(DfTypeUtil.toString(source.get("targetRole")));
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/cache/CacheManualTest.java

        assertTrue(cache.asMap().containsKey(one));
        assertTrue(cache.asMap().containsValue(two));
    
        assertSame(one, cache.getIfPresent(two));
        stats = cache.stats();
        assertEquals(3, stats.missCount());
        assertEquals(0, stats.loadSuccessCount());
        assertEquals(0, stats.loadExceptionCount());
        assertEquals(3, stats.hitCount());
        assertSame(one, cache.asMap().get(two));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 5.4K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/util/concurrent/FluentFutureTest.java

        ListenableFuture<String> f =
            new SimpleForwardingListenableFuture<String>(immediateFuture("a")) {};
        verify(!(f instanceof FluentFuture));
        assertThat(FluentFuture.from(f).get()).isEqualTo("a");
        // TODO(cpovirk): Test forwarding more extensively.
      }
    
      public void testAddCallback() {
        FluentFuture<String> f = FluentFuture.from(immediateFuture("a"));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Feb 13 14:28:25 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/ds/callback/FileListIndexUpdateCallbackImpl.java

                // required check
                if (!dataMap.containsKey(fessConfig.getIndexFieldUrl()) || dataMap.get(fessConfig.getIndexFieldUrl()) == null) {
                    logger.warn("Could not add a doc. Invalid data: {}", dataMap);
                    return;
                }
    
                final String url = dataMap.get(fessConfig.getIndexFieldUrl()).toString();
                final CrawlerClient client = crawlerClientFactory.getClient(url);
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 16.8K bytes
    - Viewed (0)
Back to top