Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 80 for did (0.01 seconds)

  1. tests/test_router_circular_import.py

    import pytest
    from fastapi import APIRouter
    
    
    def test_router_circular_import():
        router = APIRouter()
    
        with pytest.raises(
            AssertionError,
            match="Cannot include the same APIRouter instance into itself. Did you mean to include a different router?",
        ):
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Tue Feb 10 10:58:40 GMT 2026
    - 317 bytes
    - Click Count (0)
  2. src/main/webapp/WEB-INF/orig/view/searchNoResult.jsp

    <%@page pageEncoding="UTF-8" contentType="text/html; charset=UTF-8"%>
    <%-- query did not match any document --%>
    <div id="result" class="row">
    	<div class="col-md-8">
    		<div class="text-center py-4">
    			<p class="mb-3"><i class="fa fa-search fa-3x text-muted" aria-hidden="true"></i></p>
    			<p class="mb-2"><la:message key="labels.did_not_match" arg0="${displayQuery}" /></p>
    			<p class="text-muted"><la:message key="labels.did_not_match_suggestion" /></p>
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Mon Feb 23 08:03:44 GMT 2026
    - 969 bytes
    - Click Count (0)
  3. docs_src/handling_errors/tutorial003_py310.py

    
    @app.exception_handler(UnicornException)
    async def unicorn_exception_handler(request: Request, exc: UnicornException):
        return JSONResponse(
            status_code=418,
            content={"message": f"Oops! {exc.name} did something. There goes a rainbow..."},
        )
    
    
    @app.get("/unicorns/{name}")
    async def read_unicorn(name: str):
        if name == "yolo":
            raise UnicornException(name=name)
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Feb 12 13:19:43 GMT 2026
    - 626 bytes
    - Click Count (0)
  4. src/main/webapp/WEB-INF/view/searchNoResult.jsp

    <%@page pageEncoding="UTF-8" contentType="text/html; charset=UTF-8"%>
    <%-- query did not match any document --%>
    <div id="result" class="row">
    	<div class="col-md-8">
    		<div class="text-center py-4">
    			<p class="mb-3"><i class="fa fa-search fa-3x text-muted" aria-hidden="true"></i></p>
    			<p class="mb-2"><la:message key="labels.did_not_match" arg0="${displayQuery}" /></p>
    			<p class="text-muted"><la:message key="labels.did_not_match_suggestion" /></p>
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Mon Feb 23 08:03:44 GMT 2026
    - 969 bytes
    - Click Count (0)
  5. guava-tests/test/com/google/common/util/concurrent/InterruptionUtil.java

              Thread.interrupted();
              if (interruptingThread.isAlive()) {
                // This will be hidden by test-output redirection:
                logger.severe("InterruptenatorTask did not exit; future tests may be affected");
                /*
                 * This fail() helps as long as TearDownAccepter is a TearDownStack that was *not*
                 * configured with suppressThrows=true.
                 */
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 17 15:38:30 GMT 2026
    - 3.4K bytes
    - Click Count (0)
  6. tests/test_stream_cancellation.py

    
    async def _run_asgi_and_cancel(app: FastAPI, path: str, timeout: float) -> bool:
        """Call the ASGI app for *path* and cancel after *timeout* seconds.
    
        Returns `True` if the cancellation was delivered (i.e. it did not hang).
        """
        chunks: list[bytes] = []
    
        async def receive():  # type: ignore[no-untyped-def]
            # Simulate a client that never disconnects, rely on cancellation
            await anyio.sleep(float("inf"))
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Feb 27 18:56:47 GMT 2026
    - 2.7K bytes
    - Click Count (0)
  7. android/guava-tests/test/com/google/common/util/concurrent/InterruptionUtil.java

              Thread.interrupted();
              if (interruptingThread.isAlive()) {
                // This will be hidden by test-output redirection:
                logger.severe("InterruptenatorTask did not exit; future tests may be affected");
                /*
                 * This fail() helps as long as TearDownAccepter is a TearDownStack that was *not*
                 * configured with suppressThrows=true.
                 */
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 17 15:38:30 GMT 2026
    - 3.4K bytes
    - Click Count (0)
  8. android/guava-tests/test/com/google/common/util/concurrent/AbstractFutureTest.java

          assertWithMessage(error).that(error).isNull();
        }
        executor.shutdown();
      }
    
      /**
       * He did the bash, he did the future bash The future bash, it was a concurrency smash He did the
       * bash, it caught on in a flash He did the bash, he did the future bash
       */
    
      public void testFutureBash() {
        if (isWindows()) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 45.2K bytes
    - Click Count (0)
  9. docs/en/docs/benchmarks.md

        * You wouldn't write an application in Uvicorn directly. That would mean that your code would have to include more or less, at least, all the code provided by Starlette (or **FastAPI**). And if you did that, your final application would have the same overhead as having used a framework and minimizing your app code and bugs.
        * If you are comparing Uvicorn, compare it against Daphne, Hypercorn, uWSGI, etc. Application servers.
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 3.4K bytes
    - Click Count (0)
  10. guava-tests/test/com/google/common/util/concurrent/AbstractFutureTest.java

          assertWithMessage(error).that(error).isNull();
        }
        executor.shutdown();
      }
    
      /**
       * He did the bash, he did the future bash The future bash, it was a concurrency smash He did the
       * bash, it caught on in a flash He did the bash, he did the future bash
       */
    
      public void testFutureBash() {
        if (isWindows()) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 45.2K bytes
    - Click Count (0)
Back to Top