Retrieves a Gremlin traversal source with optional result caching.
This function checks if result caching is enabled via the ENABLE_NEPTUNE_CACHE environment variable.
If caching is enabled, it configures the provided Gremlin traversal source to use Neptune's result cache.
Returns
The configured Gremlin traversal source, with or without result caching.
Retrieves a Gremlin traversal source with optional result caching.
This function checks if result caching is enabled via the
ENABLE_NEPTUNE_CACHEenvironment variable. If caching is enabled, it configures the provided Gremlin traversal source to use Neptune's result cache.Returns