How to use the classes.statistic_worker.statisticBaseClass.StatisticBaseClass.__init__ function in classes

To help you get started, we’ve selected a few classes examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github AlexeyManikin / domain_statistic / classes / statistic_worker / beget / begetAsToStatistic.py View on Github external
def __init__(self, number: int, data: datetime, today: datetime, zone: str):
        """
        :param number:
        """
        StatisticBaseClass.__init__(self, number, 'beget_as_to')
        self.today = today
        self.data = data
        self.zone = PREFIX_LIST_ZONE[zone]
github AlexeyManikin / domain_statistic / classes / statistic_worker / provider / providerAsFromStatistic.py View on Github external
def __init__(self, number: int, data: datetime, today: datetime, zone: str, provider: str, as_number: int):
        """
        :param number:
        """

        StatisticBaseClass.__init__(self, number, "%s_from_as" % provider)

        self.provider = provider
        self.today = today
        self.data = data
        self.zone = PREFIX_LIST_ZONE[zone]
        self.as_number = as_number
github AlexeyManikin / domain_statistic / classes / statistic_worker / groupProviderStatistic.py View on Github external
def __init__(self, number: int, data: datetime, today: datetime, zone: str):
        """
        :param number:
        """
        StatisticBaseClass.__init__(self, number, "group_provider_")

        self.today = today
        self.data = data
        self.zone_id = PREFIX_LIST_ZONE[zone]

        self.count_ptheread = 0
        self.process_list = []
github AlexeyManikin / domain_statistic / classes / statistic_worker / beget / begetNsFromStatistic.py View on Github external
def __init__(self, number: int, data: datetime, today: datetime, zone: str):
        """
        :param number:
        """
        StatisticBaseClass.__init__(self, number, 'beget_ns_from')
        self.today = today
        self.data = data
        self.zone = PREFIX_LIST_ZONE[zone]
github AlexeyManikin / domain_statistic / classes / statistic_worker / mxCountStatistic.py View on Github external
def __init__(self, number: int, data: datetime, today: datetime, zone: str):
        """
        :param number:
        """
        StatisticBaseClass.__init__(self, number, "mx_count_")
        self.today = today
        self.data = data
        self.zone_id = PREFIX_LIST_ZONE[zone]
github AlexeyManikin / domain_statistic / classes / statistic_worker / beget / begetNsToStatistic.py View on Github external
def __init__(self, number: int, data: datetime, today: datetime, zone: str):
        """
        :param number:
        """
        StatisticBaseClass.__init__(self, number, 'beget_ns_to')
        self.today = today
        self.data = data
        self.zone = PREFIX_LIST_ZONE[zone]
github AlexeyManikin / domain_statistic / classes / statistic_worker / asCountStatistic.py View on Github external
def __init__(self, number: int, data: datetime, today: datetime, zone: str):
        """
        :param number:
        """
        StatisticBaseClass.__init__(self, number, "as_count_")

        self.today = today
        self.data = data
        self.zone_id = PREFIX_LIST_ZONE[zone]
github AlexeyManikin / domain_statistic / classes / statistic_worker / beget / begetAsFromStatistic.py View on Github external
def __init__(self, number: int, data: datetime, today: datetime, zone: str):
        """
        :param number:
        """
        StatisticBaseClass.__init__(self, number, 'beget_as_from')
        self.today = today
        self.data = data
        self.zone = PREFIX_LIST_ZONE[zone]
github AlexeyManikin / domain_statistic / classes / statistic_worker / nsCountStatistic.py View on Github external
def __init__(self, number: int, data: datetime, today: datetime, zone: str):
        """
        :param number:
        """
        StatisticBaseClass.__init__(self, number, "ns_count_")
        self.today = today
        self.data = data
        self.zone_id = PREFIX_LIST_ZONE[zone]
github AlexeyManikin / domain_statistic / classes / statistic_worker / nsDomainOldCountStatistic.py View on Github external
def __init__(self, number: int, data: datetime, today: datetime, zone: str):
        """
        :param number:
        """
        StatisticBaseClass.__init__(self, number, "ns_domain_old_count_")
        self.today = today
        self.data = data
        self.zone_id = PREFIX_LIST_ZONE[zone]