def meta(): """ General query that returns all genomes and metadata. """ return Response.bulk_download( sparql.get_all_genome_metadata(), {"date": (datetime.datetime.now() + datetime.timedelta(minutes=30)).isoformat()}, )
def meta(): """ General query that returns all genomes and metadata. """ return Response.bulk_download( sparql.get_all_genome_metadata(), { 'date': (datetime.datetime.now() + datetime.timedelta(minutes=30)).isoformat() })
def genomes(): """ General query that returns all genomes and their metadata. """ return Response.default(sparql.get_all_genome_metadata())