Passed
Pull Request — develop (#28)
by Antony
02:05
created

build.resources.models.User.__init__()   A

Complexity

Conditions 1

Size

Total Lines 2
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
eloc 2
dl 0
loc 2
rs 10
c 0
b 0
f 0
cc 1
nop 6
1
import flask
2
import datetime
3
from run import create_app
4
from config import dbconfig, filename , section
5
from flask_bcrypt import Bcrypt
6
7
app = create_app('production')
8
bcrypt = Bcrypt(app)
9
10
class User(object):
11
12
    def __init__(self, username, password ,created_on, firstname, lastname):
13
        pass
14
15