mirror of
https://github.com/tiennm99/litellm.git
synced 2026-08-04 00:24:18 +00:00
encrypt callback_vars in key/team metadata at rest (#27141)
Co-authored-by: Michael Riad Zaky <michaelr@Michaels-MacBook-Air.local> Co-authored-by: Yuneng Jiang <yuneng@berri.ai>
This commit is contained in:
co-authored by
Michael Riad Zaky
Yuneng Jiang
parent
492891cad8
commit
3b2ce201d8
@@ -416,9 +416,10 @@ def test_dynamic_turn_off_message_logging(callback_vars):
|
||||
)
|
||||
|
||||
assert callbacks is not None
|
||||
assert (
|
||||
callbacks.callback_vars["turn_off_message_logging"]
|
||||
== callback_vars["turn_off_message_logging"]
|
||||
# AddTeamCallback's validator stringifies callback_var values, so compare
|
||||
# against the str() of the input rather than the input bool directly.
|
||||
assert callbacks.callback_vars["turn_off_message_logging"] == str(
|
||||
callback_vars["turn_off_message_logging"]
|
||||
)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user