Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for Berger (0.15 sec)

  1. tests/test_tutorial/test_dependencies/test_tutorial008d_an.py

        )
    
    
    def test_internal_server_error():
        from docs_src.dependencies.tutorial008d_an import app
    
        client = TestClient(app, raise_server_exceptions=False)
        response = client.get("/items/portal-gun")
        assert response.status_code == 500, response.text
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Sat Feb 24 23:06:37 GMT 2024
    - 1.2K bytes
    - Viewed (0)
  2. tests/test_tutorial/test_dependencies/test_tutorial008d.py

        )
    
    
    def test_internal_server_error():
        from docs_src.dependencies.tutorial008d import app
    
        client = TestClient(app, raise_server_exceptions=False)
        response = client.get("/items/portal-gun")
        assert response.status_code == 500, response.text
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Sat Feb 24 23:06:37 GMT 2024
    - 1.2K bytes
    - Viewed (0)
  3. tensorflow/api_template.__init__.py

    setattr(_current_module, "losses", _losses)
    setattr(_current_module, "metrics", _metrics)
    setattr(_current_module, "optimizers", _optimizers)
    setattr(_current_module, "initializers", _initializers)
    
    
    # Do an eager load for Keras' code so that any function/method that needs to
    # happen at load time will trigger, eg registration of optimizers in the
    # SavedModel registry.
    # See b/196254385 for more details.
    try:
    Python
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Tue Mar 05 06:27:59 GMT 2024
    - 6.7K bytes
    - Viewed (3)
  4. .github/actions/people/app/main.py

                            translation_reviewers[review.author.login] += 1
                            break
            for reviewer in pr_reviewers:
                reviewers[reviewer] += 1
            if pr.state == "MERGED" and pr.author:
                contributors[pr.author.login] += 1
        return ContributorsResults(
            contributors=contributors,
            commenters=commenters,
            reviewers=reviewers,
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Tue Mar 26 17:38:21 GMT 2024
    - 19.2K bytes
    - Viewed (1)
  5. fastapi/exceptions.py

    
    class HTTPException(StarletteHTTPException):
        """
        An HTTP exception you can raise in your own code to show errors to the client.
    
        This is for client errors, invalid authentication, invalid data, etc. Not for server
        errors in your code.
    
        Read more about it in the
        [FastAPI docs for Handling Errors](https://fastapi.tiangolo.com/tutorial/handling-errors/).
    
        ## Example
    
        ```python
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Tue Apr 02 02:48:51 GMT 2024
    - 4.9K bytes
    - Viewed (0)
  6. fastapi/_compat.py

        def copy_field_info(*, field_info: FieldInfo, annotation: Any) -> FieldInfo:
            cls = type(field_info)
            merged_field_info = cls.from_annotation(annotation)
            new_field_info = copy(field_info)
            new_field_info.metadata = merged_field_info.metadata
            new_field_info.annotation = merged_field_info.annotation
            return new_field_info
    
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:40:57 GMT 2024
    - 22.6K bytes
    - Viewed (0)
  7. fastapi/routing.py

                        so it's an error from the API developer. So, FastAPI will raise an
                        error and return a 500 error code (Internal Server Error).
    
                    Read more about it in the
                    [FastAPI docs for Response Model](https://fastapi.tiangolo.com/tutorial/response-model/).
                    """
                ),
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Tue Apr 02 02:48:51 GMT 2024
    - 170.1K bytes
    - Viewed (0)
Back to top