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

smartondev / gwbackupy / 7dfccd0c-e35b-4402-8ef2-fef38193a0b7

pending completion
7dfccd0c-e35b-4402-8ef2-fef38193a0b7

Pull #55

circleci

Márton Somogyi
#24
Pull Request #55: #24 storage add content hash property

38 of 38 new or added lines in 2 files covered. (100.0%)

668 of 1249 relevant lines covered (53.48%)

0.53 hits per line

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

60.0
/gwbackupy/providers/gmail_service_wrapper_interface.py
1
from __future__ import annotations
1✔
2

3
from gwbackupy.providers.service_provider_interface import ServiceProviderInterface
1✔
4

5

6
class GmailServiceWrapperInterface:
1✔
7
    def get_messages(self, email: str, q: str) -> dict[str, [dict[str, any]]]:
1✔
8
        """Return all messages that match with query"""
9
        pass
×
10

11
    def get_message(
1✔
12
        self, email: str, message_id: str, message_format: str = "minimal"
13
    ) -> dict[str, any] | None:
14
        """Get one message by message ID. If not exists then return None"""
15
        pass
×
16

17
    def get_labels(self, email: str) -> list[dict[str, any]]:
1✔
18
        """Return all labels"""
19
        pass
×
20

21
    def get_service_provider(self) -> ServiceProviderInterface:
1✔
22
        pass
×
23

24
    def create_label(
1✔
25
        self, email: str, name: str, get_if_already_exists: bool = False
26
    ) -> dict[str, any]:
27
        """Create a label if not existing, and return the label data"""
28
        pass
×
29

30
    def insert_message(self, email: str, data: dict[str, any]) -> dict[str, any]:
1✔
31
        """Insert a message to server with specified data, and return new message ID"""
32
        pass
×
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