build: Bump ruff version to 0.9.7 (#6614)
* Bump ruff version to 0.9.7 * [autofix.ci] apply automated fixes * refactor: Update Gmail Agent starter project to Langflow 1.2.0 This commit updates the Gmail Agent starter project with new node IDs and configuration reflecting Langflow version 1.2.0. Changes include: - Updated node identifiers for Agent, ChatInput, ChatOutput, and ComposioAPI - Refreshed project metadata and version information - Minor adjustments to node configurations and viewport settings * [autofix.ci] apply automated fixes * fix: Revert Gmail Agent name to original * fix: Remove trailing comma in Gmail Agent JSON * feat: Add tags to Gmail Agent starter project --------- Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com> Co-authored-by: Gabriel Luiz Freitas Almeida <gabriel@langflow.org>
This commit is contained in:
parent
0108f2f475
commit
d9b8211a18
38 changed files with 214 additions and 207 deletions
|
|
@ -263,13 +263,13 @@ class TestSerializationHypothesis:
|
|||
assert isinstance(serialize(np.uint64(42)), int)
|
||||
|
||||
# Test floats
|
||||
assert serialize(np.float64(3.14)) == 3.14
|
||||
assert isinstance(serialize(np.float64(3.14)), float)
|
||||
assert serialize(np.float64(math.pi)) == math.pi
|
||||
assert isinstance(serialize(np.float64(math.pi)), float)
|
||||
|
||||
# Test float32 (need to account for precision differences)
|
||||
float32_val = serialize(np.float32(3.14))
|
||||
float32_val = serialize(np.float32(math.pi))
|
||||
assert isinstance(float32_val, float)
|
||||
assert abs(float32_val - 3.14) < 1e-6 # Check if close enough
|
||||
assert abs(float32_val - math.pi) < 1e-6 # Check if close enough
|
||||
|
||||
# Test bool
|
||||
assert serialize(np.bool_(True)) is True # noqa: FBT003
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue