Skip to content

Commit

Permalink
type annotation
Browse files Browse the repository at this point in the history
  • Loading branch information
jokester committed Mar 4, 2024
1 parent 049a433 commit 027b2cc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/models/target.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ def create(
file.create_target_cache(target)
return target

def outputs(self):
def outputs(self) -> list[Output]:
"""所有导出"""
outputs = Output.objects(project=self.project, target=self).order_by(
"-create_time"
Expand Down

0 comments on commit 027b2cc

Please sign in to comment.