You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, Python SDK users need to monkeypatch WorkOS SDK by setting a client_id and api_key at the module level. This is an anti-pattern because the object's definition doesn't describe how it actually behaves. A better practice would be the ability to pass in api_key and client_id when instantiating a client. An example:
Currently, Python SDK users need to monkeypatch WorkOS SDK by setting a client_id and api_key at the module level. This is an anti-pattern because the object's definition doesn't describe how it actually behaves. A better practice would be the ability to pass in api_key and client_id when instantiating a client. An example:
or
Although we can set the class variables today, workos needs them set at the module level:
The text was updated successfully, but these errors were encountered: