Skip to content

Commit

Permalink
Include comment about max length handling
Browse files Browse the repository at this point in the history
In the return section of docstring.
  • Loading branch information
smarlowucf committed Jan 9, 2024
1 parent 9d6df94 commit a2f4c85
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion csp_billing_adapter/archive.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down

0 comments on commit a2f4c85

Please sign in to comment.