Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 123 for outer (0.16 sec)

  1. tests/test_router_redirect_slashes.py

    from fastapi import APIRouter, FastAPI
    from fastapi.testclient import TestClient
    
    
    def test_redirect_slashes_enabled():
        app = FastAPI()
        router = APIRouter()
    
        @router.get("/hello/")
        def hello_page() -> str:
            return "Hello, World!"
    
        app.include_router(router)
    
        client = TestClient(app)
    
        response = client.get("/hello/", follow_redirects=False)
        assert response.status_code == 200
    
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Jun 22 10:37:50 GMT 2023
    - 974 bytes
    - Viewed (0)
  2. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/diagnostics/KtFirDiagnosticsImpl.kt

        token: KtLifetimeToken,
    ) : KtAbstractFirDiagnostic<PsiElement>(firDiagnostic, token), KtFirDiagnostic.NoTypeArgumentsOnRhs
    
    internal class OuterClassArgumentsRequiredImpl(
        override val outer: KtClassLikeSymbol,
        firDiagnostic: KtPsiDiagnostic,
        token: KtLifetimeToken,
    ) : KtAbstractFirDiagnostic<PsiElement>(firDiagnostic, token), KtFirDiagnostic.OuterClassArgumentsRequired
    
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Wed Apr 24 09:49:26 GMT 2024
    - 225.2K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/cache/LocalCache.java

       */
      @SuppressWarnings("serial") // This class is never serialized.
      static class Segment<K, V> extends ReentrantLock {
    
        /*
         * TODO(fry): Consider copying variables (like evictsBySize) from outer class into this class.
         * It will require more memory but will reduce indirection.
         */
    
        /*
         * Segments maintain a table of entry lists that are ALWAYS kept in a consistent state, so can
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 17:40:56 GMT 2024
    - 144.7K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/util/concurrent/FuturesTest.java

        assertTrue(future.isCancelled());
    
        try {
          CallerClass2.get(future);
          fail();
        } catch (CancellationException expected) {
          // There should be two CancellationException chained together.  The outer one should have the
          // stack trace of where the get() call was made, and the inner should have the stack trace of
          // where the immediateCancelledFuture() call was made.
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 144.5K bytes
    - Viewed (0)
  5. guava/src/com/google/common/cache/LocalCache.java

       */
      @SuppressWarnings("serial") // This class is never serialized.
      static class Segment<K, V> extends ReentrantLock {
    
        /*
         * TODO(fry): Consider copying variables (like evictsBySize) from outer class into this class.
         * It will require more memory but will reduce indirection.
         */
    
        /*
         * Segments maintain a table of entry lists that are ALWAYS kept in a consistent state, so can
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 17:40:56 GMT 2024
    - 150.3K bytes
    - Viewed (0)
  6. docs/de/docs/project-generation.md

        * Haupt-Dashboard mit Benutzererstellung und -bearbeitung.
        * Bearbeitung des eigenen Benutzers.
        * **Vuex**.
        * **Vue-Router**.
        * **Vuetify** für schöne Material-Designkomponenten.
        * **TypeScript**.
        * Docker-Server basierend auf **Nginx** (konfiguriert, um gut mit Vue-Router zu funktionieren).
        * Mehrstufigen Docker-Erstellung, sodass Sie kompilierten Code nicht speichern oder committen müssen.
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Mar 30 18:14:36 GMT 2024
    - 6.5K bytes
    - Viewed (0)
  7. tests/test_include_router_defaults_overrides.py

        callbacks=callback_router3.routes,
    )
    
    router2_override.include_router(router4_override)
    
    router2_override.include_router(router4_default)
    
    router2_default.include_router(
        router4_override,
        prefix="/level3",
        tags=["level3a", "level3b"],
        dependencies=[Depends(dep3)],
        responses={
            403: {"description": "Client error level 3"},
            503: {"description": "Server error level 3"},
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Jun 30 18:25:16 GMT 2023
    - 358.6K bytes
    - Viewed (0)
  8. tests/test_dependency_overrides.py

    
    @router.get("/router-depends/")
    async def router_depends(commons: dict = Depends(common_parameters)):
        return {"in": "router-depends", "params": commons}
    
    
    @router.get("/router-decorator-depends/", dependencies=[Depends(common_parameters)])
    async def router_decorator_depends():
        return {"in": "router-decorator-depends"}
    
    
    app.include_router(router)
    
    client = TestClient(app)
    
    
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:40:57 GMT 2024
    - 15.4K bytes
    - Viewed (0)
  9. cmd/routers.go

    	// Add server metrics router
    	registerMetricsRouter(router)
    
    	// Add STS router always.
    	registerSTSRouter(router)
    
    	// Add KMS router
    	registerKMSRouter(router)
    
    	// Add API router
    	registerAPIRouter(router)
    
    	router.Use(globalMiddlewares...)
    
    	return router, nil
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Mar 08 19:08:18 GMT 2024
    - 3.6K bytes
    - Viewed (1)
  10. tests/test_generate_unique_id_function.py

        )
        def post_router(item1: Item, item2: Item):
            return item1, item2  # pragma: nocover
    
        @sub_router.post(
            "/subrouter",
            response_model=List[Item],
            responses={404: {"model": List[Message]}},
        )
        def post_subrouter(item1: Item, item2: Item):
            return item1, item2  # pragma: nocover
    
        router.include_router(sub_router)
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Jan 13 15:10:26 GMT 2024
    - 66.7K bytes
    - Viewed (0)
Back to top