From fae52f5288c72457e83b540f0a201c277266e615 Mon Sep 17 00:00:00 2001 From: Ben Maydan Date: Wed, 26 Aug 2026 18:49:30 -0400 Subject: [PATCH] fix(BE): temporarily remove credits consumed until API correctly surfaces all credits consumed, not just reservations --- python/lightning_sdk/api/org_api.py | 3 --- python/lightning_sdk/organization.py | 1 - 2 files changed, 4 deletions(-) diff --git a/python/lightning_sdk/api/org_api.py b/python/lightning_sdk/api/org_api.py index 9b5c3a09..279dba21 100644 --- a/python/lightning_sdk/api/org_api.py +++ b/python/lightning_sdk/api/org_api.py @@ -17,14 +17,12 @@ class MonthlySummary(TypedDict): Attributes: period_start: Start of the billing period (typically the first of the month). period_end: End of the billing period (typically the end of the month). - total_credits_consumed: Total credits consumed during the monthly period. total_credits_remaining: Total credits remaining at the end of the monthly period. total_credits_purchased: Total credits purchased during the monthly period. """ period_start: datetime period_end: datetime - total_credits_consumed: float total_credits_remaining: float total_credits_purchased: float @@ -104,7 +102,6 @@ def get_monthly_summary( { "period_start": datetime, "period_end": datetime, - "total_credits_consumed": float, "total_credits_remaining": float, "total_credits_purchased": float, }, diff --git a/python/lightning_sdk/organization.py b/python/lightning_sdk/organization.py index 9fc65aaf..74e37139 100644 --- a/python/lightning_sdk/organization.py +++ b/python/lightning_sdk/organization.py @@ -96,7 +96,6 @@ def get_monthly_summary( { "period_start": datetime, "period_end": datetime, - "total_credits_consumed": float, "total_credits_remaining": float, "total_credits_purchased": float, },