Skip to content

Commit

Permalink
fix: ossd failing pipeline (#2340)
Browse files Browse the repository at this point in the history
  • Loading branch information
Jabolol authored Oct 11, 2024
1 parent 5724e17 commit ec04cab
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions warehouse/oso_dagster/dlt_sources/github_repos/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,8 @@ class Repository(BaseModel):
license_spdx_id: str
license_name: str
language: str
created_at: Optional[datetime]
updated_at: Optional[datetime]
created_at: datetime
updated_at: datetime


class InvalidGithubURL(Exception):
Expand Down Expand Up @@ -131,8 +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 None,
updated_at=repo.updated_at or None,
created_at=repo.created_at or datetime.fromtimestamp(0),
updated_at=repo.updated_at or datetime.fromtimestamp(0),
)


Expand Down

0 comments on commit ec04cab

Please sign in to comment.