Skip to content
This repository was archived by the owner on Sep 8, 2025. It is now read-only.

Commit 7327175

Browse files
author
Andrew Smith
authored
fix: add json decode error import (#205)
1 parent 4dc6a5a commit 7327175

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

storage3/_async/file_api.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
import urllib.parse
44
from dataclasses import dataclass, field
55
from io import BufferedReader, FileIO
6+
from json import JSONDecodeError
67
from pathlib import Path
78
from typing import Any, Literal, Optional, Union, cast
89

storage3/_sync/file_api.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
import urllib.parse
44
from dataclasses import dataclass, field
55
from io import BufferedReader, FileIO
6+
from json import JSONDecodeError
67
from pathlib import Path
78
from typing import Any, Literal, Optional, Union, cast
89

0 commit comments

Comments
 (0)