Commit graph

16 commits

Author SHA1 Message Date
Ishaan Jaff
b845b8f863 use typed data structure for queue 2025-03-31 19:28:17 -07:00
Ishaan Jaff
fc72a61627 fix update_database helper on db_spend_update_writer 2025-03-31 19:01:00 -07:00
Ishaan Jaff
462b43084f use spend_update_queue for RedisUpdateBuffer 2025-03-31 18:40:52 -07:00
Krish Dholakia
d7b294dd0a build(pyproject.toml): add new dev dependencies - for type checking (#9631)
* build(pyproject.toml): add new dev dependencies - for type checking

* build: reformat files to fit black

* ci: reformat to fit black

* ci(test-litellm.yml): make tests run clear

* build(pyproject.toml): add ruff

* fix: fix ruff checks

* build(mypy/): fix mypy linting errors

* fix(hashicorp_secret_manager.py): fix passing cert for tls auth

* build(mypy/): resolve all mypy errors

* test: update test

* fix: fix black formatting

* build(pre-commit-config.yaml): use poetry run black

* fix(proxy_server.py): fix linting error

* fix: fix ruff safe representation error
2025-03-29 11:02:13 -07:00
Ishaan Jaff
2f059f5028 MAX_REDIS_BUFFER_DEQUEUE_COUNT 2025-03-28 20:59:28 -07:00
Ishaan Jaff
64bc3f0c66 fix linting 2025-03-28 20:57:28 -07:00
Ishaan Jaff
93c20b8d2d fix - locking in memory leads to failing tests 2025-03-28 20:10:58 -07:00
Ishaan Jaff
96812a7da0 use asyncio lock for updating PrismaClient txs 2025-03-28 19:51:15 -07:00
Ishaan Jaff
7a63cbe8d0 redis update buffer queue 2025-03-28 17:24:54 -07:00
Ishaan Jaff
cc9f47b1d2 fix loc of DBSpendUpdateTransactions 2025-03-28 15:17:01 -07:00
Ishaan Jaff
0a5db39c89 working cron job updates 2025-03-27 23:13:01 -07:00
Ishaan Jaff
39cc75c36b handle commit updates to the DB 2025-03-27 22:55:36 -07:00
Ishaan Jaff
a1a038aa19 fix typo on codebase 2025-03-27 22:36:00 -07:00
Ishaan Jaff
3bd005f148 fix db spend update buffer 2025-03-27 22:34:15 -07:00
Ishaan Jaff
c0dc4fd519 get_all_update_transactions_from_redis 2025-03-27 19:15:30 -07:00
Ishaan Jaff
7c4a73ba39 use redis update buffer class 2025-03-27 19:12:51 -07:00