Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 35 of 35 for __none__ (0.03 sec)

  1. fastapi/openapi/utils.py

        operation_id = route.operation_id or route.unique_id
        if operation_id in operation_ids:
            message = (
                f"Duplicate Operation ID {operation_id} for function "
                + f"{route.endpoint.__name__}"
            )
            file_name = getattr(route.endpoint, "__globals__", {}).get("__file__")
            if file_name:
                message += f" at {file_name}"
            warnings.warn(message, stacklevel=1)
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 12:54:56 UTC 2025
    - 23.2K bytes
    - Viewed (0)
  2. scripts/docs.py

        """
        Add or update header permalinks in all pages of En docs.
        """
        for md_file in en_docs_path.rglob("*.md"):
            add_permalinks_page(md_file, update_existing=update_existing)
    
    
    if __name__ == "__main__":
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sun Dec 21 17:40:17 UTC 2025
    - 16.9K bytes
    - Viewed (0)
  3. fastapi/security/oauth2.py

                ),
            ] = True,
        ):
            self.model = OAuth2Model(
                flows=cast(OAuthFlowsModel, flows), description=description
            )
            self.scheme_name = scheme_name or self.__class__.__name__
            self.auto_error = auto_error
    
        def make_not_authenticated_error(self) -> HTTPException:
            """
            The OAuth 2 specification doesn't define the challenge that should be used,
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 21:25:59 UTC 2025
    - 22K bytes
    - Viewed (0)
  4. scripts/translate.py

        )
        pr = gh_repo.create_pull(title=message, body=body, base="master", head=branch_name)
        print(f"Created PR: {pr.number}")
        print("Finished")
    
    
    if __name__ == "__main__":
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 19:05:53 UTC 2025
    - 34.1K bytes
    - Viewed (0)
  5. fastapi/routing.py

                ctx["file"] = source_file
            if (line_number := inspect.getsourcelines(func)[1]) is not None:
                ctx["line"] = line_number
            if (func_name := getattr(func, "__name__", None)) is not None:
                ctx["function"] = func_name
        except Exception:
            ctx = EndpointContext()
    
        _endpoint_context_cache[func_id] = ctx
        return ctx
    
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 12:54:56 UTC 2025
    - 174.6K bytes
    - Viewed (0)
Back to top