Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/pallets/jinja
/ to_list
Method
to_list
src/jinja2/environment.py:1337–1338 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
1335
import
asyncio
1336
1337
async
def
to_list() -> t.List[str]:
1338
return
[x async
for
x in self.generate_async(*args, **kwargs)]
1339
1340
yield
from
asyncio.run(to_list())
1341
return
Callers
nothing calls this directly
Calls
1
generate_async
Method · 0.95
Tested by
no test coverage detected