Module ImportFrom alias Import alias Import alias Import alias Import alias ImportFrom alias identifier ImportFrom alias ImportFrom alias alias alias identifier ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias Assign NameStore Call NameLoad Assign NameStore TupleLoad Str Str Str Str Str Str FunctionDef arguments args NameParam defaults body Expr Str TryExcept body Assign NameStore Call AttributeLoad Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr attr Num attr handlers ExceptHandler type NameLoad body Assign NameStore Call AttributeLoad Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr attr Num attr Return NameLoad decorator_list Assign NameStore Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str ClassDef bases AttributeLoad NameLoad attr body Assign NameStore Str Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Num keyword NameLoad keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Num Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Num Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Num Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr keyword NameLoad FunctionDef arguments args NameParam defaults vararg kwarg body If CompareNotIn Str NameLoad body Assign SubscriptStore NameLoad Index Str Call AttributeLoad NameLoad attr Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore ListLoad For NameStore AttributeLoad NameLoad attr body For NameStore AttributeLoad NameLoad attr body If CompareNotIn NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list NameLoad FunctionDef arguments args NameParam defaults body Return Call NameLoad NameLoad decorator_list NameLoad FunctionDef arguments args NameParam NameParam NameParam defaults body If CompareEq NameLoad Str body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr Str Call NameLoad NameLoad Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return BinOpMod Str AttributeLoad NameLoad attr decorator_list decorator_list ClassDef bases AttributeLoad NameLoad attr body Assign NameStore Str Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Num keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Num Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Num Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr keyword NameLoad FunctionDef arguments args NameParam defaults vararg kwarg body If CompareNotIn Str NameLoad body Assign SubscriptStore NameLoad Index Str Call AttributeLoad NameLoad attr Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore ListLoad For NameStore AttributeLoad NameLoad attr body For NameStore AttributeLoad NameLoad attr body If CompareNotIn NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list NameLoad FunctionDef arguments args NameParam defaults body Return Call NameLoad NameLoad decorator_list NameLoad FunctionDef arguments args NameParam NameParam NameParam defaults body If CompareEq NameLoad Str body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr Str Call NameLoad NameLoad Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return BinOpMod Str AttributeLoad NameLoad attr decorator_list decorator_list ClassDef bases AttributeLoad NameLoad attr body Assign NameStore Str Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Num keyword NameLoad keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Num Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Num Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Num Assign NameStore Call AttributeLoad NameLoad attr Str keyword Str keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str keyword NameLoad keyword Str keyword Call AttributeLoad NameLoad attr Str keyword Str Assign NameStore Call AttributeLoad NameLoad attr Str keyword NameLoad keyword Str keyword Call AttributeLoad NameLoad attr Str keyword Str FunctionDef arguments args NameParam NameParam defaults vararg kwarg body If UnaryOpNot Call NameLoad NameLoad TupleLoad NameLoad NameLoad body Raise Call NameLoad BinOpMod Str Call NameLoad NameLoad Assign NameStore NameLoad If Call NameLoad NameLoad NameLoad body Assign NameStore AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Str NameLoad If CompareIn Str NameLoad body Delete SubscriptDel NameLoad Index Str Assign NameStore Call AttributeLoad NameLoad attr Str NameLoad If CompareIn Str NameLoad body Delete SubscriptDel NameLoad Index Str Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad keyword NameLoad If NameLoad body Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr If CompareNotIn Str NameLoad body Assign SubscriptStore NameLoad Index Str Call AttributeLoad NameLoad attr Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return Call NameLoad NameLoad decorator_list NameLoad FunctionDef arguments args NameParam NameParam NameParam defaults body If CompareEq NameLoad Str body Assign NameStore IfExp NameLoad Call NameLoad NameLoad NameLoad Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr Str NameLoad Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body If AttributeLoad NameLoad attr body Return Call AttributeLoad AttributeLoad NameLoad attr attr Str Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body If CompareNotEq NameLoad Call AttributeLoad NameLoad attr body Assign AttributeStore NameLoad attr NameLoad If NameLoad body Return NameLoad If Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore BinOpMult Num AttributeLoad NameLoad attr With Call NameLoad Call AttributeLoad NameLoad attr Str NameStore body For NameStore Call NameLoad Lambda arguments args defaults Call AttributeLoad NameLoad attr NameLoad Str body Expr Call AttributeLoad NameLoad attr NameLoad Return Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str If UnaryOpNot Call NameLoad NameLoad Str NameLoad body Assign AttributeStore NameLoad attr Call NameLoad Call AttributeLoad NameLoad attr Return AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Return BinOpMod Str AttributeLoad NameLoad attr decorator_list decorator_list ClassDef bases AttributeLoad NameLoad attr body Assign NameStore Str Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr Str keyword NameLoad FunctionDef arguments args NameParam defaults body Return BinOpMod Str AttributeLoad NameLoad attr decorator_list decorator_list ClassDef bases AttributeLoad NameLoad attr body Assign NameStore Str Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Num keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr Str keyword Str keyword Str keyword Str keyword CompareEq NameLoad AttributeLoad NameLoad attr FunctionDef arguments args NameParam defaults vararg kwarg body Assign SubscriptStore NameLoad Index Str Call AttributeLoad NameLoad attr Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults NameLoad body Expr Str TryExcept body Assign NameStore Call NameLoad NameLoad handlers ExceptHandler body Raise NameLoad If CompareLt NameLoad Num body Raise NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr If CompareGtE NameLoad NameLoad body Raise NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr CompareEq AttributeLoad NameLoad attr NameLoad CompareEq AttributeLoad NameLoad attr NameLoad attr If NameLoad body Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str If CompareIsNot NameLoad NameLoad body TryExcept body Assign NameStore Call NameLoad NameLoad handlers ExceptHandler body Raise NameLoad If CompareLt NameLoad Num body Raise NameLoad If CompareIs NameLoad NameLoad body Raise NameLoad Assign NameStore Call NameLoad keyword NameLoad keyword NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr If CompareIs NameLoad NameLoad body Assign NameStore NameLoad If BoolOpAnd CompareEq NameLoad Num CompareGt NameLoad Num body Raise NameLoad If CompareGt NameLoad Num body If CompareGt NameLoad NameLoad body Raise NameLoad If CompareEq NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr BinOpSub NameLoad Num Assign AttributeStore NameLoad attr NameLoad orelse Assign NameStore Call AttributeLoad NameLoad attr NameLoad If UnaryOpNot NameLoad body Raise NameLoad Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Num Assign NameStore Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad keyword NameLoad attr While NameLoad body If CompareEq NameLoad NameLoad body Return NameLoad orelse If CompareGt NameLoad NameLoad body Return NameLoad Assign NameStore Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr CompareEq AttributeLoad NameLoad attr NameLoad CompareEq AttributeLoad NameLoad attr NameLoad attr AugAssignAdd NameStore Num decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad Return Call AttributeLoad NameLoad attr decorator_list NameLoad FunctionDef arguments args NameParam defaults body Return BinOpMod Str AttributeLoad NameLoad attr decorator_list decorator_list ClassDef bases AttributeLoad NameLoad attr body Assign NameStore Str Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Num Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str keyword NameLoad FunctionDef arguments args NameParam defaults body Return BinOpMod Str AttributeLoad AttributeLoad NameLoad attr attr decorator_list decorator_list ClassDef bases AttributeLoad NameLoad attr body Assign NameStore Str Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Num Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Num keyword NameLoad keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Num keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Num keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr keyword Str Call AttributeLoad NameLoad attr keyword NameLoad keyword AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr keyword NameLoad FunctionDef arguments args NameParam defaults vararg kwarg body Assign SubscriptStore NameLoad Index Str Call AttributeLoad NameLoad attr Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults vararg kwarg body If CompareEq SubscriptLoad NameLoad Index Num Str body Assign NameStore SubscriptLoad NameLoad Index Num Assign NameStore NameLoad If CompareNotIn NameLoad TupleLoad NameLoad Str body Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign NameStore TupleLoad Str NameLoad Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body Assign NameStore BoolOpOr NameLoad AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Str Return TupleLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad Return CompareEq NameLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults NameLoad body If UnaryOpNot NameLoad body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Num If UnaryOpNot Call NameLoad NameLoad NameLoad body Raise NameLoad Assign NameStore Call NameLoad SubscriptLoad AttributeLoad NameLoad attr Index Str keyword NameLoad Return Call AttributeLoad NameLoad attr Dict Str Call NameLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad SubscriptLoad AttributeLoad NameLoad attr Index Str TryExcept body Assign NameStore Call AttributeLoad NameLoad attr NameLoad handlers ExceptHandler type TupleLoad NameLoad NameLoad body Return NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr SubscriptLoad NameLoad Index Str Return NameLoad decorator_list NameLoad FunctionDef arguments args NameParam defaults body Return BinOpMod Str AttributeLoad NameLoad attr decorator_list decorator_list
N/A datetime datetime N/A bcrypt N/A hashlib N/A os N/A uuid flask current_app app flask.ext.sqlalchemy SQLAlchemy itsdangerous BadSignature SignatureExpired TimedJSONWebSignatureSerializer Serializer sqlalchemy.exc OperationalError sqlalchemy.sql.expression func slugify slugify shiva dbtypes shiva.auth Roles shiva.utils MetadataManager N/A db N/A SQLAlchemy N/A __all__ N/A db Artist Album Track LyricsCache User random_row N/A N/A model N/A N/A N/A Retrieves a random row for the given model. N/A N/A N/A instance N/A N/A N/A N/A N/A N/A N/A model query order_by N/A N/A func random limit 1 first N/A N/A N/A OperationalError N/A N/A instance N/A N/A N/A N/A N/A N/A N/A model query order_by N/A N/A func rand limit 1 first N/A instance N/A N/A track_artist N/A N/A db Table trackartist N/A N/A db Column track_pk N/A dbtypes GUID N/A N/A db ForeignKey tracks.pk N/A N/A db Column artist_pk N/A dbtypes GUID N/A N/A db ForeignKey artists.pk N/A track_album N/A N/A db Table trackalbum N/A N/A db Column track_pk N/A dbtypes GUID N/A N/A db ForeignKey tracks.pk N/A N/A db Column album_pk N/A dbtypes GUID N/A N/A db ForeignKey albums.pk Artist N/A N/A db Model N/A N/A __tablename__ artists N/A pk N/A N/A db Column N/A dbtypes GUID default N/A uuid uuid4 primary_key True N/A name N/A N/A db Column N/A N/A db String 128 unique True nullable False N/A slug N/A N/A db Column N/A N/A db String 128 N/A image N/A N/A db Column N/A N/A db String 256 N/A events N/A N/A db Column N/A N/A db String 256 N/A date_added N/A N/A db Column N/A N/A db Date nullable False __init__ N/A N/A self N/A args kwargs N/A N/A N/A date_added kwargs N/A N/A N/A kwargs N/A date_added N/A N/A datetime today N/A N/A N/A N/A super Artist self __init__ args kwargs N/A albums N/A N/A self N/A N/A N/A albums N/A N/A track N/A self tracks N/A N/A album N/A track albums N/A N/A N/A album albums N/A N/A N/A N/A albums append album N/A albums N/A property random N/A N/A cls N/A N/A N/A N/A random_row cls N/A classmethod __setattr__ N/A N/A self attr value N/A N/A N/A N/A attr name N/A N/A N/A N/A N/A super Artist self __setattr__ slug N/A slugify value N/A N/A N/A N/A super Artist self __setattr__ attr value N/A __repr__ N/A N/A self N/A N/A N/A N/A <Artist (%s)> N/A self name N/A N/A Album N/A N/A db Model N/A N/A __tablename__ albums N/A pk N/A N/A db Column N/A dbtypes GUID default N/A uuid uuid4 primary_key True N/A name N/A N/A db Column N/A N/A db String 128 nullable False N/A slug N/A N/A db Column N/A N/A db String 128 N/A year N/A N/A db Column N/A db Integer N/A cover N/A N/A db Column N/A N/A db String 256 N/A date_added N/A N/A db Column N/A N/A db Date nullable False __init__ N/A N/A self N/A args kwargs N/A N/A N/A date_added kwargs N/A N/A N/A kwargs N/A date_added N/A N/A datetime today N/A N/A N/A N/A super Album self __init__ args kwargs N/A artists N/A N/A self N/A N/A N/A 
        Calculates the artists for this album by traversing the list of tracks.
        This is a terrible way of doing this, but we assume that the worst case
        will still be good enough to defer the optimization of this method for
        the future.
         N/A artists N/A N/A track N/A self tracks N/A N/A artist N/A track artists N/A N/A N/A artist artists N/A N/A N/A N/A artists append artist N/A artists N/A property random N/A N/A cls N/A N/A N/A N/A random_row cls N/A classmethod __setattr__ N/A N/A self attr value N/A N/A N/A N/A attr name N/A N/A N/A N/A N/A super Album self __setattr__ slug N/A slugify value N/A N/A N/A N/A super Album self __setattr__ attr value N/A __repr__ N/A N/A self N/A N/A N/A N/A <Album (%s)> N/A self name N/A N/A Track N/A N/A db Model N/A N/A __tablename__ tracks N/A pk N/A N/A db Column N/A dbtypes GUID default N/A uuid uuid4 primary_key True N/A path N/A N/A db Column N/A N/A db Unicode 256 unique True nullable False N/A title N/A N/A db Column N/A N/A db String 128 N/A slug N/A N/A db Column N/A N/A db String 128 N/A bitrate N/A N/A db Column N/A db Integer N/A file_size N/A N/A db Column N/A db Integer N/A length N/A N/A db Column N/A db Integer N/A ordinal N/A N/A db Column N/A db Integer N/A date_added N/A N/A db Column N/A N/A db Date nullable False N/A hash N/A N/A db Column N/A N/A db String 32 N/A lyrics N/A N/A db relationship LyricsCache backref tracks uselist False N/A albums N/A N/A db relationship Album secondary track_album lazy dynamic backref N/A N/A db backref tracks lazy dynamic N/A artists N/A N/A db relationship Artist secondary track_artist lazy dynamic backref N/A N/A db backref tracks lazy dynamic __init__ N/A N/A self path N/A args kwargs N/A N/A N/A N/A isinstance path N/A basestring file N/A N/A N/A ValueError N/A Invalid parameter for Track. Path or File expected, got %s N/A type path N/A _path path N/A N/A isinstance path file N/A N/A _path N/A path name N/A no_metadata N/A N/A kwargs get no_metadata False N/A N/A no_metadata kwargs N/A N/A N/A kwargs N/A no_metadata N/A hash_file N/A N/A kwargs get hash_file False N/A N/A hash_file kwargs N/A N/A N/A kwargs N/A hash_file N/A N/A self _meta None N/A N/A N/A self set_path _path no_metadata no_metadata N/A hash_file N/A N/A N/A self hash N/A N/A self calculate_hash N/A N/A date_added kwargs N/A N/A N/A kwargs N/A date_added N/A N/A datetime today N/A N/A N/A N/A super Track self __init__ args kwargs N/A random N/A N/A cls N/A N/A N/A N/A random_row cls N/A classmethod __setattr__ N/A N/A self attr value N/A N/A N/A N/A attr title N/A N/A slug N/A value N/A slugify value None N/A N/A N/A N/A super Track self __setattr__ slug slug N/A N/A N/A N/A super Track self __setattr__ attr value N/A get_path N/A N/A self N/A N/A N/A N/A self path N/A N/A N/A N/A N/A self path encode utf-8 N/A None N/A set_path N/A N/A self path no_metadata N/A False N/A N/A N/A path N/A N/A self get_path N/A N/A N/A self path path N/A no_metadata N/A N/A None N/A N/A N/A N/A os path exists N/A N/A self get_path N/A N/A meta N/A N/A self get_metadata_reader N/A N/A self file_size N/A meta filesize N/A N/A self bitrate N/A meta bitrate N/A N/A self length N/A meta length N/A N/A self ordinal N/A meta track_number N/A N/A self title N/A meta title N/A calculate_hash N/A N/A self N/A N/A N/A md5 N/A N/A hashlib md5 N/A block_size N/A 128 N/A md5 block_size N/A N/A open N/A N/A self get_path rb f N/A N/A chunk N/A iter N/A N/A N/A N/A N/A N/A f read block_size N/A N/A N/A N/A md5 update chunk N/A N/A N/A md5 hexdigest N/A get_metadata_reader N/A N/A self N/A N/A N/A Return a MetadataManager object. N/A N/A N/A getattr self _meta None N/A N/A N/A self _meta N/A MetadataManager N/A N/A self get_path N/A N/A self _meta N/A __repr__ N/A N/A self N/A N/A N/A N/A <Track ('%s')> N/A self title N/A N/A TrackPlaylistRelationship N/A N/A db Model N/A N/A __tablename__ trackplaylist N/A pk N/A N/A db Column N/A dbtypes GUID default N/A uuid uuid4 primary_key True N/A track_pk N/A N/A db Column N/A dbtypes GUID N/A N/A db ForeignKey tracks.pk nullable False N/A playlist_pk N/A N/A db Column N/A dbtypes GUID N/A N/A db ForeignKey playlists.pk nullable False N/A previous_track_pk N/A N/A db Column N/A dbtypes GUID N/A N/A db ForeignKey trackplaylist.pk N/A track N/A N/A db relationship Track N/A playlist N/A N/A db relationship Playlist N/A previous_track N/A N/A db relationship TrackPlaylistRelationship uselist False __repr__ N/A N/A self N/A N/A N/A N/A <TrackPlaylistRelationship ('%s')> N/A self pk N/A N/A Playlist N/A N/A db Model N/A N/A __tablename__ playlists N/A pk N/A N/A db Column N/A dbtypes GUID default N/A uuid uuid4 primary_key True N/A name N/A N/A db Column N/A N/A db String 128 nullable False N/A read_only N/A N/A db Column N/A db Boolean nullable False default True N/A user_pk N/A N/A db Column N/A dbtypes GUID N/A N/A db ForeignKey users.pk nullable False N/A creation_date N/A N/A db Column N/A db DateTime nullable False N/A user N/A N/A db relationship User N/A tracks N/A N/A db relationship Track backref playlists lazy dynamic secondary trackplaylist primaryjoin N/A pk N/A TrackPlaylistRelationship playlist_pk __init__ N/A N/A self N/A args kwargs N/A N/A N/A kwargs N/A creation_date N/A N/A datetime now N/A N/A N/A N/A super Playlist self __init__ args kwargs N/A remove_at N/A N/A self index N/A None N/A N/A 
        Removes an item from the playlist. The playlist is a linked list, so
        this method takes care of removing the element and updating any links
        to it.
         N/A N/A N/A index N/A int index N/A N/A N/A N/A ValueError N/A N/A index 0 N/A N/A ValueError N/A query N/A N/A N/A TrackPlaylistRelationship query filter_by playlist self N/A count N/A N/A query count N/A N/A index count N/A N/A IndexError N/A r_track N/A N/A self get_track_at index N/A next_track N/A N/A N/A N/A N/A TrackPlaylistRelationship query filter N/A N/A TrackPlaylistRelationship playlist self N/A N/A TrackPlaylistRelationship previous_track r_track first N/A next_track N/A N/A N/A next_track previous_track N/A r_track previous_track N/A N/A N/A N/A db session add next_track N/A N/A N/A N/A db session delete r_track N/A N/A N/A N/A db session commit N/A insert N/A N/A self index track N/A N/A N/A 
        Inserts a track in the playlist. The playlist tracks are structured in
        a linked list, to insert an item in the list this method find the item
        in the right position and updates the links in both.

        If the value None is given as index, the track will be appended at the
        end of the list.
         N/A N/A index None N/A N/A N/A N/A index N/A int index N/A N/A N/A N/A ValueError N/A N/A index 0 N/A N/A ValueError N/A N/A track None N/A N/A ValueError N/A rel N/A TrackPlaylistRelationship playlist self track track N/A query N/A N/A N/A TrackPlaylistRelationship query filter_by playlist self N/A count N/A N/A query count N/A N/A index None N/A N/A index count N/A N/A N/A count 0 N/A index 0 N/A N/A ValueError N/A N/A count 0 N/A N/A N/A index count N/A N/A ValueError N/A N/A index count N/A N/A r_track N/A N/A self get_track_at N/A index 1 N/A N/A rel previous_track r_track N/A N/A r_track N/A N/A self get_track_at index N/A N/A r_track N/A N/A ValueError N/A N/A rel previous_track N/A r_track previous_track N/A N/A r_track previous_track rel N/A N/A N/A N/A db session add r_track N/A N/A N/A N/A db session add rel N/A N/A N/A N/A db session commit N/A get_track_at N/A N/A self index N/A N/A N/A 
        This method finds the track at position `index` in the current
        playlist. Will return None if the track is not present.

        It fetches the playlist's parent (the track with `previous_track_pk`
        None) and queries for each susequent item until the requested item is
        found.  This implementation is the slowest, but for now is ok because
        is also the simplest.

        This is a very good candidate for optimization.
         N/A counter 0 N/A track N/A N/A N/A N/A N/A TrackPlaylistRelationship query filter_by playlist self previous_track None first N/A True N/A N/A N/A counter index N/A N/A track N/A N/A N/A counter index N/A N/A None N/A track N/A N/A N/A N/A N/A TrackPlaylistRelationship query filter N/A N/A TrackPlaylistRelationship playlist self N/A N/A TrackPlaylistRelationship previous_track track first N/A counter 1 N/A length N/A N/A self N/A N/A N/A query N/A N/A N/A TrackPlaylistRelationship query filter_by playlist self N/A N/A N/A query count N/A property __repr__ N/A N/A self N/A N/A N/A N/A <Playlist ('%s') N/A self name N/A N/A LyricsCache N/A N/A db Model N/A N/A __tablename__ lyricscache N/A pk N/A N/A db Column N/A dbtypes GUID default N/A uuid uuid4 primary_key True N/A text N/A N/A db Column N/A db Text N/A source N/A N/A db Column N/A N/A db String 256 N/A track_pk N/A N/A db Column N/A dbtypes GUID N/A N/A db ForeignKey tracks.pk nullable False __repr__ N/A N/A self N/A N/A N/A N/A <LyricsCache ('%s')> N/A N/A self track title N/A N/A User N/A N/A db Model N/A N/A __tablename__ users N/A pk N/A N/A db Column N/A dbtypes GUID default N/A uuid uuid4 primary_key True N/A display_name N/A N/A db Column N/A N/A db String 256 N/A email N/A N/A db Column N/A N/A db String 256 unique True nullable False N/A password N/A N/A db Column N/A N/A db String 256 nullable True N/A salt N/A N/A db Column N/A N/A db String 256 nullable True N/A is_public N/A N/A db Column N/A db Boolean nullable False default False N/A is_active N/A N/A db Column N/A db Boolean nullable False default False N/A role N/A N/A db Column N/A N/A db Enum name role N/A N/A Roles as_tuple nullable False default N/A Roles USER N/A creation_date N/A N/A db Column N/A db DateTime nullable False __init__ N/A N/A self N/A args kwargs N/A N/A N/A kwargs N/A creation_date N/A N/A datetime now N/A N/A N/A N/A super User self __init__ args kwargs N/A __setattr__ N/A N/A self N/A args kwargs N/A N/A N/A N/A args N/A 0 password N/A N/A password N/A args N/A 1 N/A salt None N/A N/A password N/A None N/A N/A N/A password salt N/A N/A self hash_password password N/A N/A self salt salt N/A args N/A password password N/A N/A N/A N/A super User self __setattr__ args kwargs N/A hash_password N/A N/A self password salt N/A None N/A N/A salt N/A salt N/A self salt N/A N/A bcrypt gensalt N/A _pass N/A N/A bcrypt hashpw N/A N/A password encode utf-8 N/A N/A salt encode utf-8 N/A N/A _pass salt N/A verify_password N/A N/A self password N/A N/A N/A N/A _password salt N/A N/A self hash_password password N/A N/A _password N/A self password N/A generate_auth_token N/A N/A self expiration N/A None N/A N/A N/A expiration N/A N/A expiration N/A N/A N/A app config get AUTH_EXPIRATION_TIME 3600 N/A N/A N/A isinstance expiration int N/A N/A ValueError N/A s N/A Serializer N/A N/A app config N/A SECRET_KEY expires_in expiration N/A N/A N/A s dumps N/A pk N/A str N/A self pk N/A verify_auth_token N/A N/A token N/A N/A N/A s N/A Serializer N/A N/A app config N/A SECRET_KEY N/A N/A N/A data N/A N/A s loads token N/A N/A N/A N/A SignatureExpired BadSignature N/A N/A None N/A user N/A N/A N/A User query get N/A data N/A pk N/A user N/A staticmethod __repr__ N/A N/A self N/A N/A N/A N/A <User ('%s')> N/A self email N/A N/A