<reponame>vahndi/scitwi<filename>scitwi/users/user_entities_description.py<gh_stars>0
from scitwi.utils.attrs import list_str_attr
from scitwi.utils.strs import list_obj_string


class UserEntitiesDescription(object):

    def __init__(self, description: dict):

        self.urls = list_str_attr(description, 'urls')

    def __str__(self):

        return list_obj_string('Urls', self.urls)

from scitwi.utils.attrs import list_str_attr
from scitwi.utils.strs import list_obj_string


class UserEntitiesDescription(object):

    def __init__(self, description: dict):

        self.urls = list_str_attr(description, 'urls')

    def __str__(self):

        return list_obj_string('Urls', self.urls)