diff --git a/src/orb/types/price.py b/src/orb/types/price.py index 4b701128..a8540c2f 100644 --- a/src/orb/types/price.py +++ b/src/orb/types/price.py @@ -788,16 +788,19 @@ class BulkPrice(BaseModel): class TestRatingFunctionPriceBillableMetric(BaseModel): + __test__ = False id: str class TestRatingFunctionPriceItem(BaseModel): + __test__ = False id: str name: str class TestRatingFunctionPriceMaximum(BaseModel): + __test__ = False applies_to_price_ids: List[str] """List of price_ids that this maximum amount applies to. @@ -809,6 +812,7 @@ class TestRatingFunctionPriceMaximum(BaseModel): class TestRatingFunctionPriceMinimum(BaseModel): + __test__ = False applies_to_price_ids: List[str] """List of price_ids that this minimum amount applies to. @@ -820,6 +824,7 @@ class TestRatingFunctionPriceMinimum(BaseModel): class TestRatingFunctionPrice(BaseModel): + __test__ = False id: str billable_metric: Optional[TestRatingFunctionPriceBillableMetric] diff --git a/tests/test_client.py b/tests/test_client.py index ce8afdf4..ea9647ab 100644 --- a/tests/test_client.py +++ b/tests/test_client.py @@ -205,8 +205,8 @@ def build_request(options: FinalRequestOptions) -> None: ITERATIONS = 10 for _ in range(ITERATIONS): build_request(options) - gc.collect() + gc.collect() snapshot_after = tracemalloc.take_snapshot() tracemalloc.stop() @@ -867,8 +867,8 @@ def build_request(options: FinalRequestOptions) -> None: ITERATIONS = 10 for _ in range(ITERATIONS): build_request(options) - gc.collect() + gc.collect() snapshot_after = tracemalloc.take_snapshot() tracemalloc.stop()