Module Import alias Import alias Import alias Import alias ImportFrom alias alias alias alias ImportFrom alias alias alias alias ImportFrom alias ImportFrom alias alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ClassDef bases NameLoad body Expr Call NameLoad keyword Str Assign NameStore Call NameLoad Call NameLoad Num keyword NameLoad keyword NameLoad keyword NameLoad Assign NameStore Call NameLoad Call NameLoad Num keyword NameLoad Assign NameStore Call NameLoad NameLoad keyword NameLoad Assign NameStore Call NameLoad Call NameLoad Num keyword NameLoad Assign NameStore Call NameLoad Str FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad If NameLoad body Expr Call AttributeLoad NameLoad attr decorator_list NameLoad FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Assign NameStore Call NameLoad keyword NameLoad keyword NameLoad keyword NameLoad keyword Call AttributeLoad AttributeLoad NameLoad attr attr Return NameLoad decorator_list NameLoad decorator_list ClassDef bases NameLoad body Expr Call NameLoad keyword Str Assign NameStore Call NameLoad Str keyword NameLoad keyword Str Assign NameStore Call NameLoad Str keyword NameLoad keyword Str keyword ListLoad Str Str Assign NameStore Call NameLoad NameLoad keyword Lambda arguments args defaults Num decorator_list ClassDef bases NameLoad body Expr Call NameLoad keyword Str Assign NameStore Call NameLoad Str keyword NameLoad keyword Str Assign NameStore Call NameLoad Str keyword NameLoad keyword Str keyword ListLoad Str Str decorator_list ClassDef bases NameLoad body Expr Str Expr Call NameLoad keyword Str Assign NameStore Call NameLoad Call NameLoad Num keyword NameLoad keyword NameLoad keyword NameLoad keyword NameLoad Assign NameStore Call NameLoad Call NameLoad Num keyword NameLoad keyword NameLoad Assign NameStore Call NameLoad Call NameLoad Num keyword NameLoad Assign NameStore Call NameLoad Call NameLoad Num keyword NameLoad Assign NameStore Call NameLoad Call NameLoad Num keyword NameLoad Assign NameStore Call NameLoad Call NameLoad Num keyword Str keyword NameLoad Assign NameStore Call NameLoad Call NameLoad Num Assign NameStore Call NameLoad Call NameLoad Num keyword Str keyword NameLoad Assign NameStore Call NameLoad Call NameLoad Num keyword Str keyword NameLoad Assign NameStore Call NameLoad NameLoad keyword NameLoad Assign NameStore Call NameLoad NameLoad keyword NameLoad Assign NameStore Call NameLoad Str Assign NameStore Call NameLoad Str Str keyword Lambda arguments args NameParam defaults Call NameLoad keyword NameLoad Assign NameStore Call NameLoad Str Assign NameStore Call NameLoad Str Str keyword Lambda arguments args NameParam defaults Call NameLoad keyword NameLoad Assign NameStore Call NameLoad Str keyword Str Assign NameStore Call NameLoad Str keyword Str keyword Str Assign NameStore Call NameLoad Str FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam NameParam defaults Str NameLoad kwarg body Expr Str Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr keyword NameLoad keyword NameLoad keyword NameLoad keyword NameLoad keyword NameLoad keyword NameLoad keyword Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad If CompareEq NameLoad Str body Expr Call AttributeLoad NameLoad attr NameLoad orelse Expr Call AttributeLoad NameLoad attr Str Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return AttributeLoad NameLoad attr decorator_list NameLoad FunctionDef arguments args NameParam NameParam NameParam NameParam defaults NameLoad body Assign AttributeStore NameLoad attr NameLoad If NameLoad body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Return CompareEq NameLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body If NameLoad body Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return CompareIs AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str If CompareIs AttributeLoad NameLoad attr NameLoad body Return Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults Str body Expr Str Assign NameStore Call NameLoad GeneratorExp AttributeLoad NameLoad attr comprehension NameStore AttributeLoad NameLoad attr If CompareNotIn NameLoad NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad keyword NameLoad If BoolOpAnd CompareEq NameLoad Str CompareNotIn NameLoad AttributeLoad NameLoad attr body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Return Call AttributeLoad AttributeLoad NameLoad attr attr CompareIsNot AttributeLoad NameLoad attr NameLoad decorator_list NameLoad FunctionDef arguments args NameParam defaults Num body Assign NameStore BinOpAdd AttributeLoad NameLoad attr AttributeLoad NameLoad attr Return Call AttributeLoad Str attr GeneratorExp Call AttributeLoad NameLoad attr NameLoad comprehension NameStore Call NameLoad NameLoad decorator_list NameLoad FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Str Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr BinOpAdd NameLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Str Return Call NameLoad Call AttributeLoad Call AttributeLoad NameLoad attr BinOpAdd NameLoad NameLoad attr decorator_list NameLoad FunctionDef arguments args NameParam NameParam defaults NameLoad body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr CompareIs AttributeLoad NameLoad attr NameLoad If NameLoad body Assign NameStore Call AttributeLoad NameLoad attr CompareLt AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list NameLoad FunctionDef arguments args NameParam NameParam defaults body Return Call AttributeLoad NameLoad attr keyword NameLoad decorator_list NameLoad FunctionDef arguments args NameParam NameParam defaults body Return Call AttributeLoad NameLoad attr keyword NameLoad decorator_list NameLoad FunctionDef arguments args NameParam NameParam defaults body Return Call AttributeLoad AttributeLoad NameLoad attr attr BinOpBitOr Call AttributeLoad AttributeLoad NameLoad attr attr BinOpAdd BinOpAdd Str NameLoad Str Call AttributeLoad AttributeLoad NameLoad attr attr BinOpAdd BinOpAdd Str NameLoad Str decorator_list NameLoad FunctionDef arguments args NameParam NameParam NameParam defaults TupleLoad NameLoad body ImportFrom alias Assign NameStore AttributeLoad NameLoad attr Assign NameStore Call NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr TupleLoad NameLoad Call NameLoad CompareEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr CompareEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr TupleLoad NameLoad CompareEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr TupleLoad NameLoad CompareEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr CompareEq AttributeLoad NameLoad attr NameLoad If NameLoad body Assign NameStore Call AttributeLoad NameLoad attr UnaryOpInvert Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr If NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Return ListComp SubscriptLoad NameLoad Index Num comprehension NameStore NameLoad decorator_list decorator_list
N/A N/A datetime N/A hashlib N/A random N/A string elixir Unicode Integer Field DateTime elixir ManyToOne ManyToMany OneToOne OneToMany elixir using_options sqlalchemy and_ func sqlalchemy.orm aliased sqlalchemy.dialects.mysql VARCHAR sqlalchemy.ext.associationproxy AssociationProxy nagare database kansha.models Entity DataToken N/A Entity N/A N/A N/A using_options tablename token N/A token N/A Field N/A Unicode 255 unique True nullable False primary_key True N/A username N/A Field N/A Unicode 255 nullable True N/A date N/A Field DateTime nullable False N/A action N/A Field N/A Unicode 255 nullable True N/A board N/A ManyToOne DataBoard delete_by_username N/A N/A cls username action N/A N/A N/A token N/A N/A cls get_by username username action action N/A token N/A N/A N/A N/A token delete N/A classmethod new N/A N/A cls token username action N/A N/A N/A obj N/A cls token token username username action action date N/A N/A N/A datetime datetime now N/A obj N/A classmethod N/A DataBoardMember N/A Entity N/A N/A N/A using_options tablename user_boards__board_members N/A board N/A ManyToOne DataBoard primary_key True ondelete CASCADE N/A member N/A ManyToOne DataUser primary_key True ondelete CASCADE colname N/A user_username user_source N/A notify N/A Field Integer default N/A N/A N/A N/A 1 N/A DataBoardManager N/A Entity N/A N/A N/A using_options tablename user_managed_boards__board_managers N/A board N/A ManyToOne DataBoard primary_key True ondelete CASCADE N/A member N/A ManyToOne DataUser primary_key True ondelete CASCADE colname N/A user_username user_source N/A DataUser N/A Entity N/A N/A Label mapper
     N/A N/A using_options tablename user N/A username N/A Field N/A VARCHAR 255 binary True unique True primary_key True nullable False N/A source N/A Field N/A Unicode 255 nullable False primary_key True N/A fullname N/A Field N/A Unicode 255 nullable False N/A email N/A Field N/A Unicode 255 nullable True N/A picture N/A Field N/A Unicode 255 nullable True N/A language N/A Field N/A Unicode 255 default en nullable True N/A email_to_confirm N/A Field N/A Unicode 255 N/A _salt N/A Field N/A Unicode 255 colname salt nullable False N/A _password N/A Field N/A Unicode 255 colname password nullable True N/A registration_date N/A Field DateTime nullable False N/A last_login N/A Field DateTime nullable True N/A board_members N/A OneToMany DataBoardMember N/A boards N/A AssociationProxy board_members board creator N/A N/A N/A board N/A N/A DataBoardMember board board N/A board_managers N/A OneToMany DataBoardManager N/A managed_boards N/A AssociationProxy board_managers board creator N/A N/A N/A board N/A N/A DataBoardManager board board N/A last_board N/A OneToOne DataBoard inverse last_users N/A cards N/A ManyToMany DataCard inverse members lazy dynamic N/A history N/A OneToMany DataHistory __init__ N/A N/A self username password fullname email source picture N/A application None kw N/A N/A Create a new user with an unconfirmed email N/A N/A N/A N/A super DataUser self __init__ username username fullname fullname email None email_to_confirm email source source picture picture registration_date N/A N/A N/A datetime datetime utcnow kw N/A N/A source application N/A N/A N/A N/A self change_password password N/A N/A N/A N/A self change_password passwd N/A N/A self email_to_confirm None N/A id N/A N/A self N/A N/A N/A N/A self username N/A property update N/A N/A self fullname email picture N/A None N/A N/A N/A self fullname fullname N/A email N/A N/A N/A self email email N/A N/A self picture picture N/A check_password N/A N/A self clear_password N/A N/A N/A Check the user password. Return True if the password is valid for this user N/A encrypted_password N/A N/A self _encrypt_password N/A self _salt clear_password N/A N/A encrypted_password N/A self _password N/A change_password N/A N/A self clear_password N/A N/A N/A Change the user password N/A N/A self _salt N/A N/A self _create_random_salt N/A N/A self _password N/A N/A self _encrypt_password N/A self _salt clear_password N/A set_email_to_confirm N/A N/A self email_to_confirm N/A N/A N/A email_to_confirm N/A N/A N/A self email_to_confirm email_to_confirm N/A is_validated N/A N/A self N/A N/A N/A N/A N/A self email_to_confirm None N/A confirm_email N/A N/A self N/A N/A N/A Called when a user confirms his email address N/A N/A N/A self email_to_confirm None N/A N/A N/A N/A self email N/A self email_to_confirm N/A N/A self email_to_confirm None N/A add_board N/A N/A self board role N/A member N/A N/A Add board to user's board lists

        In:
         - ``board`` -- DataBoard instance to add
         - ``role`` -- user is member or manager
         N/A boards N/A set N/A N/A dbm board N/A dbm N/A self board_members N/A N/A board boards N/A N/A N/A N/A N/A self board_members append N/A DataBoardMember board board N/A N/A N/A role manager N/A board N/A self managed_boards N/A N/A N/A N/A N/A self managed_boards append board N/A get_picture N/A N/A self N/A N/A N/A N/A self picture N/A get_confirmed_users N/A N/A cls N/A N/A N/A N/A N/A N/A cls query filter N/A N/A cls email None N/A classmethod _create_random_salt N/A N/A length N/A 32 N/A N/A allowed_chars N/A N/A string ascii_letters N/A string digits N/A N/A N/A join N/A N/A N/A random choice allowed_chars N/A _ N/A range length N/A staticmethod _encrypt_password N/A N/A salt password N/A N/A N/A secret NzlSszmvDNY2e2lVMwiKJwgWjNGFCP1a N/A secret_salt N/A N/A N/A N/A hashlib sha512 N/A secret salt hexdigest N/A utf8_password N/A N/A password encode utf-8 N/A N/A unicode N/A N/A N/A N/A hashlib sha512 N/A secret_salt utf8_password hexdigest N/A staticmethod get_unconfirmed_users N/A N/A cls before_date N/A None N/A N/A q N/A N/A N/A cls query filter N/A N/A cls email None N/A before_date N/A N/A q N/A N/A q filter N/A N/A cls registration_date before_date N/A q N/A classmethod get_by_username N/A N/A cls username N/A N/A N/A N/A N/A cls get_by username username N/A classmethod get_by_email N/A N/A cls email N/A N/A N/A N/A N/A cls get_by email email N/A classmethod search N/A N/A cls value N/A N/A N/A N/A N/A N/A cls query filter N/A N/A N/A N/A cls fullname ilike N/A N/A % value % N/A N/A N/A cls email ilike N/A N/A % value % N/A classmethod best_friends N/A N/A self exclude_list size N/A N/A None N/A kansha.board.models DataBoard N/A cls N/A self __class__ N/A bm2 N/A aliased DataBoardMember N/A cnt N/A N/A func count N/A DataBoardMember board_id N/A query N/A N/A N/A database session query cls cnt N/A query N/A N/A query join N/A DataBoardMember N/A and_ N/A N/A DataBoardMember user_source N/A cls source N/A N/A DataBoardMember user_username N/A cls username N/A query N/A N/A query join N/A DataBoard N/A N/A DataBoard id N/A DataBoardMember board_id N/A query N/A N/A query join N/A bm2 N/A N/A bm2 board_id N/A DataBoard id N/A query N/A N/A query filter N/A N/A bm2 member self N/A exclude_list N/A N/A query N/A N/A query filter N/A N/A N/A N/A cls email in_ exclude_list N/A query N/A N/A query group_by cls N/A query N/A N/A query order_by N/A N/A cnt desc N/A cls fullname N/A size N/A N/A query N/A N/A query limit size N/A N/A N/A res N/A 0 N/A res query N/A N/A