forked from Archives/langchain
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
9acf80fd69
This PR fixes the "SyntaxError: invalid escape sequence" error in the pydantic.py file. The issue was caused by the backslashes in the regular expression pattern being treated as escape characters. By using a raw string literal for the regex pattern (e.g., r"\{.*\}"), this fix ensures that backslashes are treated as literal characters, thus preventing the error. Co-authored-by: Tomer Levy <tomer.levy@tipalti.com> |
1 year ago | |
---|---|---|
.. | ||
__init__.py | 1 year ago | |
boolean.py | 1 year ago | |
combining.py | 1 year ago | |
fix.py | 1 year ago | |
format_instructions.py | 1 year ago | |
list.py | 1 year ago | |
loading.py | 1 year ago | |
prompts.py | 1 year ago | |
pydantic.py | 1 year ago | |
rail_parser.py | 1 year ago | |
regex.py | 1 year ago | |
regex_dict.py | 1 year ago | |
retry.py | 1 year ago | |
structured.py | 1 year ago |