Get the session of graph. Returns: Return session that the graph belongs to.
(self)
| 405 | |
| 406 | @property |
| 407 | def session(self): |
| 408 | """Get the session of graph. |
| 409 | |
| 410 | Returns: |
| 411 | Return session that the graph belongs to. |
| 412 | """ |
| 413 | if hasattr(self, "_graph") and self._is_client_view: |
| 414 | return ( |
| 415 | self._graph.session |
| 416 | ) # this graph is a client side graph view, use host graph session |
| 417 | return self._session |
| 418 | |
| 419 | @property |
| 420 | def session_id(self): |
no outgoing calls