-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbase.py
More file actions
32 lines (22 loc) · 596 Bytes
/
base.py
File metadata and controls
32 lines (22 loc) · 596 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
"""
python_starter base module.
This is the principal module of the python_starter project.
here you put your main classes and objects.
Be creative! do whatever you want!
If you want to replace this with a Flask application run:
$ make init
and then choose `flask` as template.
"""
class BaseClass:
def base_method(self) -> str:
"""
Base method.
"""
return "hello from BaseClass"
def __call__(self) -> str:
return self.base_method()
def base_function() -> str:
"""
Base function.
"""
return "hello from base function"