Beispiel #1
0
    def __init__(self, user: User):
        User.__init__(self, **user.__dict__)

        self.id = self.uid
        self.guest = False
Beispiel #2
0
    def __init__(self, client: WSClient=None, **kwargs):
        User.__init__(self, **kwargs)

        self.id = kwargs.get('uid')
        self.client = client