<commit_before>import datetime, re;
from sqlalchemy.orm import validates;
from server import DB, FlaskServer;

class Deliveries(DB.Model):
	id = DB.Column(DB.Integer, primary_key=True, autoincrement=True);
	order_id = DB.relationship(DB.Integer, foreign_keys='order.id', lazy='dynamic'); #set lazy=dynamic to only load what is called for.
	child_id = DB.Column(DB.Integer);
	scheduled = DB.Column(DB.DateTime);
	start_time = DB.Column(DB.DateTime);
	start_user_id = DB.relationship(DB.Integer, foreign_keys='user.id');
	stop_time = DB.Column(DB.DateTime);
	stop_user_id = DB.relationship(DB.Integer, foreign_keys='user.id');
	status = DB.Column(DB.Tinyint(4));<commit_msg>Update deliveries.py<commit_after>import datetime, re;
from sqlalchemy.orm import validates;
from server import DB, FlaskServer;

class Deliveries(DB.Model):
	id = DB.Column(DB.Integer, primary_key=True, autoincrement=True);
	order_id = DB.relationship(DB.Integer, foreign_keys='order.id', lazy='dynamic'); #set lazy=dynamic to only load what is called for.
	child_id = DB.Column(DB.Integer);
	scheduled = DB.Column(DB.DateTime);
	start_time = DB.Column(DB.DateTime);
	start_user_id = DB.relationship(DB.Integer, foreign_keys='user.id');
	stop_time = DB.Column(DB.DateTime);
	stop_user_id = DB.relationship(DB.Integer, foreign_keys='user.id');
	status = DB.Column(DB.TINYINT(4));
{'fraction_non_alphanumeric': 0.14137675795706883, 'fraction_numerical': 0.0014803849000740192, 'mean_word_length': 6.469613259668508, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1847325', 'n_tokens_mistral': 468, 'n_tokens_neox': 458, 'n_words': 94}