# encoding: utf-8
"""
@author: dawinia
@time: 2020/4/21 上午12:37
@file: Proxy.py
@desc: 
"""
from attr import attrs, attr


@attrs
class Proxy:
    host = attr(type=str, default=None)
    port = attr(type=int, default=None)

    def string(self):
        return f"{self.host}:{self.port}"

7d1cd02af5898eed3e0e0152ffece3f63086f927
<mask token>

<mask token>


@attrs
class Proxy:
    <mask token>
    <mask token>

    def string(self):
        return f'{self.host}:{self.port}'

<mask token>


@attrs
class Proxy:
    host = attr(type=str, default=None)
    port = attr(type=int, default=None)

    def string(self):
        return f'{self.host}:{self.port}'

<mask token>
from attr import attrs, attr


@attrs
class Proxy:
    host = attr(type=str, default=None)
    port = attr(type=int, default=None)

    def string(self):
        return f'{self.host}:{self.port}'

# encoding: utf-8
"""
@author: dawinia
@time: 2020/4/21 上午12:37
@file: Proxy.py
@desc: 
"""
from attr import attrs, attr


@attrs
class Proxy:
    host = attr(type=str, default=None)
    port = attr(type=int, default=None)

    def string(self):
        return f"{self.host}:{self.port}"
