Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Pictures faker #254

Merged
merged 5 commits into from
Nov 17, 2024
Merged

Add Pictures faker #254

merged 5 commits into from
Nov 17, 2024

Conversation

serpro69
Copy link
Owner

@serpro69 serpro69 commented Nov 16, 2024

Very simple implementation for #251 . Obviously does not support multiplatform as-is, but should be simple enough to implement each target once faker itself supports multiplatform.
Still not sure if it's better to fetch data from a remote location, or have all the pictures as part of an artifact. Both have their pros and cons of course... Also, how to test this in a good way?

@serpro69 serpro69 added enhancement 🚀 New feature or request faker 💯 Issue related to :faker modules labels Nov 16, 2024
@serpro69 serpro69 added this to the 2.0.0 milestone Nov 16, 2024
@serpro69 serpro69 linked an issue Nov 16, 2024 that may be closed by this pull request
@serpro69 serpro69 changed the title Add data provider for Pictures Add Pictures faker Nov 16, 2024
@serpro69 serpro69 mentioned this pull request Nov 16, 2024
@serpro69
Copy link
Owner Author

serpro69 commented Nov 16, 2024

Doesn't support gender selection for now because they're unsorted. Not sure how often uifaces website adds new avatars. Sorting pics manually might be OK to do once, but updating the source will be quite painful.

Copy link

@vanniktech vanniktech left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'd bundle them

@serpro69
Copy link
Owner Author

serpro69 commented Nov 17, 2024

I'd bundle them

Yeah, I'm leaning towards that also 👍 As a user, I'd rather not have network calls for such functionality.

@serpro69 serpro69 merged commit 3cd58d7 into master Nov 17, 2024
4 checks passed
@serpro69 serpro69 deleted the uifaces_avatars branch November 17, 2024 13:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement 🚀 New feature or request faker 💯 Issue related to :faker modules
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Random Profile Picture
2 participants