Skip to content

Commit 5db67bf

Browse files
authored
Merge pull request #32 from jpodivin/none_project
Allow project_url to be None
2 parents 969ce6e + 8d4457a commit 5db67bf

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

src/logdetective_packit/models.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,9 @@ class BuildInfo(BaseModel):
1515
description="Unique identifier of the build so the result can be reported"
1616
)
1717
build_system: str = Field(description="System where the build was launched")
18-
project_url: str = Field(description="URL of the project being analyzed")
18+
project_url: Optional[str] = Field(
19+
description="URL of the project being analyzed", default=None
20+
)
1921
commit_sha: Optional[str] = Field(
2022
description="SHA of the commit used as basis of the build", default=None
2123
)

0 commit comments

Comments
 (0)