Skip to content

Commit 3b9f294

Browse files
committed
Use second-level headings
1 parent 9967880 commit 3b9f294

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

docs/04-upgrading/upgrading_to_v20.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,27 +5,27 @@ title: Upgrading to v2.0
55

66
This page summarizes most of the breaking changes between Apify Python SDK v1.x and v2.0.
77

8-
# Storages
8+
## Storages
99

1010
The SDK now uses [crawlee](https://github.com/apify/crawlee-python) for local storage emulation. This change should not affect intended usage (working with `Dataset`, `KeyValueStore` and `RequestQueue` classes from the `apify.storages` module or using the shortcuts exposed by the `Actor` class) in any way.
1111

1212
Removing the `StorageClientManager` class is a significant change. If you need to change the storage client, use `crawlee.service_container` instead.
1313

14-
# Configuration
14+
## Configuration
1515

1616
The `apify.Configuration` class now uses `pydantic_settings` to load configuration from environment variables. This eliminates the need for the helper functions which handled environment variables in `apify._utils`.
1717

1818
Attributes suffixed with `_millis` were renamed to remove said suffix and have the `datetime.timedelta` type now.
1919

20-
# Actor
20+
## Actor
2121

2222
The `Actor.main` method has been removed as it brings no benefits compared to using `async with Actor`.
2323

24-
# Scrapy integration
24+
## Scrapy integration
2525

2626
The `apify.scrapy.utils.open_queue_with_custom_client` function is not necessary anymore and has been removed.
2727

28-
# Subpackage visibility
28+
## Subpackage visibility
2929

3030
The following modules were made private:
3131

0 commit comments

Comments
 (0)