Skip to content

Commit 7d9fa3d

Browse files
committed
fix(core): make response Optional
1 parent f4e1400 commit 7d9fa3d

File tree

1 file changed

+1
-1
lines changed
  • scaleway-core/scaleway_core

1 file changed

+1
-1
lines changed

scaleway-core/scaleway_core/api.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ def log_response(
8686

8787
@dataclass
8888
class ScalewayException(Exception):
89-
response: Response
89+
response: Optional[Response]
9090

9191
@property
9292
def status_code(self) -> int:

0 commit comments

Comments
 (0)