Part of #1075. Depends on #1094 (Phase 5) and #1095 (Phase 6) both merged.
What
Once no external file imports from gremlins.executor.state:
- Rename
State → _State and StateData → _StateData (underscore = internal).
- Set
__all__ = [] or remove the module's public names.
- Add a module-level comment at the top of
state.py:
# Internal to gremlins.executor — import through Gremlin, not directly.
- Add a CI lint rule (or grep check) to prevent regressions:
grep -r "from gremlins.executor.state" .
Files
gremlins/executor/state.py
- CI/lint config
Part of #1075. Depends on #1094 (Phase 5) and #1095 (Phase 6) both merged.
What
Once no external file imports from
gremlins.executor.state:State→_StateandStateData→_StateData(underscore = internal).__all__ = []or remove the module's public names.state.py:# Internal to gremlins.executor — import through Gremlin, not directly.Files
gremlins/executor/state.py