Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 3 of 3 for get_a (0.01 seconds)

  1. tests/test_custom_route_class.py

    router_b = APIRouter(route_class=APIRouteB)
    router_c = APIRouter(route_class=APIRouteC)
    
    
    @router_a.get("/")
    def get_a():
        return {"msg": "A"}
    
    
    @router_b.get("/")
    def get_b():
        return {"msg": "B"}
    
    
    @router_c.get("/")
    def get_c():
        return {"msg": "C"}
    
    
    router_b.include_router(router=router_c, prefix="/c")
    router_a.include_router(router=router_b, prefix="/b")
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Fri Jun 30 18:25:16 GMT 2023
    - 3.1K bytes
    - Click Count (0)
  2. internal/http/transports.go

    	req2.Header.Set("User-Agent", u.ua)
    	return u.rt.RoundTrip(req2)
    }
    
    // WithUserAgent wraps an existing transport with custom User-Agent
    func WithUserAgent(rt http.RoundTripper, getUA func() string) http.RoundTripper {
    	return &uaTransport{
    		ua: getUA(),
    		rt: rt,
    	}
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 08 17:51:53 GMT 2025
    - 6.5K bytes
    - Click Count (0)
  3. src/test/java/org/codelibs/core/beans/util/BeanUtilTest.java

            map.put("a", "A");
            map.put("b", true);
            map.put("c", 3);
            map.put("d", 1.4);
            final HogeDto hoge = new HogeDto();
            BeanUtil.copyMapToBean(map, hoge);
            assertThat(hoge.getA(), is("A"));
            assertThat(hoge.isB(), is(true));
            assertThat(hoge.getC(), is(3));
        }
    
        /**
         * @throws Exception
         */
        @Test
    Created: Sat Dec 20 08:55:33 GMT 2025
    - Last Modified: Fri Jun 20 13:40:57 GMT 2025
    - 34.5K bytes
    - Click Count (0)
Back to Top