mirror of
https://github.com/hwchase17/langchain.git
synced 2025-09-06 05:25:04 +00:00
cli[patch]: ruff 0.5 (#23833)
This commit is contained in:
@@ -10,6 +10,7 @@ This codemod deals with the following cases:
|
||||
4. `from pydantic.settings import BaseSettings as <name>` # TODO: This is not working.
|
||||
5. `import pydantic` -> `pydantic.BaseSettings`
|
||||
"""
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
import json
|
||||
|
@@ -1,4 +1,5 @@
|
||||
"""Generate migrations from langchain to langchain-community or core packages."""
|
||||
|
||||
import importlib
|
||||
import inspect
|
||||
import pkgutil
|
||||
|
@@ -1,4 +1,5 @@
|
||||
"""Generate migrations for partner packages."""
|
||||
|
||||
import importlib
|
||||
from typing import List, Tuple
|
||||
|
||||
|
@@ -1,4 +1,5 @@
|
||||
"""Migrate LangChain to the most recent version."""
|
||||
|
||||
# Adapted from bump-pydantic
|
||||
# https://github.com/pydantic/bump-pydantic
|
||||
import difflib
|
||||
|
Reference in New Issue
Block a user