Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/apify/crawlee-python
/ get_state
Method
get_state
src/crawlee/sessions/_session.py:167–167 ·
view source on GitHub ↗
(self, *, as_dict: Literal[True])
Source
from the content-addressed store, hash-verified
165
166
@overload
167
def
get_state(self, *, as_dict: Literal[True]) -> dict: ...
168
169
@overload
170
def
get_state(self, *, as_dict: Literal[False]) -> SessionModel: ...
Callers
5
__repr__
Method · 0.95
__eq__
Method · 0.95
__hash__
Method · 0.95
SessionPoolModel
Class · 0.45
test_session_get_state
Function · 0.45
Calls
2
SessionModel
Class · 0.85
get_cookies_as_dicts
Method · 0.80
Tested by
1
test_session_get_state
Function · 0.36