Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1141 - 1150 of 1,563 for examples (0.13 sec)

  1. tests/test_tutorial/test_security/test_tutorial005_an.py

        )
        assert response.status_code == 200, response.text
        assert response.json() == {
            "username": "johndoe",
            "full_name": "John Doe",
            "email": "johndoe@example.com",
            "disabled": False,
        }
    
    
    def test_incorrect_token():
        response = client.get("/users/me", headers={"Authorization": "Bearer nonexistent"})
        assert response.status_code == 401, response.text
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Wed Mar 13 19:07:10 UTC 2024
    - 15.4K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/reflect/ImmutableTypeToInstanceMapTest.java

        }
    
        @Override
        public Object[] createValueArray(int length) {
          return new Object[length];
        }
    
        @Override
        public SampleElements<Entry<TypeToken, Object>> samples() {
          return new SampleElements<>(
              entry(TypeToken.of(Integer.class), 0),
              entry(TypeToken.of(Number.class), 1),
              entry(new TypeToken<ImmutableList<Integer>>() {}, ImmutableList.of(2)),
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 22 17:15:24 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/io/MoreFiles.java

          this.path = checkNotNull(path);
          this.options = options.clone();
          this.followLinks = followLinks(this.options);
          // TODO(cgdecker): validate the provided options... for example, just WRITE seems wrong
        }
    
        private static boolean followLinks(OpenOption[] options) {
          for (OpenOption option : options) {
            if (option == NOFOLLOW_LINKS) {
              return false;
            }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 16:07:00 UTC 2024
    - 35K bytes
    - Viewed (0)
  4. guava/src/com/google/common/io/MoreFiles.java

          this.path = checkNotNull(path);
          this.options = options.clone();
          this.followLinks = followLinks(this.options);
          // TODO(cgdecker): validate the provided options... for example, just WRITE seems wrong
        }
    
        private static boolean followLinks(OpenOption[] options) {
          for (OpenOption option : options) {
            if (option == NOFOLLOW_LINKS) {
              return false;
            }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 16:07:00 UTC 2024
    - 34.5K bytes
    - Viewed (0)
  5. docs/em/docs/tutorial/security/oauth2-jwt.md

    👀 👈 🕳 📟 🔢 🔐 "`secret`", 👥 🕴 ✔️ #️⃣ ⏬.
    
    ///
    
    <img src="/img/tutorial/security/image08.png">
    
    🤙 🔗 `/users/me/`, 👆 🔜 🤚 📨:
    
    ```JSON
    {
      "username": "johndoe",
      "email": "johndoe@example.com",
      "full_name": "John Doe",
      "disabled": false
    }
    ```
    
    <img src="/img/tutorial/security/image09.png">
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  6. android/guava-testlib/src/com/google/common/collect/testing/testers/ListEqualsTester.java

      @CollectionSize.Require(absent = CollectionSize.ZERO)
      public void testEquals_otherListWithDifferentElements() {
        ArrayList<E> other = new ArrayList<>(getSampleElements());
        other.set(other.size() / 2, getSubjectGenerator().samples().e3());
        assertFalse(
            "A List should not equal another List containing different elements.",
            getList().equals(other));
      }
    
      @CollectionSize.Require(absent = CollectionSize.ZERO)
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jul 24 20:12:35 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  7. compat/maven-artifact/src/main/java/org/apache/maven/artifact/versioning/ComparableVersion.java

     *     </ul>
     *     Unknown qualifiers are considered after known qualifiers, with lexical order (always case insensitive),
     *   </li>
     * <li>a hyphen usually precedes a qualifier, and is always less important than digits/number, for example
     *   {@code 1.0.RC2 < 1.0-RC3 < 1.0.1}; but prefer {@code 1.0.0-RC1} over {@code 1.0.0.RC1}, and more
     *   generally: {@code 1.0.X2 < 1.0-X3 < 1.0.1} for any string {@code X}; but prefer {@code 1.0.0-X1}
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 26K bytes
    - Viewed (0)
  8. docs/bucket/replication/README.md

    ```
    mc admin bucket remote add myminio/srcbucket https://accessKey:secretKey@replica-endpoint:9000/destbucket --service replication --region us-east-1
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Jan 24 23:46:33 UTC 2023
    - 18.2K bytes
    - Viewed (0)
  9. docs/em/docs/advanced/additional-responses.md

    **FastAPI** 🔜 🚧 🌖 ℹ ⚪️➡️ `responses`, &amp; 🌀 ⚫️ ⏮️ 🎻 🔗 ⚪️➡️ 👆 🏷.
    
    🖼, 👆 💪 📣 📨 ⏮️ 👔 📟 `404` 👈 ⚙️ Pydantic 🏷 &amp; ✔️ 🛃 `description`.
    
    &amp; 📨 ⏮️ 👔 📟 `200` 👈 ⚙️ 👆 `response_model`, ✋️ 🔌 🛃 `example`:
    
    ```Python hl_lines="20-31"
    {!../../docs_src/additional_responses/tutorial003.py!}
    ```
    
    ⚫️ 🔜 🌐 🌀 &amp; 🔌 👆 🗄, &amp; 🎦 🛠️ 🩺:
    
    <img src="/img/tutorial/additional-responses/image01.png">
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  10. okhttp/src/main/kotlin/okhttp3/internal/connection/RouteSelector.kt

        if (!hasNext()) throw NoSuchElementException()
    
        // Compute the next set of routes to attempt.
        val routes = mutableListOf<Route>()
        while (hasNextProxy()) {
          // Postponed routes are always tried last. For example, if we have 2 proxies and all the
          // routes for proxy1 should be postponed, we'll move to proxy2. Only after we've exhausted
          // all the good routes will we attempt the postponed routes.
          val proxy = nextProxy()
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Wed Mar 06 17:33:38 UTC 2024
    - 7.2K bytes
    - Viewed (0)
Back to top