Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for rstrip (0.03 sec)

  1. fastapi/exceptions.py

            for err in self._errors:
                message += f"  {err}\n"
            message += self._format_endpoint_context()
            return message.rstrip()
    
    
    class RequestValidationError(ValidationException):
        def __init__(
            self,
            errors: Sequence[Any],
            *,
            body: Any = None,
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 12:54:56 UTC 2025
    - 6.8K bytes
    - Viewed (0)
  2. fastapi/routing.py

                else EndpointContext()
            )
    
            if dependant.path:
                # For mounted sub-apps, include the mount path prefix
                mount_path = request.scope.get("root_path", "").rstrip("/")
                endpoint_ctx["path"] = f"{request.method} {mount_path}{dependant.path}"
    
            # Read body and auto-close files
            try:
                body: Any = None
                if body_field:
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 12:54:56 UTC 2025
    - 174.6K bytes
    - Viewed (0)
  3. scripts/translate.py

                f"%%%\n{original_content}%%%",
            ]
        )
        prompt = "\n\n".join(prompt_segments)
        print(f"Running agent for {out_path}")
        result = agent.run_sync(prompt)
        out_content = f"{result.output.strip()}\n"
        print(f"Saving translation to {out_path}")
        out_path.write_text(out_content, encoding="utf-8", newline="\n")
    
    
    def iter_all_en_paths() -> Iterable[Path]:
        """
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 19:05:53 UTC 2025
    - 34.1K bytes
    - Viewed (0)
  4. docs/en/docs/release-notes.md

    * ♻ Strip empty whitespace from description extracted from docstrings. PR [#2821](https://github.com/tiangolo/fastapi/pull/2821) by [@and-semakin](https://github.com/and-semakin).
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 19:06:15 UTC 2025
    - 586.7K bytes
    - Viewed (0)
Back to top