langchain
Deprecate direct access to globals like `debug` and `verbose`.
#11311
Merged

Deprecate direct access to globals like `debug` and `verbose`. #11311

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

Login to write a write a comment.

Login via GitHub

Reviewers
Assignees
No one assigned
Labels
Milestone