adding strava
This commit is contained in:
@@ -38,8 +38,8 @@ class SyncIntegration(metaclass=ABCMeta):
|
||||
|
||||
|
||||
@abstractmethod
|
||||
def createworkoutdata(w, *args, **kwargs) -> dict:
|
||||
return {}
|
||||
def createworkoutdata(w, *args, **kwargs):
|
||||
return None
|
||||
|
||||
@abstractmethod
|
||||
def workout_export(workout, *args, **kwargs) -> str:
|
||||
@@ -51,12 +51,12 @@ class SyncIntegration(metaclass=ABCMeta):
|
||||
|
||||
@abstractmethod
|
||||
def get_workout(id) -> int:
|
||||
pass
|
||||
return 0
|
||||
|
||||
# need to unify workout list
|
||||
@abstractmethod
|
||||
def get_workout_list(*args, **kwargs) -> list:
|
||||
pass
|
||||
return []
|
||||
|
||||
@abstractmethod
|
||||
def make_authorization_url(self, *args, **kwargs) -> str: # pragma: no cover
|
||||
|
||||
Reference in New Issue
Block a user