Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1021 - 1030 of 9,383 for https (0.07 sec)

  1. docs_src/response_model/tutorial003_04_py310.py

    from fastapi.responses import RedirectResponse
    
    app = FastAPI()
    
    
    @app.get("/portal")
    async def get_portal(teleport: bool = False) -> Response | dict:
        if teleport:
            return RedirectResponse(url="https://www.youtube.com/watch?v=dQw4w9WgXcQ")
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Jan 10 16:22:47 UTC 2023
    - 352 bytes
    - Viewed (0)
  2. docs/zh/docs/tutorial/extra-data-types.md

        * 在请求和响应中将表示为 ISO 8601 格式的 `str` ,比如:  `14:23:55.003`.
    * `datetime.timedelta`:
        * 一个 Python `datetime.timedelta`.
        * 在请求和响应中将表示为 `float` 代表总秒数。
        * Pydantic 也允许将其表示为 "ISO 8601 时间差异编码", <a href="https://docs.pydantic.dev/latest/concepts/serialization/#json_encoders" class="external-link" target="_blank">查看文档了解更多信息</a>。
    * `frozenset`:
        * 在请求和响应中,作为 `set` 对待:
            * 在请求中,列表将被读取,消除重复,并将其转换为一个 `set`。
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  3. docs_src/response_model/tutorial003_02.py

    from fastapi.responses import JSONResponse, RedirectResponse
    
    app = FastAPI()
    
    
    @app.get("/portal")
    async def get_portal(teleport: bool = False) -> Response:
        if teleport:
            return RedirectResponse(url="https://www.youtube.com/watch?v=dQw4w9WgXcQ")
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Jan 10 16:22:47 UTC 2023
    - 381 bytes
    - Viewed (0)
  4. compat/maven-model-builder/src/test/resources/poms/depmgmt/import.xml

    <?xml version="1.0" encoding="UTF-8"?>
    <project xmlns="http://maven.apache.org/POM/4.1.0"
             xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
             xsi:schemaLocation="http://maven.apache.org/POM/4.1.0 https://maven.apache.org/xsd/maven-4.1.0.xsd">
        <modelVersion>4.1.0</modelVersion>
    
        <groupId>test</groupId>
        <artifactId>import</artifactId>
        <version>0.1-SNAPSHOT</version>
        <packaging>pom</packaging>
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 726 bytes
    - Viewed (0)
  5. .github/CODE_OF_CONDUCT.md

    # Code of Conduct
    
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Mon Nov 13 16:48:04 UTC 2017
    - 95 bytes
    - Viewed (0)
  6. docs/ja/docs/history-design-future.md

    すべての箇所で、すべての開発者に最高の開発体験を提供しました。
    
    ## 要件
    
    いくつかの代替手法を試したあと、私は<a href="https://docs.pydantic.dev/" class="external-link" target="_blank">**Pydantic**</a>の強みを利用することを決めました。
    
    そして、JSON Schemaに完全に準拠するようにしたり、制約宣言を定義するさまざまな方法をサポートしたり、いくつかのエディターでのテストに基づいてエディターのサポート (型チェック、自動補完) を改善するために貢献しました。
    
    開発中、もう1つの重要な鍵となる<a href="https://www.starlette.io/" class="external-link" target="_blank">**Starlette**</a>、にも貢献しました。
    
    ## 開発
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Mon Jul 29 23:35:07 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  7. docs/en/docs/reference/testclient.md

    # Test Client - `TestClient`
    
    You can use the `TestClient` class to test FastAPI applications without creating an actual HTTP and socket connection, just communicating directly with the FastAPI code.
    
    Read more about it in the [FastAPI docs for Testing](https://fastapi.tiangolo.com/tutorial/testing/).
    
    You can import it directly from `fastapi.testclient`:
    
    ```python
    from fastapi.testclient import TestClient
    ```
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Apr 18 19:53:19 UTC 2024
    - 450 bytes
    - Viewed (0)
  8. docs/em/docs/tutorial/response-status-code.md

    ///
    
    `status_code` 🔢 📨 🔢 ⏮️ 🇺🇸🔍 👔 📟.
    
    /// info
    
    `status_code` 💪 👐 📨 `IntEnum`, ✅ 🐍 <a href="https://docs.python.org/3/library/http.html#http.HTTPStatus" class="external-link" target="_blank">`http.HTTPStatus`</a>.
    
    ///
    
    ⚫️ 🔜:
    
    * 📨 👈 👔 📟 📨.
    * 📄 ⚫️ ✅ 🗄 🔗 ( &amp; , 👩‍💻 🔢):
    
    <img src="/img/tutorial/response-status-code/image01.png">
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  9. samples/guide/src/main/java/okhttp3/recipes/PrintEvents.java

          .eventListenerFactory(PrintingEventListener.FACTORY)
          .build();
    
      public void run() throws Exception {
        Request washingtonPostRequest = new Request.Builder()
            .url("https://www.washingtonpost.com/")
            .build();
        client.newCall(washingtonPostRequest).enqueue(new Callback() {
          @Override public void onFailure(Call call, IOException e) {
          }
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun Feb 16 23:20:49 UTC 2020
    - 6.1K bytes
    - Viewed (0)
  10. internal/disk/stat_linux.go

    		return Info{}, err
    	}
    	//nolint:unconvert
    	devID := uint64(st.Dev) // Needed to support multiple GOARCHs
    	info.Major = unix.Major(devID)
    	info.Minor = unix.Minor(devID)
    
    	// Check for overflows.
    	// https://github.com/minio/minio/issues/8035
    	// XFS can show wrong values at times error out
    	// in such scenarios.
    	if info.Free > info.Total {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Feb 26 19:34:50 UTC 2024
    - 4.8K bytes
    - Viewed (0)
Back to top