"""DynamoDB sync flow generators.""" def model_types(context): """Generate config for each model type. Args: context (dict): The current context. Yields: dict: configuration for each model type in scope. """ configs = context['bootstrap.model_type_configs'] for model_type, config in configs.items(): yield { 'model_type': model_type, 's3_unload_path': config['s3_unload_path']}