Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

README example does not work. #91

Open
ioSpark opened this issue Aug 10, 2023 · 2 comments
Open

README example does not work. #91

ioSpark opened this issue Aug 10, 2023 · 2 comments

Comments

@ioSpark
Copy link

ioSpark commented Aug 10, 2023

e.g. OAuth2Api and UsersV2Api are not attributes of onelogin.

> pip install onelogin
Successfully installed ... onelogin-3.1.6 ...

> python
>>> import onelogin
>>> onelogin.OAuth2Api
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
AttributeError: module 'onelogin' has no attribute 'OAuth2Api'
>>>

This seems to be the only human-generated documentation available here, so it's really unclear how to use this library. Also I might be missing something, but is there no mention about how to migrate from the 2.x version of the library? Or what has changed? (looks like it's an entirely new library)

@Subterrane
Copy link
Contributor

This is an entirely new library. Focus has been on the Go library and we will be looping back around to the Python library at a later time.

@ioSpark
Copy link
Author

ioSpark commented Aug 23, 2023

okay, that sucks, but good to know. I'll stick with the more developed/mature 2.x version

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants