mirror of
https://github.com/langchain-ai/langgraph.git
synced 2026-09-09 19:27:54 +02:00
Lint
This commit is contained in:
@@ -1,9 +1,9 @@
|
||||
import re
|
||||
from typing import Any, Sequence
|
||||
from typing import Any, Sequence, Union
|
||||
|
||||
|
||||
class AnyStr(str):
|
||||
def __init__(self, prefix: str | re.Pattern = "") -> None:
|
||||
def __init__(self, prefix: Union[str, re.Pattern] = "") -> None:
|
||||
super().__init__()
|
||||
self.prefix = prefix
|
||||
|
||||
|
||||
Reference in New Issue
Block a user