Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for warning (0.38 sec)

  1. fastapi/param_functions.py

            str,
            Doc(
                """
                The media type of this parameter field. Changing it would affect the
                generated OpenAPI, but currently it doesn't affect the parsing of the data.
                """
            ),
        ] = "application/json",
        alias: Annotated[
            Optional[str],
            Doc(
                """
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:40:57 GMT 2024
    - 62.5K bytes
    - Viewed (0)
  2. configure.py

          cuda_libraries.append('tensorrt')
          print('WARNING: TensorRT support on Windows is experimental\n')
    
      paths = glob.glob('**/third_party/gpus/find_cuda_config.py', recursive=True)
      if not paths:
        raise FileNotFoundError(
            "Can't find 'find_cuda_config.py' script inside working directory")
      proc = subprocess.Popen(
    Python
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 18:25:36 GMT 2024
    - 53.8K bytes
    - Viewed (1)
  3. tests/test_generate_unique_id_function.py

        client = TestClient(app)
        with warnings.catch_warnings(record=True) as w:
            warnings.simplefilter("always")
            client.get("/openapi.json")
            assert len(w) >= 2
            duplicate_warnings = [
                warning for warning in w if issubclass(warning.category, UserWarning)
            ]
            assert len(duplicate_warnings) > 0
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Jan 13 15:10:26 GMT 2024
    - 66.7K bytes
    - Viewed (0)
Back to top