def get_user_history (history_id=None):
history_id = history_id or os.environ['<STR_LIT>']<EOL>gi = get_galaxy_connection(history_id=history_id, obj=False)<EOL>hc = HistoryClient(gi)<EOL>history = hc.show_history(history_id, visible=True, contents=True)<EOL>return history<EOL>
Get all visible dataset infos of user history.
Return a list of dict of each dataset.