Search Options

Results per page
Sort
Preferred Languages
Advance

Results 881 - 890 of 1,087 for FoO (0.08 sec)

  1. tests/test_tutorial/test_request_files/test_tutorial002_an_py39.py

                        "type": "value_error.missing",
                    }
                ]
            }
        )
    
    
    @needs_py39
    def test_post_body_json(client: TestClient):
        response = client.post("/files/", json={"file": "Foo"})
        assert response.status_code == 422, response.text
        assert response.json() == IsDict(
            {
                "detail": [
                    {
                        "type": "missing",
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Apr 18 19:40:57 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  2. docs_src/security/tutorial005_py310.py

        return current_user
    
    
    @app.get("/users/me/items/")
    async def read_own_items(
        current_user: User = Security(get_current_active_user, scopes=["items"]),
    ):
        return [{"item_id": "Foo", "owner": current_user.username}]
    
    
    @app.get("/status/")
    async def read_system_status(current_user: User = Depends(get_current_user)):
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Mon May 20 17:37:28 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/net/MediaTypeTest.java

                + " and-another-thing=\"\"; normal-thing=foo",
            MediaType.create("text", "plain")
                .withParameter("something", "cr@zy")
                .withParameter("something-else", "crazy with spaces")
                .withParameter("and-another-thing", "")
                .withParameter("normal-thing", "foo")
                .toString());
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 15:41:36 UTC 2024
    - 20.4K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/reflect/InvokableTest.java

        assertTrue(delegate.isFinal());
        assertFalse(delegate.isOverridable());
        assertFalse(delegate.isVarArgs());
      }
    
      static class Foo {}
    
      public void testConstructor_isOverridable() throws Exception {
        Invokable<?, ?> delegate = Invokable.from(Foo.class.getDeclaredConstructor());
        assertFalse(delegate.isOverridable());
        assertFalse(delegate.isVarArgs());
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 13:00:28 UTC 2024
    - 30.7K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/reflect/TypeResolver.java

            }
          }
    
          @Override
          void visitParameterizedType(ParameterizedType fromParameterizedType) {
            if (to instanceof WildcardType) {
              return; // Okay to say Foo<A> is <?>
            }
            ParameterizedType toParameterizedType = expectArgument(ParameterizedType.class, to);
            if (fromParameterizedType.getOwnerType() != null
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 10 19:45:10 UTC 2022
    - 24.2K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/reflect/InvokableTest.java

        assertTrue(delegate.isFinal());
        assertFalse(delegate.isOverridable());
        assertFalse(delegate.isVarArgs());
      }
    
      static class Foo {}
    
      public void testConstructor_isOverridable() throws Exception {
        Invokable<?, ?> delegate = Invokable.from(Foo.class.getDeclaredConstructor());
        assertFalse(delegate.isOverridable());
        assertFalse(delegate.isVarArgs());
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 13:00:28 UTC 2024
    - 30.7K bytes
    - Viewed (0)
  7. tests/test_tutorial/test_security/test_tutorial003_an.py

        assert response.status_code == 400, response.text
        assert response.json() == {"detail": "Incorrect username or password"}
    
    
    def test_login_incorrect_username():
        response = client.post("/token", data={"username": "foo", "password": "secret"})
        assert response.status_code == 400, response.text
        assert response.json() == {"detail": "Incorrect username or password"}
    
    
    def test_no_token():
        response = client.get("/users/me")
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jul 07 17:12:13 UTC 2023
    - 8K bytes
    - Viewed (0)
  8. mockwebserver-deprecated/src/test/java/okhttp3/mockwebserver/MockWebServerTest.kt

          "GET /a/deep/path?key=foo%20bar HTTP/1.1",
        )
        val requestUrl = request.requestUrl
        assertThat(requestUrl!!.scheme).isEqualTo("http")
        assertThat(requestUrl.host).isEqualTo(server.hostName)
        assertThat(requestUrl.port).isEqualTo(server.port)
        assertThat(requestUrl.encodedPath).isEqualTo("/a/deep/path")
        assertThat(requestUrl.queryParameter("key")).isEqualTo("foo bar")
      }
    
      @Test
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 21.9K bytes
    - Viewed (0)
  9. mockwebserver/src/test/java/mockwebserver3/MockWebServerTest.kt

          "GET /a/deep/path?key=foo%20bar HTTP/1.1",
        )
        val requestUrl = request.requestUrl
        assertThat(requestUrl!!.scheme).isEqualTo("http")
        assertThat(requestUrl.host).isEqualTo(server.hostName)
        assertThat(requestUrl.port).isEqualTo(server.port)
        assertThat(requestUrl.encodedPath).isEqualTo("/a/deep/path")
        assertThat(requestUrl.queryParameter("key")).isEqualTo("foo bar")
      }
    
      @Test
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 23.5K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/eventbus/DispatcherTest.java

                    try {
                      barrier.await();
                    } catch (Exception e) {
                      throw new AssertionError(e);
                    }
    
                    dispatcher.dispatch("foo", stringSubscribers.iterator());
                    latch.countDown();
                  }
                })
            .start();
    
        Uninterruptibles.awaitUninterruptibly(latch);
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Apr 27 15:41:25 UTC 2022
    - 5.6K bytes
    - Viewed (0)
Back to top