Create a root access path. Returns ------- AccessPath A path representing the root of an object graph.
()
| 112 | |
| 113 | @staticmethod |
| 114 | def root() -> AccessPath: |
| 115 | """Create a root access path. |
| 116 | |
| 117 | Returns |
| 118 | ------- |
| 119 | AccessPath |
| 120 | A path representing the root of an object graph. |
| 121 | |
| 122 | """ |
| 123 | return AccessPath._root() |
| 124 | |
| 125 | def __eq__(self, other: Any) -> bool: |
| 126 | """Return whether two access paths are equal.""" |