mirror of
https://github.com/BerriAI/litellm.git
synced 2026-11-06 07:48:06 +00:00
test(usage-export): mark redaction test locals Final
This commit is contained in:
parent
e374b32825
commit
901fb30871
1 changed files with 2 additions and 2 deletions
|
|
@ -680,7 +680,7 @@ async def test_daily_rows_exclusion_without_entity_filter_keeps_null_entity_rows
|
|||
|
||||
@pytest.mark.asyncio
|
||||
async def test_export_redacts_credential_named_values_inside_metadata_objects() -> None:
|
||||
database = _FakeDatabase(
|
||||
database: Final = _FakeDatabase(
|
||||
(
|
||||
(
|
||||
{
|
||||
|
|
@ -699,7 +699,7 @@ async def test_export_redacts_credential_named_values_inside_metadata_objects()
|
|||
)
|
||||
repository, _ = _repository(database)
|
||||
|
||||
rows = [row async for row in repository.export_rows(_scope(), export_type=ExportType.DAILY_WITH_KEYS)]
|
||||
rows: Final = [row async for row in repository.export_rows(_scope(), export_type=ExportType.DAILY_WITH_KEYS)]
|
||||
|
||||
assert rows[0].key_metadata == {
|
||||
"cost_center": "cc-1",
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue