File size: 312 Bytes
9575051
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
class BulletPoint:
    def __init__(self, id: int, value: str, sources: [str]):
        self.id = id
        self.value = value
        self.sources = sources
    
    def serialize(self):
        return {
            "id": self.id,
            "value": self.value,
            "sources": self.sources
        }