Traceback (most recent call last):


 "main.py", line 80, in <module>

main()


 "main.py", line 76, in main

print(get_tags_subs('abcd-efgh-igk-lmnopqr'))


 "main.py", line 71, in get_tags_subs

tags = resource_mgmt_client.tags.get_at_scope(sub_scope)


 "/Users/sanjayq/azure/Azure-China/env/lib/python3.7/site-packages/azure/mgmt/resource/resources/v2020_06_01/operations/_tags_operations.py", line 541, in get_at_scope

pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs)


 "/Users/sanjay/azure/Azure-China/env/lib/python3.7/site-packages/azure/core/pipeline/_base.py", line 211, in run

return first_node.send(pipeline_request)
# type: ignore


 "/Users/sanjay/azure/Azure-China/env/lib/python3.7/site-packages/azure/core/pipeline/_base.py", line 71, in send

response = self.next.send(request)


 "/Users/sanjay/azure/Azure-China/env/lib/python3.7/site-packages/azure/mgmt/core/policies/_base.py", line 47, in send

response = self.next.send(request)


 "/Users/sanjay/azure/Azure-China/env/lib/python3.7/site-packages/azure/core/pipeline/_base.py", line 71, in send

response = self.next.send(request)


 "/Users/sanjay/azure/Azure-China/env/lib/python3.7/site-packages/azure/core/pipeline/_base.py", line 71, in send

response = self.next.send(request)


 "/Users/sanjay/azure/Azure-China/env/lib/python3.7/site-packages/azure/core/pipeline/_base.py", line 71, in send

response = self.next.send(request)

[Previous line repeated 1 more time]


 "/Users/sanjay/azure/Azure-China/env/lib/python3.7/site-packages/azure/core/pipeline/policies/_redirect.py", line 158, in send

response = self.next.send(request)


 "/Users/sanjay/azure/Azure-China/env/lib/python3.7/site-packages/azure/core/pipeline/policies/_retry.py", line 435, in send

response = self.next.send(request)


 "/Users/sanjay/azure/Azure-China/env/lib/python3.7/site-packages/azure/core/pipeline/_base.py", line 69, in send

_await_result(self._policy.on_request, request)


 "/Users/sanjay/azure/Azure-China/env/lib/python3.7/site-packages/azure/core/pipeline/_tools.py", line 29, in await_result

result = func(*args, **kwargs)


 "/Users/sanjay/azure/Azure-China/env/lib/python3.7/site-packages/azure/core/pipeline/policies/_authentication.py", line 93, in on_request

self._token = self._credential.get_token(*self._scopes)
AttributeError: 'ServicePrincipalCredentials' object has no attribute 'get_token'

Traceback (most recent call last):


 "/Users/rmay/miniconda3/envs/py38/bin/sphinx-autogen", line 10, in <module>

sys.exit(main())


 "/Users/rmay/miniconda3/envs/py38/lib/python3.8/site-packages/sphinx/ext/autosummary/generate.py", line 465, in main

generate_autosummary_docs(args.source_file, args.output_dir,


 "/Users/rmay/miniconda3/envs/py38/lib/python3.8/site-packages/sphinx/ext/autosummary/generate.py", line 280, in generate_autosummary_docs

rendered = generate_autosummary_content(name, obj, parent,


 "/Users/rmay/miniconda3/envs/py38/lib/python3.8/site-packages/sphinx/ext/autosummary/generate.py", line 182, in generate_autosummary_content

get_members(obj, {'function'}, imported=imported_members)


 "/Users/rmay/miniconda3/envs/py38/lib/python3.8/site-packages/sphinx/ext/autosummary/generate.py", line 163, in get_members

skipped = skip_member(value, name, documenter.objtype)


 "/Users/rmay/miniconda3/envs/py38/lib/python3.8/site-packages/sphinx/ext/autosummary/generate.py", line 145, in skip_member

logger.warning(__('autosummary: failed to determine %r to be documented.'


 "/Users/rmay/miniconda3/envs/py38/lib/python3.8/logging/__init__.py", line 1797, in warning

self.log(WARNING, msg, *args, **kwargs)


 "/Users/rmay/miniconda3/envs/py38/lib/python3.8/site-packages/sphinx/util/logging.py", line 124, in log

super().log(level, msg, *args, **kwargs)


 "/Users/rmay/miniconda3/envs/py38/lib/python3.8/logging/__init__.py", line 1829, in log

self.logger.log(level, msg, *args, **kwargs)


 "/Users/rmay/miniconda3/envs/py38/lib/python3.8/logging/__init__.py", line 1500, in log

self._log(level, msg, args, **kwargs)


 "/Users/rmay/miniconda3/envs/py38/lib/python3.8/logging/__init__.py", line 1577, in _log

self.handle(record)


 "/Users/rmay/miniconda3/envs/py38/lib/python3.8/logging/__init__.py", line 1587, in handle

self.callHandlers(record)


 "/Users/rmay/miniconda3/envs/py38/lib/python3.8/logging/__init__.py", line 1649, in callHandlers

hdlr.handle(record)


 "/Users/rmay/miniconda3/envs/py38/lib/python3.8/logging/__init__.py", line 946, in handle

rv = self.filter(record)


 "/Users/rmay/miniconda3/envs/py38/lib/python3.8/logging/__init__.py", line 807, in filter

result = f.filter(record)


 "/Users/rmay/miniconda3/envs/py38/lib/python3.8/site-packages/sphinx/util/logging.py", line 381, in filter

self.app._warncount += 1
AttributeError: 'DummyApplication' object has no attribute '_warncount'
