pihole#

class platypush.message.response.pihole.PiholeStatusResponse(server: str, status: str, ads_percentage: float, blocked: int, cached: int, domain_count: int, forwarded: int, queries: int, total_clients: int, total_queries: int, unique_clients: int, unique_domains: int, version: str, *args, **kwargs)[source]#

Bases: Response

__init__(server: str, status: str, ads_percentage: float, blocked: int, cached: int, domain_count: int, forwarded: int, queries: int, total_clients: int, total_queries: int, unique_clients: int, unique_domains: int, version: str, *args, **kwargs)[source]#
Parameters:
  • target (str) – Target

  • origin (str) – Origin

  • output – Output

  • errors – Errors

  • id (str) – Message ID this response refers to

  • timestamp (float) – Message timestamp