Skip to content

Commit

Permalink
Lint
Browse files Browse the repository at this point in the history
  • Loading branch information
danielkjellid committed Jun 20, 2024
1 parent ce57f79 commit 8998ef0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion nest/products/oda/endpoints.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ class ProductOdaImportOut(Schema):
@staff_required
def product_oda_import_api(
request: HttpRequest, payload: ProductOdaImportForm
) -> APIResponse[OdaProductDetailRecord]:
) -> APIResponse[ProductOdaImportOut]:
"""
Import product data from id. Note: This does not create a product, it only retrieves
data.
Expand Down
2 changes: 1 addition & 1 deletion nest/products/oda/selectors.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@


def retrieve_product_from_oda(
*, oda_product_id: int
*, oda_product_id: int | str
) -> tuple[OdaProductDetailRecord, HasBeenImportedPreviously]:
"""
Retrieve product from Oda and check if it has been imported previously.
Expand Down

0 comments on commit 8998ef0

Please sign in to comment.