Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 401 - 410 of 836 for flot (0.03 seconds)

  1. tests/test_get_request_body.py

    from inline_snapshot import snapshot
    from pydantic import BaseModel
    
    app = FastAPI()
    
    
    class Product(BaseModel):
        name: str
        description: str = None  # type: ignore
        price: float
    
    
    @app.get("/product")
    async def create_item(product: Product):
        return product
    
    
    client = TestClient(app)
    
    
    def test_get_with_body():
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Feb 08 10:18:38 GMT 2026
    - 4.2K bytes
    - Click Count (0)
  2. guava-tests/test/com/google/common/primitives/UnsignedLongTest.java

        // The values here look like 111...11101...010 in binary, where the initial 111...1110 takes
        // up exactly as many bits as can be represented in the significand (24 for float, 53 for
        // double). That final 0 should be rounded up to 1 because the remaining bits make that number
        // slightly nearer.
        long floatConversionTest = 0xfffffe8000000002L;
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Dec 11 20:45:32 GMT 2025
    - 10.4K bytes
    - Click Count (0)
  3. android/guava/src/com/google/common/graph/GraphConstants.java

      static final int DEFAULT_NODE_COUNT = 10;
      static final int DEFAULT_EDGE_COUNT = DEFAULT_NODE_COUNT * EXPECTED_DEGREE;
    
      // Load factor and capacity for "inner" (i.e. per node/edge element) hash sets or maps
      static final float INNER_LOAD_FACTOR = 1.0f;
      static final int INNER_CAPACITY = 2; // ceiling(EXPECTED_DEGREE / INNER_LOAD_FACTOR)
    
      // Error messages
      static final String NODE_NOT_IN_GRAPH = "Node %s is not an element of this graph.";
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Jan 18 02:54:30 GMT 2025
    - 3.1K bytes
    - Click Count (0)
  4. docs/es/docs/tutorial/request-forms.md

    {* ../../docs_src/request_forms/tutorial001_an_py310.py hl[9] *}
    
    Por ejemplo, en una de las formas en las que se puede usar la especificación OAuth2 (llamada "password flow") se requiere enviar un `username` y `password` como campos de formulario.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:15:55 GMT 2026
    - 2.9K bytes
    - Click Count (0)
  5. src/main/webapp/WEB-INF/view/admin/keymatch/admin_keymatch_edit.jsp

                    </div>
                </la:form>
            </section>
        </main>
        <jsp:include page="/WEB-INF/view/common/admin/footer.jsp"></jsp:include>
    </div>
    <jsp:include page="/WEB-INF/view/common/admin/foot.jsp"></jsp:include>
    </body>
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Mon Feb 23 08:03:44 GMT 2026
    - 6K bytes
    - Click Count (0)
  6. api/maven-api-cli/src/main/mdo/core-extensions.mdo

            <field>
              <name>extensions</name>
              <description>A set of build extensions to use from this project.</description>
              <version>1.0.0+</version>
              <association xml.itemsStyle="flat">
                <type>CoreExtension</type>
                <multiplicity>*</multiplicity>
              </association>
            </field>
          </fields>
        </class>
        <class xml.tagName="extension">
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Sun May 18 09:15:56 GMT 2025
    - 4.4K bytes
    - Click Count (0)
  7. docs/en/docs/async.md

    So, to balance that out, imagine the following short story:
    
    > You have to clean a big, dirty house.
    
    *Yep, that's the whole story*.
    
    ---
    
    There's no waiting 🕙 anywhere, just a lot of work to be done, on multiple places of the house.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 23.4K bytes
    - Click Count (0)
  8. docs/pt/docs/tutorial/path-params.md

          "input": "foo"
        }
      ]
    }
    ```
    
    porque o parâmetro de path `item_id` tinha o valor `"foo"`, que não é um `int`.
    
    O mesmo erro apareceria se você fornecesse um `float` em vez de um `int`, como em: [http://127.0.0.1:8000/items/4.2](http://127.0.0.1:8000/items/4.2)
    
    /// check | Verifique
    Então, com a mesma declaração de tipo do Python, o **FastAPI** fornece validação de dados.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:20:43 GMT 2026
    - 9.5K bytes
    - Click Count (0)
  9. docs/zh/docs/tutorial/path-params.md

          ],
          "msg": "Input should be a valid integer, unable to parse string as an integer",
          "input": "foo"
        }
      ]
    }
    ```
    
    这是因为路径参数 `item_id` 的值(`"foo"`)的类型不是 `int`。
    
    值的类型不是 `int` 而是浮点数(`float`)时也会显示同样的错误,比如: [http://127.0.0.1:8000/items/4.2](http://127.0.0.1:8000/items/4.2)
    
    /// check | 检查
    
    **FastAPI** 使用同样的 Python 类型声明实现了数据校验。
    
    注意,上面的错误清晰地指出了未通过校验的具体位置。
    
    这在开发调试与 API 交互的代码时非常有用。
    
    ///
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:06:37 GMT 2026
    - 7.6K bytes
    - Click Count (0)
  10. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Http2Connection.kt

      /** Settings we communicate to the peer. */
      val okHttpSettings =
        Settings().apply {
          // Flow control was designed more for servers, or proxies than edge clients. If we are a client,
          // set the flow control window to 16MiB.  This avoids thrashing window updates every 64KiB, yet
          // small enough to avoid blowing up the heap.
          if (builder.client) {
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Jan 27 09:00:39 GMT 2026
    - 31.9K bytes
    - Click Count (0)
Back to Top