mikrokosmos/mikro.py
def gen(scenario, indent):
    """
    Generate static data from a scenario.

    Generates objects defined in the scenario's list of objects.
    Output is written to stdout.
    """

    scenario_dict = yaml.safe_load(scenario)

    objects = resolve_objects(scenario_dict)
    output = json.dumps(objects, indent=indent)
    click.echo(output)

    Generate static data from a scenario.

    Generates objects defined in the scenario's list of objects.
    Output is written to stdout.
    
Generate static data from a scenario.
Generates objects defined in the scenario's list of objects.
Output is written to stdout.
Generate static data from a scenario . Generates objects defined in the scenario ' s list of objects . Output is written to stdout .
def gen(scenario, indent):
    scenario_dict = yaml.safe_load(scenario)
    objects = resolve_objects(scenario_dict)
    output = json.dumps(objects, indent=indent)
    click.echo(output)
def gen ( scenario , indent ) : scenario_dict = yaml . safe_load ( scenario ) objects = resolve_objects ( scenario_dict ) output = json . dumps ( objects , indent = indent ) click . echo ( output )
Generate static data from a scenario.
Generate static data from a scenario .
"""
    Generate static data from a scenario.

    Generates objects defined in the scenario's list of objects.
    Output is written to stdout.
    """
scenario
indent