File tree Expand file tree Collapse file tree 1 file changed +47
-0
lines changed
Expand file tree Collapse file tree 1 file changed +47
-0
lines changed Original file line number Diff line number Diff line change 1+ #!/usr/bin/env python
2+ #
3+ # A library that provides a Python interface to the Telegram Bot API
4+ # Copyright (C) 2015-2017
5+ # Leandro Toledo de Souza <[email protected] > 6+ #
7+ # This program is free software: you can redistribute it and/or modify
8+ # it under the terms of the GNU Lesser Public License as published by
9+ # the Free Software Foundation, either version 3 of the License, or
10+ # (at your option) any later version.
11+ #
12+ # This program is distributed in the hope that it will be useful,
13+ # but WITHOUT ANY WARRANTY; without even the implied warranty of
14+ # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15+ # GNU Lesser Public License for more details.
16+ #
17+ # You should have received a copy of the GNU Lesser Public License
18+ # along with this program. If not, see [http://www.gnu.org/licenses/].
19+ """This module contains the BasePersistence class."""
20+
21+ class BasePersistence (object ):
22+ def __init__ (self ):
23+ pass
24+
25+ def get_job_queue (self ):
26+ raise NotImplemented
27+
28+ def get_datas (self ):
29+ raise NotImplemented
30+
31+ def get_conversation (self ):
32+ raise NotImplemented
33+
34+ def change_conversation (self ):
35+ raise NotImplemented
36+
37+ def update_job_queue (self ):
38+ raise NotImplemented
39+
40+ def set_user_data (self ):
41+ raise NotImplemented
42+
43+ def set_chat_data (self ):
44+ raise NotImplemented
45+
46+ def flush (self ):
47+ raise NotImplemented
You can’t perform that action at this time.
0 commit comments