Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for Changes (0.18 sec)

  1. fastapi/openapi/utils.py

        "properties": {
            "detail": {
                "title": "Detail",
                "type": "array",
                "items": {"$ref": REF_PREFIX + "ValidationError"},
            }
        },
    }
    
    status_code_ranges: Dict[str, str] = {
        "1XX": "Information",
        "2XX": "Success",
        "3XX": "Redirection",
        "4XX": "Client Error",
        "5XX": "Server Error",
        "DEFAULT": "Default Response",
    }
    
    
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:40:57 GMT 2024
    - 21.8K bytes
    - Viewed (0)
  2. scripts/docs.py

        config = get_en_config()
        languages = [{"en": "/"}]
        new_alternate: List[Dict[str, str]] = []
        # Language names sourced from https://quickref.me/iso-639-1
        # Contributors may wish to update or change these, e.g. to fix capitalization.
        language_names_path = Path(__file__).parent / "../docs/language_names.yml"
        local_language_names: Dict[str, str] = mkdocs.utils.yaml_load(
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Mon Jan 22 19:26:14 GMT 2024
    - 10.9K bytes
    - Viewed (1)
  3. tests/test_response_change_status_code.py

    Samuel Colvin <******@****.***> 1586320658 +0100
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Wed Apr 08 04:37:38 GMT 2020
    - 589 bytes
    - Viewed (0)
  4. fastapi/openapi/docs.py

                            authId: oauth2.auth.name,
                            source: "auth",
                            level: "warning",
                            message: "Authorization may be unsafe, passed state was changed in server. The passed state wasn't returned from auth server."
                        });
                    }
    
                    if (qp.code) {
                        delete oauth2.state;
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Tue Apr 02 02:48:51 GMT 2024
    - 10.1K bytes
    - Viewed (0)
  5. tensorflow/api_template_v1.__init__.py

        * https://www.tensorflow.org/guide/migrate
    
      Or install the latest stable TensorFlow 1.X release:
        * `pip install -U "tensorflow==1.*"`
    
      Otherwise your code may be broken by the change.
    
      """)
    
    # Make sure directory containing top level submodules is in
    # the __path__ so that "from tensorflow.foo import bar" works.
    # We're using bitwise, but there's nothing special about that.
    Python
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Tue Jan 23 02:14:00 GMT 2024
    - 7.4K bytes
    - Viewed (0)
  6. fastapi/applications.py

            self.state: Annotated[
                State,
                Doc(
                    """
                    A state object for the application. This is the same object for the
                    entire application, it doesn't change from request to request.
    
                    You normally woudln't use this in FastAPI, for most of the cases you
                    would instead use FastAPI dependencies.
    
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Tue Apr 02 02:48:51 GMT 2024
    - 172.2K bytes
    - Viewed (0)
  7. bin/diff_yaml.py

        changed = 0
        for k in sorted(common):
            if q0[k] != q1[k]:
                changed += 1
    
        print("## +++ ", args.new)
        print("## --- ", args.orig)
        print("## Added:", len(added))
        print("## Removed:", len(removed))
        print("## Updated:", changed)
        print("## Unchanged:", len(common) - changed)
    
        for k in sorted(added):
            print("+", k)
    Python
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Wed Mar 03 16:14:57 GMT 2021
    - 4.5K bytes
    - Viewed (0)
  8. configure.py

            for name in cuda_env_names:
              if name in environ_cp:
                write_action_env_to_bazelrc(name, environ_cp[name])
            break
    
          # Restore settings changed below if CUDA config could not be validated.
          environ_cp = dict(environ_save)
    
          set_tf_cuda_version(environ_cp)
          set_tf_cudnn_version(environ_cp)
          if is_windows():
    Python
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 18:25:36 GMT 2024
    - 53.8K bytes
    - Viewed (0)
  9. .github/actions/people/app/main.py

        )
        if (
            people_old_content == new_people_content
            and github_sponsors_old_content == new_github_sponsors_content
        ):
            logging.info("The FastAPI People data hasn't changed, finishing.")
            sys.exit(0)
        people_path.write_text(new_people_content, encoding="utf-8")
        github_sponsors_path.write_text(new_github_sponsors_content, encoding="utf-8")
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Tue Mar 26 17:38:21 GMT 2024
    - 19.2K bytes
    - Viewed (1)
  10. tests/test_tutorial/test_response_change_status_code/test_tutorial001.py

    from fastapi.testclient import TestClient
    
    from docs_src.response_change_status_code.tutorial001 import app
    
    client = TestClient(app)
    
    
    def test_path_operation():
        response = client.put("/get-or-create-task/foo")
        print(response.content)
        assert response.status_code == 200, response.text
        assert response.json() == "Listen to the Bar Fighters"
        response = client.put("/get-or-create-task/bar")
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Jul 09 18:06:12 GMT 2020
    - 521 bytes
    - Viewed (0)
Back to top