Skip to content

Random choices, date generator handling and passing args/kwargs to generators - #5

Open
marquicus wants to merge 2 commits into
ueg1990:masterfrom
marquicus:master
Open

Random choices, date generator handling and passing args/kwargs to generators#5
marquicus wants to merge 2 commits into
ueg1990:masterfrom
marquicus:master

Conversation

@marquicus

Copy link
Copy Markdown

Example:

schema = {
    'sexo': '(M|F)',  # produces M or F
    'edad': 'random_int(18,80)',  # passing args, see readme
    'ocupacion': 'job',
...
    'fecha_nacimiento': 'date_of_birth',  # date as isoformat
...
}

@denisesenguel

denisesenguel commented May 28, 2020

Copy link
Copy Markdown

how's this one coming along? it's so useful!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants