Skip to content

Commit 7539aca

Browse files
authored
Fix PictureField type hints (#212)
1 parent 371e169 commit 7539aca

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

pictures/models.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -244,10 +244,10 @@ def __init__(
244244
self,
245245
verbose_name=None,
246246
name=None,
247-
aspect_ratios: [str | Fraction | None] = None,
247+
aspect_ratios: list[str | Fraction | None] = None,
248248
container_width: int = None,
249-
file_types: [str] = None,
250-
pixel_densities: [int] = None,
249+
file_types: list[str] = None,
250+
pixel_densities: list[int] = None,
251251
grid_columns: int = None,
252252
breakpoints: {str: int} = None,
253253
**kwargs,

0 commit comments

Comments
 (0)