• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

mozilla / fx-private-relay / c0df5861-e71c-4488-aecd-23ab1ba4d8b9

20 Jan 2025 01:59AM CUT coverage: 85.092% (+0.02%) from 85.075%
c0df5861-e71c-4488-aecd-23ab1ba4d8b9

Pull #5323

circleci

web-flow
Bump the boto group with 7 updates

Bumps the boto group with 7 updates:

| Package | From | To |
| --- | --- | --- |
| [boto3](https://github.com/boto/boto3) | `1.35.97` | `1.36.2` |
| [boto3-stubs](https://github.com/youtype/mypy_boto3_builder) | `1.35.97` | `1.36.2` |
| [botocore-stubs](https://github.com/youtype/botocore-stubs) | `1.35.97` | `1.36.2` |
| [mypy-boto3-s3](https://github.com/youtype/mypy_boto3_builder) | `1.35.93` | `1.36.0` |
| [mypy-boto3-ses](https://github.com/youtype/mypy_boto3_builder) | `1.35.93` | `1.36.0` |
| [mypy-boto3-sns](https://github.com/youtype/mypy_boto3_builder) | `1.35.93` | `1.36.0` |
| [mypy-boto3-sqs](https://github.com/youtype/mypy_boto3_builder) | `1.35.93` | `1.36.0` |


Updates `boto3` from 1.35.97 to 1.36.2
- [Release notes](https://github.com/boto/boto3/releases)
- [Commits](https://github.com/boto/boto3/compare/1.35.97...1.36.2)

Updates `boto3-stubs` from 1.35.97 to 1.36.2
- [Release notes](https://github.com/youtype/mypy_boto3_builder/releases)
- [Commits](https://github.com/youtype/mypy_boto3_builder/commits)

Updates `botocore-stubs` from 1.35.97 to 1.36.2
- [Release notes](https://github.com/youtype/botocore-stubs/releases)
- [Commits](https://github.com/youtype/botocore-stubs/commits)

Updates `mypy-boto3-s3` from 1.35.93 to 1.36.0
- [Release notes](https://github.com/youtype/mypy_boto3_builder/releases)
- [Commits](https://github.com/youtype/mypy_boto3_builder/commits)

Updates `mypy-boto3-ses` from 1.35.93 to 1.36.0
- [Release notes](https://github.com/youtype/mypy_boto3_builder/releases)
- [Commits](https://github.com/youtype/mypy_boto3_builder/commits)

Updates `mypy-boto3-sns` from 1.35.93 to 1.36.0
- [Release notes](https://github.com/youtype/mypy_boto3_builder/releases)
- [Commits](https://github.com/youtype/mypy_boto3_builder/commits)

Updates `mypy-boto3-sqs` from 1.35.93 to 1.36.0
- [Release notes](https://github.com/youtype/mypy_boto3_builder/releases)
- [Commits](https://github.com/yout... (continued)
Pull Request #5323: Bump the boto group with 7 updates

2434 of 3561 branches covered (68.35%)

Branch coverage included in aggregate %.

16996 of 19273 relevant lines covered (88.19%)

9.92 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

0.0
/emails/management/commands/delete_old_reply_records.py
1
from datetime import UTC, datetime, timedelta
×
2

3
from django.core.management.base import BaseCommand
×
4
from django.db import transaction
×
5

6
from ...models import Reply
×
7

8

9
class Command(BaseCommand):
×
10
    help = "Deletes all Reply objects older than 3 months."
×
11

12
    def add_arguments(self, parser):
×
13
        parser.add_argument("days_old", nargs=1, type=int)
×
14

15
    def handle(self, *args, **options):
×
16
        delete_date = datetime.now(UTC) - timedelta(options["days_old"][0])
×
17
        replies_to_delete = Reply.objects.filter(created_at__lt=delete_date).only("id")
×
18
        print(
×
19
            f"Deleting {len(replies_to_delete)} reply records "
20
            f"older than {delete_date}"
21
        )
22
        with transaction.atomic():
×
23
            replies_to_delete.delete()
×
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc