Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for exceeded (0.6 sec)

  1. tests/test_custom_middleware_exception.py

                        422,
                        detail={
                            "name": "ContentSizeLimitExceeded",
                            "code": 999,
                            "message": "File limit exceeded",
                        },
                    )
                return message
    
            return inner
    
        async def __call__(self, scope, receive, send):
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Aug 25 21:44:40 GMT 2022
    - 2.8K bytes
    - Viewed (0)
  2. tests/test_union_inherited_body.py

    class ExtendedItem(Item):
        age: int
    
    
    @app.post("/items/")
    def save_union_different_body(item: Union[ExtendedItem, Item]):
        return {"item": item}
    
    
    client = TestClient(app)
    
    
    def test_post_extended_item():
        response = client.post("/items/", json={"name": "Foo", "age": 5})
        assert response.status_code == 200, response.text
        assert response.json() == {"item": {"name": "Foo", "age": 5}}
    
    
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Fri Jul 07 17:12:13 GMT 2023
    - 5.2K bytes
    - Viewed (0)
  3. fastapi/applications.py

                    as the default. This is different from `response_model_exclude_unset`
                    in that if the fields are set but contain the same default values,
                    they will be excluded from the response.
    
                    When `True`, default values are omitted from the response.
    
                    Read more about it in the
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Tue Apr 02 02:48:51 GMT 2024
    - 172.2K bytes
    - Viewed (0)
  4. scripts/mkdocs_hooks.py

    
    def on_page_markdown(
        markdown: str, *, page: Page, config: MkDocsConfig, files: Files
    ) -> str:
        if isinstance(page.file, EnFile):
            for excluded_section in non_traslated_sections:
                if page.file.src_path.startswith(excluded_section):
                    return markdown
            missing_translation_content = get_missing_translation_content(config.docs_dir)
            header = ""
            body = markdown
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Tue Oct 24 20:26:06 GMT 2023
    - 5.1K bytes
    - Viewed (0)
  5. fastapi/routing.py

                    as the default. This is different from `response_model_exclude_unset`
                    in that if the fields are set but contain the same default values,
                    they will be excluded from the response.
    
                    When `True`, default values are omitted from the response.
    
                    Read more about it in the
    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)
  6. configure.py

      test_and_build_filters = ['-benchmark-test', '-no_oss', '-oss_excluded']
      # Additional filters for --test_tag_filters beyond those in
      # test_and_build_filters
      test_only_filters = ['-oss_serial']
      if is_windows():
        test_and_build_filters += ['-no_windows', '-windows_excluded']
        if ((environ_cp.get('TF_NEED_CUDA', None) == '1') or
    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)
Back to top