cattle_grid.account.models
cattle_grid.account.models
Account
Bases: Model
Represents an Account
Source code in cattle_grid/account/models.py
actors
instance-attribute
actors: ReverseRelation[ActorForAccount]
Actors associated with this account
meta_information
class-attribute
instance-attribute
Additional information about the account
password_hash
class-attribute
instance-attribute
The hashed password
ActorForAccount
Bases: Model
Lists the actors associated with the account
Source code in cattle_grid/account/models.py
actor
class-attribute
instance-attribute
The URI of the actor
name
class-attribute
instance-attribute
name = CharField(
max_length=255,
description="human readable name for the actor",
default="NO NAME",
)
internal name of the actor, used for the human behind the account to identify it
status
class-attribute
instance-attribute
status = CharEnumField(ActorStatus, default=active)
status