def _get_year_period(self):
        start = datetime.datetime(self.now.year, 1, 1)
        end = datetime.datetime(self.now.year + 1, 1, 1, 23, 59, 59, 999999) - datetime.timedelta(1)

        return start.strftime(self.template), end.strftime(self.template)
Approve a pull request as the current user. Implicitly adds the user as a participant if they are not already.
dataset/ETHPy150Open maxtepkeev/architect/architect/databases/utilities.py/DateTime._get_year_period--crossover with--dataset/ETHPy150Open RisingOak/stashy/stashy/pullrequests.py/PullRequest.approve