File tree 2 files changed +4
-4
lines changed
2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ class AsApiRv:
31
31
"""
32
32
33
33
success : bool
34
- msg : Optional [ dict [ Any , Any ] ]
34
+ msg : Dict [ Any , Any ]
35
35
36
36
37
37
# The Account Server API URL environment variable,
@@ -155,7 +155,7 @@ def __request(
155
155
156
156
# Try and decode the response,
157
157
# replacing with empty dictionary on failure.
158
- msg : Optional [ Dict [Any , Any ]] = None
158
+ msg : Dict [Any , Any ] = {}
159
159
if resp :
160
160
try :
161
161
msg = resp .json ()
Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ class DmApiRv:
31
31
"""
32
32
33
33
success : bool
34
- msg : Optional [ dict [ Any , Any ] ]
34
+ msg : Dict [ Any , Any ]
35
35
36
36
37
37
TEST_PRODUCT_ID : str = "product-11111111-1111-1111-1111-111111111111"
@@ -159,7 +159,7 @@ def __request(
159
159
160
160
# Try and decode the response,
161
161
# replacing with empty dictionary on failure.
162
- msg : Optional [ Dict [Any , Any ]] = None
162
+ msg : Dict [Any , Any ] = {}
163
163
if resp :
164
164
try :
165
165
msg = resp .json ()
You can’t perform that action at this time.
0 commit comments