Search Options

Results per page
Sort
Preferred Languages
Advance

Results 161 - 170 of 472 for convey (0.03 sec)

  1. tests/test_tutorial/test_websockets/test_tutorial002.py

                )  # pragma: no cover
    
    
    def test_websocket_invalid_data(app: FastAPI):
        client = TestClient(app)
        with pytest.raises(WebSocketDisconnect):
            with client.websocket_connect("/items/foo/ws?q=bar&token=some-token"):
                pytest.fail(
                    "did not raise WebSocketDisconnect on __enter__"
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 4.1K bytes
    - Viewed (0)
  2. fastapi/cli.py

    try:
        from fastapi_cli.cli import main as cli_main
    
    except ImportError:  # pragma: no cover
        cli_main = None  # type: ignore
    
    
    def main() -> None:
        if not cli_main:  # type: ignore[truthy-function]
            message = 'To use the fastapi command, please install "fastapi[standard]":\n\n\tpip install "fastapi[standard]"\n'
            print(message)
            raise RuntimeError(message)  # noqa: B904
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Fri Aug 02 06:03:05 UTC 2024
    - 418 bytes
    - Viewed (0)
  3. impl/maven-cli/src/main/java/org/apache/maven/cling/transfer/AbstractMavenTransferListener.java

            long nanos = duration.toNanos();
            if (nanos > 0) {
                double seconds = nanos / (double) TimeUnit.SECONDS.toNanos(1); // Convert to fractional seconds
                double bytesPerSecond = contentLength / seconds;
                message.append(" at ");
                format.formatRate(message, bytesPerSecond);
            }
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Apr 22 22:13:51 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  4. tests/test_additional_responses_default_validationerror.py

    from fastapi import FastAPI
    from fastapi.testclient import TestClient
    
    app = FastAPI()
    
    
    @app.get("/a/{id}")
    async def a(id):
        pass  # pragma: no cover
    
    
    client = TestClient(app)
    
    
    def test_openapi_schema():
        response = client.get("/openapi.json")
        assert response.status_code == 200, response.text
        assert response.json() == {
            "openapi": "3.1.0",
            "info": {"title": "FastAPI", "version": "0.1.0"},
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Fri Jun 30 18:25:16 UTC 2023
    - 2.8K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/suggest/converter/ReadingConverter.java

         * @param langs the languages to be used for conversion.
         * @return a list of readings for the given text.
         * @throws IOException if an I/O error occurs during conversion.
         */
        List<String> convert(String text, String field, String... langs) throws IOException;
    Registered: Sat Dec 20 13:04:59 UTC 2025
    - Last Modified: Mon Nov 17 14:28:21 UTC 2025
    - 1.6K bytes
    - Viewed (0)
  6. docs/ru/docs/tutorial/header-param-models.md

                "msg": "Extra inputs are not permitted",
                "input": "plumbus",
            }
        ]
    }
    ```
    
    ## Как отключить автоматическое преобразование подчеркиваний { #disable-convert-underscores }
    
    Как и в случае с обычными заголовками, если у вас в именах параметров имеются символы подчеркивания, они **автоматически преобразовываются в дефис**.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Tue Sep 30 11:24:39 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/smb2/lease/DirectoryChangeNotifier.java

                System.arraycopy(outputBuffer, offset + 12, fileNameBytes, 0, fileNameLength);
                String fileName = new String(fileNameBytes, StandardCharsets.UTF_16LE);
    
                // Convert action to our enum
                DirectoryChangeType changeType = convertAction(action);
    
                // Reset failure count on successful notification
                resetFailureCount(handle);
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 13.7K bytes
    - Viewed (0)
  8. docs/pt/docs/tutorial/schema-extra-example.md

    * `Form()`
    * `File()`
    
    As chaves do `dict` identificam cada exemplo, e cada valor é outro `dict`.
    
    Cada `dict` de exemplo específico em `examples` pode conter:
    
    * `summary`: Descrição curta do exemplo.
    * `description`: Uma descrição longa que pode conter texto em Markdown.
    * `value`: Este é o exemplo em si, por exemplo, um `dict`.
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Nov 12 16:23:57 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  9. docs/pt/docs/python-types.md

    * `bool`
    * `bytes`
    
    {* ../../docs_src/python_types/tutorial005_py39.py hl[1] *}
    
    ### Tipos genéricos com parâmetros de tipo { #generic-types-with-type-parameters }
    
    Existem algumas estruturas de dados que podem conter outros valores, como `dict`, `list`, `set` e `tuple`. E os valores internos também podem ter seu próprio tipo.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 16.7K bytes
    - Viewed (0)
  10. okhttp-java-net-cookiejar/src/main/kotlin/okhttp3/java/net/cookiejar/JavaNetCookieJar.kt

            }
          }
        }
    
        return if (cookies != null) {
          Collections.unmodifiableList(cookies)
        } else {
          emptyList()
        }
      }
    
      /**
       * Convert a request header to OkHttp's cookies via [HttpCookie]. That extra step handles
       * multiple cookies in a single request header, which [Cookie.parse] doesn't support.
       */
      private fun decodeHeaderAsJavaNetCookies(
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Sat May 10 11:15:14 UTC 2025
    - 3.8K bytes
    - Viewed (0)
Back to top