Search Options

Results per page
Sort
Preferred Languages
Advance

Results 681 - 690 of 7,548 for AN (0.02 sec)

  1. tests/test_security_http_basic_optional.py

    security = HTTPBasic(auto_error=False)
    
    
    @app.get("/users/me")
    def read_current_user(credentials: Optional[HTTPBasicCredentials] = Security(security)):
        if credentials is None:
            return {"msg": "Create an account first"}
        return {"username": credentials.username, "password": credentials.password}
    
    
    client = TestClient(app)
    
    
    def test_security_http_basic():
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Mon Nov 24 19:03:06 UTC 2025
    - 2.6K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/primitives/Chars.java

      public static int compare(char a, char b) {
        return Character.compare(a, b);
      }
    
      /**
       * Returns {@code true} if {@code target} is present as an element anywhere in {@code array}.
       *
       * @param array an array of {@code char} values, possibly empty
       * @param target a primitive {@code char} value
       * @return {@code true} if {@code array[i] == target} for some value of {@code i}
       */
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 24.2K bytes
    - Viewed (0)
  3. okhttp/src/commonTest/kotlin/okhttp3/internal/publicsuffix/PublicSuffixTesting.kt

     * You may obtain a copy of the License at
     *
     *      http://www.apache.org/licenses/LICENSE-2.0
     *
     * Unless required by applicable law or agreed to in writing, software
     * distributed under the License is distributed on an "AS IS" BASIS,
     * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Fri May 23 16:58:05 UTC 2025
    - 753 bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/core/lang/GenericsUtil.java

        }
    
        /**
         * Returns the element type of an array with parameterized types.
         * <p>
         * If <code>type</code> is not an array of parameterized types, <code>null</code> is returned.
         * </p>
         *
         * @param type
         *            the type to analyze
         * @return the element type of the array, or null if not an array of parameterized types
         */
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 23.4K bytes
    - Viewed (0)
  5. compat/maven-plugin-api/src/main/java/org/apache/maven/plugin/MojoExecutionException.java

     * software distributed under the License is distributed on an
     * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
     * KIND, either express or implied.  See the License for the
     * specific language governing permissions and limitations
     * under the License.
     */
    package org.apache.maven.plugin;
    
    /**
     * An exception occurring during the execution of a plugin.<br>
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  6. docs/en/docs/tutorial/security/first-steps.md

    But it's the best one for our use case.
    
    And it might be the best for most use cases, unless you are an OAuth2 expert and know exactly why there's another option that better suits your needs.
    
    In that case, **FastAPI** also provides you with the tools to build it.
    
    ///
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 8.4K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/io/CloseablesTest.java

        // 'swallowException' when the mock does not throw an exception.
        setupCloseable(false);
        doClose(mockCloseable, false, false);
    
        setupCloseable(false);
        doClose(mockCloseable, true, false);
      }
    
      public void testClose_closeableWithEatenException() throws IOException {
        // make sure that no exception is thrown if 'swallowException' is true
        // when the mock does throw an exception.
        setupCloseable(true);
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  8. tests/test_dependency_after_yield_raise.py

            client.get("/broken")
    
    
    def test_broken_no_raise():
        """
        When a dependency with yield raises after the yield (not in an except), the
        response is already "successfully" sent back to the client, but there's still
        an error in the server afterwards, an exception is raised and captured or shown
        in the server logs.
        """
        with TestClient(app, raise_server_exceptions=False) as client:
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 21:25:59 UTC 2025
    - 1.7K bytes
    - Viewed (0)
  9. docs/en/docs/async.md

    ## Coroutines { #coroutines }
    
    **Coroutine** is just the very fancy term for the thing returned by an `async def` function. Python knows that it is something like a function, that it can start and that it will end at some point, but that it might be paused ⏸ internally too, whenever there is an `await` inside of it.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sun Aug 31 09:56:21 UTC 2025
    - 24K bytes
    - Viewed (0)
  10. fess-crawler/src/main/java/org/codelibs/fess/crawler/entity/UrlQueue.java

        /**
         * Retrieves the depth of the URL in the queue.
         *
         * @return the depth of the URL as an Integer.
         */
        Integer getDepth();
    
        /**
         * Sets the depth of the URL in the queue.
         *
         * @param depth the depth to set, represented as an Integer.
         */
        void setDepth(Integer depth);
    
        /**
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sat Mar 15 06:52:00 UTC 2025
    - 4.3K bytes
    - Viewed (0)
Back to top