Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for __VERSION__ (0.12 sec)

  1. tests/test_multipart_installation.py

        monkeypatch.delattr("multipart.__version__", raising=False)
        with pytest.raises(RuntimeError, match=multipart_not_installed_error):
            app = FastAPI()
    
            @app.post("/")
            async def root(username: str = Form()):
                return username  # pragma: nocover
    
    
    def test_no_multipart_installed_file(monkeypatch):
        monkeypatch.delattr("multipart.__version__", raising=False)
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Fri May 13 23:38:22 UTC 2022
    - 3.7K bytes
    - Viewed (0)
  2. fastapi/__init__.py

    """FastAPI framework, high performance, easy to learn, fast to code, ready for production"""
    
    __version__ = "0.111.0"
    
    from starlette import status as status
    
    from .applications import FastAPI as FastAPI
    from .background import BackgroundTasks as BackgroundTasks
    from .datastructures import UploadFile as UploadFile
    from .exceptions import HTTPException as HTTPException
    from .exceptions import WebSocketException as WebSocketException
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu May 02 22:50:18 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/quantization/stablehlo/python/integration_test/stablehlo_quantizer_odml_oss.ipynb

          "execution_count": null,
          "metadata": {
            "id": "duab6P-nPZzF"
          },
          "outputs": [],
          "source": [
            "import tensorflow as tf\n",
            "print(\"TensorFlow version:\", tf.__version__)"
          ]
        },
        {
          "cell_type": "code",
          "execution_count": null,
          "metadata": {
            "id": "c9JX9RJTPaoW"
          },
          "outputs": [],
          "source": [
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Apr 12 03:40:43 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  4. fastapi/dependencies/utils.py

        field_info = field.field_info
        if isinstance(field_info, params.Form):
            try:
                # __version__ is available in both multiparts, and can be mocked
                from multipart import __version__  # type: ignore
    
                assert __version__
                try:
                    # parse_options_header is only available in the right multipart
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Tue Apr 02 02:52:56 UTC 2024
    - 29.5K bytes
    - Viewed (0)
  5. .github/DISCUSSION_TEMPLATE/questions.yml

          label: FastAPI Version
          description: |
            What FastAPI version are you using?
    
            You can find the FastAPI version with:
    
            ```bash
            python -c "import fastapi; print(fastapi.__version__)"
            ```
        validations:
          required: true
      - type: input
        id: pydantic-version
        attributes:
          label: Pydantic Version
          description: |
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Aug 03 15:59:41 UTC 2023
    - 5.8K bytes
    - Viewed (0)
  6. tensorflow/api_template_v1.__init__.py

    from tensorflow.python.util.lazy_loader import LazyLoader as _LazyLoader
    from tensorflow.python.util.lazy_loader import KerasLazyLoader as _KerasLazyLoader
    
    # API IMPORTS PLACEHOLDER
    
    # WRAPPER_PLACEHOLDER
    
    if "dev" in __version__:   # pylint: disable=undefined-variable
      _logging.warning("""
    
      TensorFlow's `tf-nightly` package will soon be updated to TensorFlow 2.0.
    
      Please upgrade your code to TensorFlow 2.0:
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jan 23 02:14:00 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  7. platforms/native/platform-native/src/test/groovy/org/gradle/nativeplatform/toolchain/internal/gcc/metadata/GccMetadataProviderTest.groovy

    #define __GNUC__ 7
    #define __GNUC_MINOR__ 3
    #define __x86_64__ 1
    """
        static def clang = """#define __GNUC_MINOR__ 2
    #define __GNUC_PATCHLEVEL__ 1
    #define __GNUC__ 4
    #define __VERSION__ "4.2.1 Compatible Apple LLVM 5.0 (clang-500.2.79)"
    #define __clang__ 1
    #define __clang_major__ 5
    #define __clang_minor__ 0
    #define __clang_patchlevel__ 0
    #define __clang_version__ "5.0 (clang-500.2.79)"
    """
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jan 16 06:01:47 UTC 2024
    - 18.2K bytes
    - Viewed (0)
Back to top