Esempio n. 1
0
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()},
    )
Esempio n. 2
0
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()
        })
Esempio n. 3
0
def genomes():
    """
    General query that returns all genomes and their metadata.
    """
    return Response.default(sparql.get_all_genome_metadata())
Esempio n. 4
0
def genomes():
    """
    General query that returns all genomes and their metadata.
    """
    return Response.default(sparql.get_all_genome_metadata())