Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 38 for repl (0.12 sec)

  1. docs/pt/docs/deployment/https.md

    sejam enviados com o protocolo HTTP.
    
    É uma prática comum ter um programa/servidor HTTP em execução no servidor (máquina, host, etc.) e gerenciar todas as partes HTTPS: enviando as solicitações HTTP descriptografadas para o aplicativo HTTP real em execução no mesmo servidor (a aplicação **FastAPI**, neste caso), pegue a resposta HTTP do aplicativo, criptografe-a usando o certificado apropriado e envie-a de volta ao cliente usando HTTPS. Este servidor é frequentemente chamado de <a href="...
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Tue Oct 05 10:40:05 GMT 2021
    - 3.9K bytes
    - Viewed (0)
  2. fastapi/params.py

                kwargs.update(**current_json_schema_extra)
            use_kwargs = {k: v for k, v in kwargs.items() if v is not _Unset}
    
            super().__init__(**use_kwargs)
    
        def __repr__(self) -> str:
            return f"{self.__class__.__name__}({self.default})"
    
    
    class Path(Param):
        in_ = ParamTypes.path
    
        def __init__(
            self,
            default: Any = ...,
            *,
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:40:57 GMT 2024
    - 27.5K bytes
    - Viewed (1)
  3. docs/en/docs/tutorial/testing.md

    ## Separating tests
    
    In a real application, you probably would have your tests in a different file.
    
    And your **FastAPI** application might also be composed of several files/modules, etc.
    
    ### **FastAPI** app file
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 6.2K bytes
    - Viewed (0)
  4. docs/en/docs/advanced/generate-clients.md

    For example, you might want to try <a href="https://speakeasyapi.dev/?utm_source=fastapi+repo&utm_medium=github+sponsorship" class="external-link" target="_blank">Speakeasy</a>.
    
    There are also several other companies offering similar services that you can search and find online. 🤓
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 10.5K bytes
    - Viewed (0)
  5. tests/test_params_repr.py

        )
    
    
    def test_query_repr_number():
        assert repr(Query(1)) == "Query(1)"
    
    
    def test_query_repr_list():
        assert repr(Query([])) == "Query([])"
    
    
    def test_header_repr_str():
        assert repr(Header("teststr")) == "Header(teststr)"
    
    
    def test_header_repr_none():
        assert repr(Header(None)) == "Header(None)"
    
    
    def test_header_repr_ellipsis():
        assert repr(Header(...)) == IsOneOf(
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Jul 07 17:12:13 GMT 2023
    - 3.3K bytes
    - Viewed (0)
  6. .github/actions/people/app/main.py

                        )
                for reply in comment.replies.nodes:
                    if reply.author:
                        authors[reply.author.login] = reply.author
                        if reply.author.login != discussion_author_name:
                            author_time = discussion_commentors.get(
                                reply.author.login, reply.createdAt
                            )
    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)
  7. .github/actions/notify-translations/app/main.py

        else:
            logging.basicConfig(level=logging.INFO)
        logging.debug(f"Using config: {settings.json()}")
        g = Github(settings.input_token.get_secret_value())
        repo = g.get_repo(settings.github_repository)
        if not settings.github_event_path.is_file():
            raise RuntimeError(
                f"No github event file available at: {settings.github_event_path}"
            )
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Wed Sep 27 23:01:46 GMT 2023
    - 12.4K bytes
    - Viewed (0)
  8. tests/test_ws_router.py

        async def errorhandler(websocket: WebSocket, call_next):
            try:
                return await call_next()
            except Exception as e:
                await websocket.close(code=status.WS_1006_ABNORMAL_CLOSURE, reason=repr(e))
    
        myapp = make_app(middleware=[Middleware(errorhandler)])
        client = TestClient(myapp)
        with pytest.raises(WebSocketDisconnect) as e:
            with client.websocket_connect("/depends-err/"):
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Sun Jun 11 19:08:14 GMT 2023
    - 7.5K bytes
    - Viewed (0)
  9. docs/de/docs/how-to/custom-docs-ui-assets.md

    ```JavaScript
    /*!
     * ReDoc - OpenAPI/Swagger-generated API Reference Documentation
     * -------------------------------------------------------------
     *   Version: "2.0.0-rc.18"
     *   Repo: https://github.com/Redocly/redoc
     */
    !function(e,t){"object"==typeof exports&&"object"==typeof m
    
    ...
    ```
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Mar 30 18:17:36 GMT 2024
    - 9.2K bytes
    - Viewed (0)
  10. docs/zh/docs/advanced/extending-openapi.md

    该文件开头如下:
    
    ```JavaScript
    /*!
     * ReDoc - OpenAPI/Swagger-generated API Reference Documentation
     * -------------------------------------------------------------
     *   Version: "2.0.0-rc.18"
     *   Repo: https://github.com/Redocly/redoc
     */
    !function(e,t){"object"==typeof exports&&"object"==typeof m
    
    ...
    ```
    
    能打开这个文件就表示 FastAPI 应用能提供静态文件服务,并且文档要调用的静态文件放到了正确的位置。
    
    接下来,使用静态文件配置文档。
    
    Plain Text
    - Registered: Sun Mar 31 07:19:09 GMT 2024
    - Last Modified: Sat Mar 30 22:46:12 GMT 2024
    - 7.7K bytes
    - Viewed (0)
Back to top