Skip to content

Commit 5717d78

Browse files
committed
another type hint wevs
1 parent 0635011 commit 5717d78

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎src/djangoproject/alloc/models.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ def update_from_domain(self, batch: domain_model.Batch):
1919
b.eta = batch.eta
2020
b.save()
2121

22-
def to_domain(self):
22+
def to_domain(self) -> domain_model.Batch:
2323
b = domain_model.Batch(
2424
ref=self.reference, sku=self.sku, qty=self.qty, eta=self.eta
2525
)

0 commit comments

Comments
 (0)