Skip to content
Discussion options

You must be logged in to vote

@martinburchell

Thanks for reporting this.

I think it didn't work quite well right away for all providers. WIP in Correct-guess-type branch.

I think it works well now.

Filename: faker_file_guess_mime_maintype_subtype.py

from pathlib import Path

from faker import Faker
from faker_file.providers.bin_file import BinFileProvider
from faker_file.providers.bmp_file import BmpFileProvider
from faker_file.providers.csv_file import CsvFileProvider
from faker_file.providers.docx_file import DocxFileProvider
from faker_file.providers.eml_file import EmlFileProvider
from faker_file.providers.epub_file import EpubFileProvider
from faker_file.providers.gif_file import GifFileProvider
from faker_file.p…

Replies: 1 comment 6 replies

Comment options

You must be logged in to vote
6 replies
@barseghyanartur
Comment options

@martinburchell
Comment options

@barseghyanartur
Comment options

@barseghyanartur
Comment options

@barseghyanartur
Comment options

Answer selected by martinburchell
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants