Fabio Manganiello
02f6845e72
- Added note to the Darksky plugin about the decomissioning of the API by the end of the year
14 lines
253 B
Python
14 lines
253 B
Python
from abc import ABC
|
|
|
|
from platypush.plugins import Plugin, action
|
|
|
|
|
|
class WeatherPlugin(Plugin, ABC):
|
|
"""
|
|
Base class for weather plugins.
|
|
"""
|
|
|
|
@action
|
|
def get_current_weather(self, *args, **kwargs):
|
|
raise NotImplementedError
|