def load_from_file(self, user_file):

        with open(user_file, 'r+t', encoding='utf8') as f:
            for l in f.readlines():
                user, password, roles = l.strip().split(':', 2)
                roles = roles.split(',')
                self.add_user(user, password)
                self.add_roles(user, roles)
Create a Port record in the DB.
dataset/ETHPy150Open ownaginatious/flask-basic-roles/flask_basic_roles/__init__.py/BasicRoleAuth.load_from_file--crossover with--dataset/ETHPy150Open openstack/ironic/ironic/objects/port.py/Port.create