Skip to content

Commit

Permalink
Fix repository model (#567)
Browse files Browse the repository at this point in the history
<!--
⚠️ If you do not respect this template, your pull request will be
closed.
⚠️ Your pull request title should be short detailed and understandable
for all.
⚠️ Also, please add a release note file using reno if the change needs
to be
  documented in the release notes.
⚠️ If your pull request fixes an open issue, please link to the issue.

- [ ] I have added the tests to cover my changes.
- [ ] I have updated the documentation accordingly.
- [ ] I have read the CONTRIBUTING document.
-->

### Summary

I broke the recompile script in #565, this PR should fix it.
  • Loading branch information
frankharkins authored Nov 2, 2023
1 parent f740a32 commit 20f2410
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ecosystem/models/repository.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ class Repository(JsonSerializable):
skip_tests: bool | None = False
historical_test_results: list[TestResult] = new_list()
stars: int | None = None
group: str | None = None

def __post_init__(self):
self.__dict__.setdefault("created_at", datetime.now().timestamp())
Expand Down

0 comments on commit 20f2410

Please sign in to comment.