Ejemplo n.º 1
0
 def generate_years_json(file_path):
     years = list(SampleTable.with_name(sample_table_name).get_available_years())
     years.sort()
     file = open(file_path, "w")
     file.write(str(years))
     file.close()