Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for endpoint_path (0.11 sec)

  1. tests/test_file_and_form_order_issue_9116.py

        f = tmp_path / "example2.txt"
        f.write_text("bar")
        return f
    
    
    @pytest.mark.parametrize("endpoint_path", ("/file_before_form", "/file_after_form"))
    def test_file_form_order(endpoint_path: str, tmp_file_1: Path):
        response = client.post(
            url=endpoint_path,
            data={"city": "Thimphou"},
            files={"file": (tmp_file_1.name, tmp_file_1.read_bytes())},
        )
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 21:25:59 UTC 2025
    - 2.3K bytes
    - Viewed (0)
  2. fastapi/exceptions.py

                if self.endpoint_path:
                    return f"\n  Endpoint: {self.endpoint_path}"
                return ""
    
            context = f'\n  File "{self.endpoint_file}", line {self.endpoint_line}, in {self.endpoint_function}'
            if self.endpoint_path:
                context += f"\n    {self.endpoint_path}"
            return context
    
        def __str__(self) -> str:
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 12:54:56 UTC 2025
    - 6.8K bytes
    - Viewed (0)
Back to top