Spaces:
Sleeping
Sleeping
File size: 731 Bytes
e2df10e | 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 | """Data models and classes for the FORTIFIED Marketing Copilot."""
from __future__ import annotations
from typing import List
class StateInfo:
"""Represents a state's information including playbooks and source documents."""
def __init__(
self,
slug: str,
label: str,
source: str,
title: str,
plays: List[str],
) -> None:
self.slug = slug
self.label = label
self.source = source
self.title = title
self.plays = plays
def __repr__(self) -> str:
return (
f"StateInfo(slug={self.slug!r}, label={self.label!r}, "
f"source={self.source!r}, title={self.title!r}, plays={self.plays!r})"
)
|