fix: Avoid `use_state` race conditions. Remove key argument to `use_state` by Pijukatel · Pull Request #868 · apify/crawlee-python
Remove key argument from use_state and hardcode it instead. Add unit tests for race conditions. Add lock when accessing the cache or kvs to prevent race conditions.
added
bug
labels
Jan 6, 2025
Pijukatel
changed the title
Align Python implementation of use_state wirth JS
fix!: Align Python implementation of use_state wirth JS
Pijukatel
changed the title
fix!: Align Python implementation of use_state wirth JS
fix: Align Python implementation of use_state wirth JS
Pijukatel
changed the title
fix: Align Python implementation of use_state wirth JS
fix: Avoid use_state race conditions. Remove key argument to use_state.
vdusek
changed the title
fix: Avoid
fix: Avoid use_state race conditions. Remove key argument to use_state.use_state race conditions. Remove key argument to use_state
Pijukatel
deleted the
align-use-state-with-JS-implementation
branch
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters