question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Support `choice` provider

See original GitHub issue

I want to be able to select any value from a given sequence.

Like:

mimesis('multiple_choice', items=['a', 'b', 'c'], number=2)
# => ['b', 'a']

mimesis('multiple_choice', items=['a', 'b', 'c'])
# => ['b']

mimesis('choice', items=['a', 'b', 'c'])
# => 'a'

It seems to be imposible right now.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:1
  • Comments:20 (15 by maintainers)

github_iconTop GitHub Comments

1reaction
lk-geimfaricommented, Oct 16, 2018

@sadielbartholomew Deal! We’ll happy to merge your PR. Thank you and happy hacking!

1reaction
sadielbartholomewcommented, Oct 16, 2018

I’ve started to implement this (it’s currently not correct/finished so please do not review it yet) in a branch here. I’ll complete it, including editing the tests & documentation accordingly, in the next few days & put up a PR.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Choice Providers
Choice Providers has a vision to bring top quality internet service to those that have not had a choice before. Let us help...
Read more >
National Abortion Federation: Home
The National Abortion Federation (NAF) is the professional association of abortion providers. We unite, represent, serve, and support abortion providers in ...
Read more >
Providers of Community Health Choice: Provider Home
Provider Services ; Hours: Monday – Friday, 8:00 a.m. – 5:00 p.m. ; Local: 713.295.2295 ; Toll-free: 1.888.760.2600 ; Email: ProviderWebInquiries@ ...
Read more >
Contact Info for Providers in the My Choice Wisconsin Network
Additional Contact Support · Phone: 1-800-963-0035 · Fax: (608) 245-3096 · Address: My Choice Wisconsin Pharmacy Services Department 1617 Sherman Avenue Madison, ...
Read more >
Humana for Healthcare Providers
Our members' health is in your hands. That's why Humana is committed to supporting your practice with training resources, policy updates, ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found