Search Options

Results per page
Sort
Preferred Languages
Advance

Results 411 - 420 of 951 for ndocs (0.03 sec)

  1. tests/test_tutorial/test_configure_swagger_ui/test_tutorial001.py

    from fastapi.testclient import TestClient
    
    from docs_src.configure_swagger_ui.tutorial001 import app
    
    client = TestClient(app)
    
    
    def test_swagger_ui():
        response = client.get("/docs")
        assert response.status_code == 200, response.text
        assert (
            '"syntaxHighlight": false' in response.text
        ), "syntaxHighlight should be included and converted to JSON"
        assert (
            '"dom_id": "#swagger-ui"' in response.text
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Aug 19 19:54:04 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  2. docs/en/docs/reference/status.md

    * etc.
    
    It can be convenient to quickly access HTTP (and WebSocket) status codes in your app, using autocompletion for the name without having to remember the integer status codes by memory.
    
    Read more about it in the [FastAPI docs about Response Status Code](https://fastapi.tiangolo.com/tutorial/response-status-code/).
    
    ## Example
    
    ```python
    from fastapi import FastAPI, status
    
    app = FastAPI()
    
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Apr 18 19:53:19 UTC 2024
    - 871 bytes
    - Viewed (0)
  3. docs/debugging/inspect/go.mod

    module github.com/minio/minio/docs/debugging/inspect
    
    go 1.21
    
    require (
    	github.com/klauspost/compress v1.17.8
    	github.com/klauspost/filepathx v1.1.1
    	github.com/minio/colorjson v1.0.7
    	github.com/minio/madmin-go/v3 v3.0.52
    	github.com/secure-io/sio-go v0.3.1
    	github.com/tinylib/msgp v1.1.9
    )
    
    require (
    	github.com/cespare/xxhash/v2 v2.3.0 // indirect
    	github.com/fatih/color v1.17.0 // indirect
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue May 28 09:27:44 UTC 2024
    - 668 bytes
    - Viewed (0)
  4. docs/vi/docs/index.md

    * _Đường dẫn_ `/items/{item_id}`  có một _tham số query string_ `q`, nó là một tham số tùy chọn kiểu `str`.
    
    ### Tài liệu tương tác API
    
    Truy cập <a href="http://127.0.0.1:8000/docs" class="external-link" target="_blank">http://127.0.0.1:8000/docs</a>.
    
    Bạn sẽ thấy tài liệu tương tác API được tạo tự động (cung cấp bởi <a href="https://github.com/swagger-api/swagger-ui" class="external-link" target="_blank">Swagger UI</a>):
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 20 19:20:23 UTC 2024
    - 21.9K bytes
    - Viewed (0)
  5. docs/zh/docs/index.md

    * `/items/{item_id}` _路径_ 有一个 _路径参数_ `item_id` 并且应该为 `int` 类型。
    * `/items/{item_id}` _路径_ 有一个可选的 `str` 类型的 _查询参数_ `q`。
    
    ### 交互式 API 文档
    
    现在访问 <a href="http://127.0.0.1:8000/docs" class="external-link" target="_blank">http://127.0.0.1:8000/docs</a>。
    
    你会看到自动生成的交互式 API 文档(由 <a href="https://github.com/swagger-api/swagger-ui" class="external-link" target="_blank">Swagger UI</a>生成):
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 20 19:20:23 UTC 2024
    - 18.2K bytes
    - Viewed (0)
  6. docs/zh/docs/tutorial/background-tasks.md

    更多细节查看 <a href="https://www.starlette.io/background/" class="external-link" target="_blank">Starlette's official docs for Background Tasks</a>.
    
    ## 告诫
    
    如果您需要执行繁重的后台计算,并且不一定需要由同一进程运行(例如,您不需要共享内存、变量等),那么使用其他更大的工具(如 <a href="https://docs.celeryq.dev" class="external-link" target="_blank">Celery</a>)可能更好。
    
    它们往往需要更复杂的配置,即消息/作业队列管理器,如RabbitMQ或Redis,但它们允许您在多个进程中运行后台任务,甚至是在多个服务器中。
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 5K bytes
    - Viewed (0)
  7. fastapi/exceptions.py

        This is for client errors, invalid authentication, invalid data, etc. Not for server
        errors in your code.
    
        Read more about it in the
        [FastAPI docs for Handling Errors](https://fastapi.tiangolo.com/tutorial/handling-errors/).
    
        ## Example
    
        ```python
        from fastapi import FastAPI, HTTPException
    
        app = FastAPI()
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Apr 02 02:48:51 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  8. docs/yo/docs/index.md

    * Èyí tí _ipa ọ̀nà_  (i.e. _paths_) `/items/{item_id}` ní àṣàyàn `str` _àwọn ohun-ini_ (i.e. _query parameter_) `q`.
    
    ### Ìbáṣepọ̀ àkọsílẹ̀ API
    
    Ní báyìí, lọ sí <a href="http://127.0.0.1:8000/docs" class="external-link" target="_blank">http://127.0.0.1:8000/docs</a>.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 20 19:20:23 UTC 2024
    - 24.1K bytes
    - Viewed (0)
  9. docs/en/docs/tutorial/sql-databases.md

    ///
    
    This is a very simple and short tutorial, if you want to learn about databases in general, about SQL, or more advanced features, go to the <a href="https://sqlmodel.tiangolo.com/" class="external-link" target="_blank">SQLModel docs</a>.
    
    ## Install `SQLModel`
    
    First, make sure you create your [virtual environment](../virtual-environments.md){.internal-link target=_blank}, activate it, and then install `sqlmodel`:
    
    <div class="termy">
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Wed Oct 09 19:44:42 UTC 2024
    - 14.7K bytes
    - Viewed (0)
  10. docs/de/docs/tutorial/schema-extra-example.md

    //// tab | Pydantic v2
    
    In Pydantic Version 2 würden Sie das Attribut `model_config` verwenden, das ein `dict` akzeptiert, wie beschrieben in <a href="https://docs.pydantic.dev/latest/api/config/" class="external-link" target="_blank">Pydantic-Dokumentation: Configuration</a>.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 13.2K bytes
    - Viewed (0)
Back to top