(template: str, doc: dict)
| 422 | |
| 423 | |
| 424 | def apply_template(template: str, doc: dict) -> str: |
| 425 | rtemplate = env.from_string(template) |
| 426 | return rtemplate.render(**doc) |
| 427 | |
| 428 | |
| 429 | def create_iterator(raw_iterator, rank, world_size, limit=None): |
nothing calls this directly
no outgoing calls
no test coverage detected