Package park :: Module services

Source Code for Module park.services

 1  # This program is public domain 
 2  """ 
 3  Predefined PARK services. 
 4   
 5  This file provides a fixed namespace for defining builtin services so that 
 6  requests can always refer to park.services.name for the name of the service 
 7  even as we rearrange the structure of the park application. 
 8  """ 
 9   
10  #TODO: do we need to request version here so that we can choose 
11  #TODO: the appropriate service based on version number? 
12 -def fetch():
13 """ 14 Service factory for the `park.core.datastore.FetchService`. 15 """ 16 from park.core.datastore import FetchService 17 return FetchService()
18