Skip to content

Commit

Permalink
Use typing.Optional[str] for better type checking
Browse files Browse the repository at this point in the history
Co-authored-by: Yuxiang Zhu <[email protected]>
  • Loading branch information
locriandev and vfreex authored Jan 17, 2025
1 parent 0791e26 commit 9e76b2a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion artcommon/artcommonlib/konflux/konflux_db.py
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@ async def get_latest_build(
name: str,
group: str,
outcome: KonfluxBuildOutcome = KonfluxBuildOutcome.SUCCESS,
assembly: str = None,
assembly: typing.Optional[str] = None,
el_target: typing.Optional[str] = None,
artifact_type: typing.Optional[ArtifactType] = None,
engine: typing.Optional[Engine] = None,
Expand Down

0 comments on commit 9e76b2a

Please sign in to comment.