Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1301 - 1310 of 2,939 for gets (0.02 sec)

  1. src/test/java/jcifs/internal/witness/MockWitnessService.java

                    Thread.currentThread().interrupt();
                }
            }
    
            registrations.clear();
            log.info("Mock witness service stopped");
        }
    
        /**
         * Get the address the service is listening on
         *
         * @return the service address
         * @throws IOException if address cannot be determined
         */
        public InetAddress getAddress() throws IOException {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 23 09:06:40 UTC 2025
    - 8.2K bytes
    - Viewed (0)
  2. compat/maven-compat/src/main/java/org/apache/maven/profiles/activation/OperatingSystemProfileActivator.java

            Activation activation = profile.getActivation();
            return activation != null && activation.getOs() != null;
        }
    
        @Override
        public boolean isActive(Profile profile) {
            Activation activation = profile.getActivation();
            ActivationOS os = activation.getOs();
    
            boolean result = ensureAtLeastOneNonNull(os);
    
            if (result && os.getFamily() != null) {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 3.7K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/core/lang/AnnotationUtilTest.java

            final Annotation anno = m.getAnnotation(Hoge.class);
            final Map<String, Object> props = AnnotationUtil.getProperties(anno);
            assertThat((String) props.get("aaa"), is("123"));
            assertThat((String) props.get("bbb"), is("3"));
            assertThat(props.get("ccc"), is(nullValue()));
        }
    
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 1.5K bytes
    - Viewed (0)
  4. docs_src/app_testing/app_b_py310/test_main.py

    client = TestClient(app)
    
    
    def test_read_item():
        response = client.get("/items/foo", headers={"X-Token": "coneofsilence"})
        assert response.status_code == 200
        assert response.json() == {
            "id": "foo",
            "title": "Foo",
            "description": "There goes my hero",
        }
    
    
    def test_read_item_bad_token():
        response = client.get("/items/foo", headers={"X-Token": "hailhydra"})
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Mar 13 19:07:10 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  5. tests/test_tutorial/test_settings/test_app01.py

            }
        ]
    
    
    def test_app(client: TestClient):
        response = client.get("/info")
        data = response.json()
        assert data == {
            "app_name": "Awesome API",
            "admin_email": "******@****.***",
            "items_per_user": 50,
        }
    
    
    def test_openapi_schema(client: TestClient):
        response = client.get("/openapi.json")
        assert response.status_code == 200, response.text
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Fri Dec 26 10:43:02 UTC 2025
    - 2.2K bytes
    - Viewed (0)
  6. tests/test_tutorial/test_query_params/test_tutorial004.py

            ),
        ],
    )
    def test_read_user_item(client: TestClient, path, expected_json):
        response = client.get(path)
        assert response.status_code == 200
        assert response.json() == expected_json
    
    
    def test_openapi_schema(client: TestClient):
        response = client.get("/openapi.json")
        assert response.status_code == 200
        assert response.json() == {
            "openapi": "3.1.0",
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Fri Dec 26 10:43:02 UTC 2025
    - 5.3K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/core/beans/util/BeanMap.java

    /**
     * A map with String keys that throws an exception when accessing (get) a non-existent key.
     *
     * @author higa
     */
    public class BeanMap extends LinkedHashMap<String, Object> {
    
        private static final long serialVersionUID = 1;
    
        /**
         * Creates a new {@link BeanMap}.
         */
        public BeanMap() {
        }
    
        @Override
        public Object get(final Object key) {
            if (!containsKey(key)) {
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Sat Jul 05 00:11:05 UTC 2025
    - 1.2K bytes
    - Viewed (0)
  8. tests/test_tutorial/test_path_params/test_tutorial001.py

            ("alice", {"item_id": "alice"}),
        ],
    )
    def test_get_items(item_id, expected_response):
        response = client.get(f"/items/{item_id}")
        assert response.status_code == 200, response.text
        assert response.json() == expected_response
    
    
    def test_openapi_schema():
        response = client.get("/openapi.json")
        assert response.status_code == 200, response.text
        assert response.json() == {
            "openapi": "3.1.0",
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Fri Dec 26 10:43:02 UTC 2025
    - 3.9K bytes
    - Viewed (0)
  9. docs_src/security/tutorial004_an_py39.py

        )
        return Token(access_token=access_token, token_type="bearer")
    
    
    @app.get("/users/me/", response_model=User)
    async def read_users_me(
        current_user: Annotated[User, Depends(get_current_active_user)],
    ):
        return current_user
    
    
    @app.get("/users/me/items/")
    async def read_own_items(
        current_user: Annotated[User, Depends(get_current_active_user)],
    ):
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Mon Sep 29 02:57:38 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  10. docs/ru/docs/tutorial/first-steps.md

    {* ../../docs_src/first_steps/tutorial001_py39.py hl[6] *}
    
    `@app.get("/")` сообщает **FastAPI**, что функция прямо под ним отвечает за обработку запросов, поступающих:
    
    * по пути `/`
    * с использованием <abbr title="метод HTTP GET"><code>get</code> операции</abbr>
    
    /// info | Информация о `@decorator`
    
    Синтаксис `@something` в Python называется «декоратор».
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 17.7K bytes
    - Viewed (0)
Back to top