import collections

"""All of the datatypes that get passed around inside Signal Searcher."""

InternetData = collections.namedtuple(
    'InternetData',
    ['key', 'table', 'time', 'upload', 'download', 'rtt', 'samples'])


# Everything below this line is temporary and should be deleted when the
# migration away from the spike is complete.

# pylint disable=missing-docstring, no-self-use

# Deprecated --- DO NOT USE
MlabDataEntry = collections.namedtuple(
    'MlabDataEntry', ['time', 'upload_speed', 'download_speed', 'min_latency'])


ProblemTuple = collections.namedtuple('ProblemTuple', [
    'key', 'table', 'start_date', 'end_date', 'severity', 'test_count',
    'description'
])


class Problem(ProblemTuple):
    def to_url(self):
        return 'http://127.0.0.1'

"""All of the datatypes that get passed around inside Signal Searcher."""

import collections

InternetData = collections.namedtuple(
    'InternetData',
    ['key', 'table', 'time', 'upload', 'download', 'rtt', 'samples'])


# Everything below this line is temporary and should be deleted when the
# migration away from the spike is complete.

# pylint disable=missing-docstring, no-self-use

# Deprecated --- DO NOT USE
MlabDataEntry = collections.namedtuple(
    'MlabDataEntry', ['time', 'upload_speed', 'download_speed', 'min_latency'])


ProblemTuple = collections.namedtuple('ProblemTuple', [
    'key', 'table', 'start_date', 'end_date', 'severity', 'test_count',
    'description'
])


class Problem(ProblemTuple):
    def to_url(self):
        return 'http://127.0.0.1'

Make the string be an actual docstring
Make the string be an actual docstring
