shijl0925 / python-sonarqube-api

Python Client library for interacting with Community, Developer, and Enterprise Editions SonarQube's REST APIs and SonarCloud's REST APIs.
https://python-sonarqube-pro-api.readthedocs.io/en/latest/
GNU Affero General Public License v3.0
133 stars 77 forks source link

AttributeError: 'module' object has no attribute 'getfullargspec' #29

Closed suresh4test closed 3 years ago

suresh4test commented 3 years ago

I am using python 2.7 virutlenv and getting below error messages.I cloned repo and done setup. I am getting same kind of error with any api call.

result = sonar.auth.check_credentials() Traceback (most recent call last): File "", line 1, in File "sonarqube/utils/common.py", line 116, in inner_func func_params = translate_params(f, *args, **kwargs) File "sonarqube/utils/common.py", line 59, in translate_params all_params = dict(get_default_kwargs(f)) File "sonarqube/utils/common.py", line 43, in get_default_kwargs argspec = inspect.getfullargspec(func) AttributeError: 'module' object has no attribute 'getfullargspec'

shijl0925 commented 3 years ago

I have fixed it, please update your package.