<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def new_version(self, created_at: dt.datetime, expires_at: dt.datetime=None) -> models.Version: """Create a new bundle version."""

        new_version = self.Version(created_at=created_at, expires_at=expires_at)
        return new_version