Skip to content

Commit

Permalink
Add JSON file provider
Browse files Browse the repository at this point in the history
  • Loading branch information
barseghyanartur committed Sep 30, 2023
1 parent b8d169e commit efefe06
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions app/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@
GraphicJpegFileProvider,
JpegFileProvider,
)
from faker_file.providers.json_file import JsonFileProvider
from faker_file.providers.mixins.image_mixin import (
IMAGEKIT_IMAGE_GENERATOR,
PIL_IMAGE_GENERATOR,
Expand Down Expand Up @@ -318,6 +319,10 @@ class Category(str, Enum):
JpegFileProvider,
Category.IMAGE.value,
),
JsonFileProvider.json_file.__name__: (
JsonFileProvider,
Category.DATA.value,
),
Mp3FileProvider.mp3_file.__name__: (
Mp3FileProvider,
Category.AUDIO.value,
Expand Down

0 comments on commit efefe06

Please sign in to comment.