Deprecate direct access to globals like `debug` and `verbose`. #11311
Move globals like `debug` and `verbose` to their own module.
6a928c41
Fix lint.
eaacf211
Fix function name.
0769605d
Delint.
c45c3674
Delint, take two.
30d8b4f2
Workaround for duplicated attributes depending on how they are imported.
f266fba7
Merge branch 'master' into pg/move_globals_to_own_module
bbb99871
Update state-resetting code.
e4e33711
Delint.
c238b023
Add warnings to the repo.
30f8dbc0
Merge branch 'master' into pg/move_globals_to_own_module
d0a28ab2
Merge branch 'master' into pg/move_globals_to_own_module
7ed26167
Add explicit `get_<X>()` functions.
8154f48b
Update docs to point to new locations.
454c0c8e
Remove type hints since type checkers seem to read `__getattr__()`.
c7b5abf0
Remove unused imports.
39baef0b
Import the underscored values in the top level `__init__`.
6888c555
obi1kenobi
marked this pull request as ready for review 2 years ago
Do not report warnings when using deprecated code internally.
0fbda65e
Move `globals` to be a top-level `langchain` namespace.
45967103
Fix test imports.
97e398e1
Fix type hint.
1af7da57
Use underscored underlying values in tests.
ef840a13
Ruff lint.
41f2e31a
obi1kenobi
changed the title Move globals like `debug` and `verbose` to their own module. Deprecate direct access to globals like `debug` and `verbose`. 2 years ago
Fix type hint.
a6260b7e
Merge branch 'master' into pg/move_globals_to_own_module
42c8a9f5
Merge branch 'pg/move_globals_to_own_module' of github.com:hwchase17/…
0c55aa17
cr
55605198
cr
c0562d43
Merge branch 'master' into pg/move_globals_to_own_module
c780715c
hwchase17
merged
9e32120c
into master 2 years ago
hwchase17
deleted the pg/move_globals_to_own_module branch 2 years ago
Assignees
No one assigned
Login to write a write a comment.
Login via GitHub