From a2f4c8575b35d03f421cdbee2a50bddf73363e29 Mon Sep 17 00:00:00 2001 From: Sean Marlow Date: Tue, 9 Jan 2024 16:48:20 -0500 Subject: [PATCH] Include comment about max length handling In the return section of docstring. --- csp_billing_adapter/archive.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/csp_billing_adapter/archive.py b/csp_billing_adapter/archive.py index 2ce0c5d..d86ac6a 100644 --- a/csp_billing_adapter/archive.py +++ b/csp_billing_adapter/archive.py @@ -36,7 +36,8 @@ def append_metering_records( The max size of the archive list. :return: The archive of meterings and usage records with the - billing_record appended. + billing_record appended. If archive ends up greater + than max lengh the first (oldest) record is dropped. """ archive.append(billing_record)