Skip to content

Commit 2521d52

Browse files
committed
Update MIGRATION.md
1 parent 351a7a2 commit 2521d52

1 file changed

Lines changed: 0 additions & 15 deletions

File tree

MIGRATION.md

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -734,18 +734,3 @@ response = line_bot_api.reply_message_with_http_info(
734734
print(response.status_code) # HTTP status code
735735
print(response.headers.get('x-line-request-id')) # Request ID
736736
```
737-
738-
---
739-
740-
## Suppressing deprecation warnings
741-
742-
During migration, you may see deprecation warnings when using the old `linebot` modules. To suppress them:
743-
744-
```python
745-
import warnings
746-
from linebot import LineBotSdkDeprecatedIn30
747-
748-
warnings.filterwarnings("ignore", category=LineBotSdkDeprecatedIn30)
749-
```
750-
751-
> **Tip:** Only suppress these warnings temporarily. Once your migration is complete, remove both the warning filter and the deprecated imports.

0 commit comments

Comments
 (0)