Esempio n. 1
0
 def __init__(self, geocoder):
     self.local_time = LocalTime(geocoder)
     self.sun = Sun(geocoder)
     self.artwork = Artwork()
     self.city = City(geocoder)
     self.commute = Commute(geocoder)
     self.calendar = GoogleCalendar(geocoder)
     self.everyone = Everyone(geocoder)
Esempio n. 2
0
    def __init__(self, geocoder):
        """Sun class constructor.

        Args:
            gecoder (gecoder.Geocoder): Used to localize user specified locations
        """
        self._astral = Astral(geocoder=GeocoderWrapper, wrapped=geocoder)
        self._local_time = LocalTime(geocoder)
Esempio n. 3
0
    def __init__(self, geocoder):
        """Schedule constructor.

        Args:
            geocoder (geocoder.Geocoder): Used to localize user specified locations
        """
        self._local_time = LocalTime(geocoder)
        self._sun = Sun(geocoder)
        self._artwork = Artwork()
        self._city = City(geocoder)
        self._commute = Commute(geocoder)
        self._calendar = GoogleCalendar(geocoder)
        self._everyone = Everyone(geocoder)
Esempio n. 4
0
 def __init__(self, geocoder):
     self._local_time = LocalTime(geocoder)
Esempio n. 5
0
 def __init__(self, geocoder):
     self._local_time = LocalTime(geocoder)
     self._sun = Sun(geocoder)
     self._weather = Weather(geocoder)
Esempio n. 6
0
 def __init__(self, geocoder):
     self.local_time = LocalTime(geocoder)
     self.google_maps = GoogleMaps(geocoder)
Esempio n. 7
0
 def __init__(self, geocoder):
     self.astral = Astral(geocoder=GeocoderWrapper, wrapped=geocoder)
     self.local_time = LocalTime(geocoder)
Esempio n. 8
0
 def __init__(self, geocoder):
     self.google_maps_api_key = Firestore().google_maps_api_key()
     self.local_time = LocalTime(geocoder)
     self.vision_client = vision.ImageAnnotatorClient()