Closed palazzem closed 4 years ago
If a new ElmoClient must be created, the only way to set the underlying access token is to initialize the client and access an internal attribute:
ElmoClient
from elmo.api.client import ElmoClient c = ElmoClient() c._session_id = "test"
Would be better if a kwarg is available:
from elmo.api.client import ElmoClient c = ElmoClient(session_id="test)
Overview
If a new
ElmoClient
must be created, the only way to set the underlying access token is to initialize the client and access an internal attribute:Would be better if a kwarg is available: