MCPcopy Create free account
hub / github.com/alphagov/notifications-api / serialize

Method serialize

app/models.py:2439–2449  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

2437 notification_type = db.Column(db.Text, primary_key=True, nullable=False)
2438 key_type = db.Column(db.Text, primary_key=True, nullable=False)
2439 notification_status = db.Column(db.Text, primary_key=True, nullable=False)
2440 notification_count = db.Column(db.Integer(), nullable=False)
2441 created_at = db.Column(db.DateTime, nullable=False, default=datetime.datetime.utcnow)
2442 updated_at = db.Column(db.DateTime, nullable=True, onupdate=datetime.datetime.utcnow)
2443
2444 __table_args__ = (
2445 Index(
2446 "ix_ft_notification_status_template_id_bst_date",
2447 "template_id",
2448 "bst_date",
2449 ),
2450 )
2451
2452 __extended_statistics__ = (

Calls 2

SerializedComplaintClass · 0.90
get_dt_string_or_noneFunction · 0.90