Search Options

Results per page
Sort
Preferred Languages
Advance

Results 351 - 360 of 499 for bar5 (0.06 sec)

  1. compat/maven-embedder/src/test/java/org/apache/maven/cli/props/MavenPropertiesTest.java

        private static final String COMMENT = "# comment";
        private static final String KEY1 = "mvn:foo/bar";
        private static final String KEY1A = "mvn\\:foo/bar";
        private static final String KEY2 = "foo:bar:version:type:classifier";
        private static final String KEY2A = "foo\\:bar\\:version\\:type\\:classifier";
        private static final String VALUE1 = "value";
    
        private MavenProperties properties;
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 16.4K bytes
    - Viewed (0)
  2. tests/test_tutorial/test_bigger_applications/test_main_an.py

        assert response.status_code == 200
        assert response.json() == {"name": "Plumbus", "item_id": "plumbus"}
    
    
    def test_items_bar_token_jessica(client: TestClient):
        response = client.get(
            "/items/bar?token=jessica", headers={"X-Token": "fake-super-secret-token"}
        )
        assert response.status_code == 404
        assert response.json() == {"detail": "Item not found"}
    
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Apr 18 19:40:57 UTC 2024
    - 24.6K bytes
    - Viewed (0)
  3. docs/ja/docs/tutorial/header-params.md

    ```Python hl_lines="9"
    {!../../docs_src/header_params/tutorial003.py!}
    ```
    
    もし、その*path operation*で通信する場合は、次のように2つのHTTPヘッダーを送信します:
    
    ```
    X-Token: foo
    X-Token: bar
    ```
    
    このレスポンスは以下のようになります:
    
    ```JSON
    {
        "X-Token values": [
            "bar",
            "foo"
        ]
    }
    ```
    
    ## まとめ
    
    ヘッダーは`Header`で宣言し、`Query`や`Path`、`Cookie`と同じパターンを使用する。
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  4. tests/test_additional_properties_bool.py

    
    @app.post("/")
    async def post(
        foo: Union[Foo, None] = None,
    ):
        return foo
    
    
    client = TestClient(app)
    
    
    def test_call_invalid():
        response = client.post("/", json={"foo": {"bar": "baz"}})
        assert response.status_code == 422
    
    
    def test_call_valid():
        response = client.post("/", json={})
        assert response.status_code == 200
        assert response.json() == {}
    
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jul 07 17:12:13 UTC 2023
    - 4.2K bytes
    - Viewed (0)
  5. tests/test_tutorial/test_additional_responses/test_tutorial001.py

        assert response.status_code == 200, response.text
        assert response.json() == {"id": "foo", "value": "there goes my hero"}
    
    
    def test_path_operation_not_found():
        response = client.get("/items/bar")
        assert response.status_code == 404, response.text
        assert response.json() == {"message": "Item not found"}
    
    
    def test_openapi_schema():
        response = client.get("/openapi.json")
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jun 30 18:25:16 UTC 2023
    - 4.3K bytes
    - Viewed (0)
  6. docs/ru/docs/tutorial/query-params-str-validations.md

    Затем, получив такой URL:
    
    ```
    http://localhost:8000/items/?q=foo&q=bar
    ```
    
    вы бы получили несколько значений (`foo` и `bar`), которые относятся к параметру `q`, в виде Python `list` внутри вашей *функции обработки пути*, в *параметре функции* `q`.
    
    Таким образом, ответ на этот URL будет:
    
    ```JSON
    {
      "q": [
        "foo",
        "bar"
      ]
    }
    ```
    
    /// tip | "Подсказка"
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 37.5K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/core/xml/SAXParserFactoryUtilTest.java

                @Override
                public void startElement(final String uri, final String localName, final String qName, final Attributes attributes)
                        throws SAXException {
                    if ("bar".equals(qName)) {
                        included = true;
                    }
                }
    
                @Override
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/collect/ForMapMultimapAsMapImplementsMapTest.java

        return Multimaps.forMap(map).asMap();
      }
    
      @Override
      protected Map<String, Collection<Integer>> makePopulatedMap() {
        Map<String, Integer> map = Maps.newHashMap();
        map.put("foo", 1);
        map.put("bar", 2);
        map.put("cow", 3);
        return Multimaps.forMap(map).asMap();
      }
    
      @Override
      public void testEntrySetRemoveAllNullFromEmpty() {
        try {
          super.testEntrySetRemoveAllNullFromEmpty();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Feb 19 20:34:55 UTC 2024
    - 3K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/net/UrlEscapersTest.java

        // Plus for spaces
        assertEscaping(e, "+", ' ');
        assertEscaping(e, "%2B", '+');
    
        assertEquals("safe+with+spaces", e.escape("safe with spaces"));
        assertEquals("foo%40bar.com", e.escape("foo@bar.com"));
      }
    
      public void testUrlPathSegmentEscaper() {
        UnicodeEscaper e = (UnicodeEscaper) urlPathSegmentEscaper();
        assertPathEscaper(e);
        assertUnescaped(e, '+');
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 17:53:22 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  10. docs/em/docs/advanced/advanced-dependencies.md

    ## ✍ 👐
    
    👥 💪 ✍ 👐 👉 🎓 ⏮️:
    
    ```Python hl_lines="16"
    {!../../docs_src/dependencies/tutorial011.py!}
    ```
    
    &amp; 👈 🌌 👥 💪 "🔗" 👆 🔗, 👈 🔜 ✔️ `"bar"` 🔘 ⚫️, 🔢 `checker.fixed_content`.
    
    ## ⚙️ 👐 🔗
    
    ⤴️, 👥 💪 ⚙️ 👉 `checker` `Depends(checker)`, ↩️ `Depends(FixedContentQueryChecker)`, ↩️ 🔗 👐, `checker`, 🚫 🎓 ⚫️.
    
    &amp; 🕐❔ ❎ 🔗, **FastAPI** 🔜 🤙 👉 `checker` 💖:
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 2K bytes
    - Viewed (0)
Back to top