File tree Expand file tree Collapse file tree 2 files changed +0
-24
lines changed
time_tracker_api/time_entries Expand file tree Collapse file tree 2 files changed +0
-24
lines changed Original file line number Diff line number Diff line change 11import abc
2- from azure .cosmos import PartitionKey
32from flask_restplus import abort
43from flask_restplus ._http import HTTPStatus
54
Original file line number Diff line number Diff line change 1- import abc
21from typing import List , Callable
32from azure .cosmos import PartitionKey
43from flask_restplus import abort
1615 add_project_info_to_time_entries ,
1716 add_activity_name_to_time_entries ,
1817 create_in_condition ,
19- create_custom_query_from_str ,
2018 add_user_email_to_time_entries ,
2119)
2220from utils .time import (
2321 current_datetime_str ,
2422)
2523from utils .azure_users import AzureConnection
26-
2724from time_tracker_api .projects import projects_model
28- from time_tracker_api .database import CRUDDao
29- from time_tracker_api .security import current_user_id
30-
31-
32- class TimeEntriesDao (CRUDDao ):
33- @staticmethod
34- def current_user_id ():
35- return current_user_id ()
36-
37- @abc .abstractmethod
38- def find_running (self ):
39- pass
40-
41- @abc .abstractmethod
42- def stop (self , id : str ):
43- pass
44-
45- @abc .abstractmethod
46- def restart (self , id : str ):
47- pass
4825
4926
5027container_definition = {
You can’t perform that action at this time.
0 commit comments