stalker.models.client.ClientUser

Inheritance diagram of stalker.models.client.ClientUser
class stalker.models.client.ClientUser(client=None, user=None, role=None)[source]

Bases: sqlalchemy.ext.declarative.api.Base

The association object used in Client-to-User relation

Parameters:
  • client (Client) – The client which the user is affiliated with.
  • user (User) – A User instance.
__init__(client=None, user=None, role=None)

Methods

__init__([client, user, role])

Attributes

client
client_id
metadata
plural_class_name the plural name of this class
query
role
role_id
user
user_id
plural_class_name

the plural name of this class