def __post_init__(self):
    assert (self.contentType in CONTENT_TYPES)
    assert (len(self.version) > 0)
def __post_init__(self):
    assert (self.contentType in CONTENT_TYPES)
    assert (len(self.version) > 0)