diff --git a/warehouse/oso_dagster/dlt_sources/github_repos/__init__.py b/warehouse/oso_dagster/dlt_sources/github_repos/__init__.py index d442db439..0f10c2f22 100644 --- a/warehouse/oso_dagster/dlt_sources/github_repos/__init__.py +++ b/warehouse/oso_dagster/dlt_sources/github_repos/__init__.py @@ -60,6 +60,8 @@ class Repository(BaseModel): license_spdx_id: str license_name: str language: str + created_at: datetime + updated_at: datetime class InvalidGithubURL(Exception): @@ -129,6 +131,8 @@ def gh_repository_to_repository( url=repo.html_url, is_fork=repo.fork, language=repo.language or "", + created_at=repo.created_at or datetime.fromtimestamp(0), + updated_at=repo.updated_at or datetime.fromtimestamp(0), )