We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 592b44c commit 60440e0Copy full SHA for 60440e0
bunq/sdk/context.py
@@ -256,21 +256,23 @@ def session_context(self):
256
257
def to_json(self):
258
"""
259
- Serializes an ApiInstance to JSON data
+ Serializes an ApiContext to JSON string
260
261
:rtype: str
262
263
+
264
return converter.class_to_json(self)
265
266
@classmethod
267
def from_json(cls, data):
268
- Creates an ApiContext instance from JSON data
269
+ Creates an ApiContext instance from JSON string.
270
271
:type data: str
272
273
:rtype: ApiContext
274
275
276
return converter.json_to_class(ApiContext, data)
277
278
def save(self, path=None):
0 commit comments