bunq / sdk_python

Python SDK for bunq API
MIT License
106 stars 25 forks source link

More flexibility for sessionContext handling #31

Closed OGKevin closed 6 years ago

OGKevin commented 6 years ago

Steps to reproduce:

  1. Try and find out if your session context is expired

What should happen:

  1. There is a way to know if your session has expired without resetting/calling ensureSesiosActive()

What happens:

  1. There is no way to achieve such thing

Extra info:

Why

api_context.ensure_session_active()
api_context.save(filename_bunq_config_full)

Which means you will be saving an unchanged context on each call