コード例 #1
0
 def get_dest_list(self):
     ''' Returns a list of all Destinations from file '''
     dest_list = IO_DestinationsFromFile().get_dest_from_file()
     return dest_list
コード例 #2
0
 def set_destination(self, destinationToCreate):
     '''Sends the destination to create to the datalayer'''
     IO_DestinationsFromFile().addDestinationToFile(destinationToCreate)
コード例 #3
0
 def change_destination(self, destinationToChange):
     '''Sends the new info to update in the datalayer'''
     IO_DestinationsFromFile().changeDestinationToFile(destinationToChange)
コード例 #4
0
 def get_dest_list(self):
     dest_list = IO_DestinationsFromFile().get_dest_from_file()
     return dest_list
コード例 #5
0
ファイル: IO_API.py プロジェクト: veronikasif/NaNair
 def changeDestinationToFile(self, updatedDestination):
     return IO_DestinationsFromFile().changeDestinationToFile(
         updatedDestination)
コード例 #6
0
ファイル: IO_API.py プロジェクト: veronikasif/NaNair
 def addDestinationToFile(self, destination):
     return IO_DestinationsFromFile().addDestinationToFile(destination)
コード例 #7
0
ファイル: IO_API.py プロジェクト: veronikasif/NaNair
 def get_dest_from_file(self):
     return IO_DestinationsFromFile().get_dest_from_file()