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)[source]

Methods

__init__([client, user, role])

Attributes

client
client_id
metadata A collection of Table objects and their associated schema constructs.
plural_class_name the plural name of this class
query ORM-level SQL construction object.
role
role_id
user
user_id
plural_class_name

the plural name of this class

Previous topic

stalker.models.client.Client

Next topic

stalker.models.entity.Entity