We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 90bbfb3 commit 9379de8Copy full SHA for 9379de8
1 file changed
src/azure-cli-core/azure/cli/core/auth/json_cache.py
@@ -13,14 +13,14 @@
13
14
15
class NormalizedResponseJsonEncoder(json.JSONEncoder):
16
- def default(self, obj):
17
- if isinstance(obj, NormalizedResponse):
+ def default(self, o):
+ if isinstance(o, NormalizedResponse):
18
return {
19
- "status_code": obj.status_code,
20
- "text": obj.text,
21
- "headers": obj.headers,
+ "status_code": o.status_code,
+ "text": o.text,
+ "headers": o.headers,
22
}
23
- return super().default(obj)
+ return super().default(o)
24
25
26
class JsonCache(MutableMapping):
0 commit comments