Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 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. .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)
  5. 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)
Back to top