Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/apify/crawlee-python
/ create_session
Function
create_session
tests/unit/crawlers/_basic/test_basic_crawler.py:1564–1567 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
1562
counter = -1
1563
1564
def
create_session() -> Session:
1565
nonlocal counter
1566
counter += 1
1567
return
Session(id=str(counter))
1568
1569
return
create_session
1570
Callers
nothing calls this directly
Calls
1
Session
Class · 0.90
Tested by
no test coverage detected