Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
nfcampos committed Sep 22, 2024
1 parent e76f49c commit 84a45d1
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions libs/langgraph/tests/any_str.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,13 @@
import re
from typing import Any, Sequence, Union

from typing_extensions import Self


class FloatBetween(float):
def __new__(cls, min_value: float, max_value: float) -> Self:
return super().__new__(cls, min_value)

def __init__(self, min_value: float, max_value: float) -> None:
super().__init__()
self.min_value = min_value
Expand Down

0 comments on commit 84a45d1

Please sign in to comment.