#NEWLINE# @ target_required #NEWLINE# def GetSessionData( self , target_id = None ) : #NEWLINE# #INDENT# '\n        * This will return the data from the `session_tokens` column in the form of a list,\n          having no `null` values\n        * A sample data: [{"attributes": {"Path": "/", "HttpOnly": true}, "name": "ASP.NET_SessionId", "value": "jx0ydsvwqtfgqcufazwigiih"},\n                          {"attributes": {"Path": "/"}, "name": "amSessionId", "value": "618174515"}]\n        ' #NEWLINE# session_data = self . db . session . query ( models . Transaction . session_tokens ) . filter_by ( target_id = target_id ) . all ( ) #NEWLINE# results = [ json . loads ( el [ 0 ] ) for el in session_data if ( el and el [ 0 ] ) ] #NEWLINE# return results