From 671a7b1b02503cfa5c9aecd40c27a0c2729a285b Mon Sep 17 00:00:00 2001 From: stuppie Date: Wed, 4 Nov 2026 12:11:03 -0600 Subject: strip out AMT --- jb/models/amt.py | 19 ------------------- 1 file changed, 19 deletions(-) delete mode 100644 jb/models/amt.py (limited to 'jb/models/amt.py') diff --git a/jb/models/amt.py b/jb/models/amt.py deleted file mode 100644 index e012741..0000000 --- a/jb/models/amt.py +++ /dev/null @@ -1,19 +0,0 @@ -from decimal import Decimal - -from pydantic import BaseModel, ConfigDict, Field - - -class AMTAccount(BaseModel): - model_config = ConfigDict(extra="ignore", validate_assignment=True) - - # Remaining available AWS Billing usage if you have enabled AWS Billing. - available_balance: Decimal = Field() - onhold_balance: Decimal = Field(default=Decimal(0)) - - # --- Properties --- - - @property - def is_healthy(self) -> bool: - # A healthy account is one with at least $2,500 worth of - # credit available to it - return self.available_balance >= 2_500 -- cgit v1.2.3