line / centraldogma-python

Python client library for Central Dogma
https://line.github.io/centraldogma-python/
Apache License 2.0
19 stars 9 forks source link

Fix dict typing #20

Closed hexoul closed 2 years ago

hexoul commented 2 years ago

Motivation

...

ERROR tests/test_base_client.py - TypeError: 'type' object is not subscriptable ERROR tests/test_dogma.py - TypeError: 'type' object is not subscriptable ERROR tests/test_exceptions.py - TypeError: 'type' object is not subscriptable ERROR tests/integration/test_content_service.py - TypeError: 'type' object is not subscriptable ERROR tests/integration/test_project_service.py - TypeError: 'type' object is not subscriptable ERROR tests/integration/test_repository_service.py - TypeError: 'type' object is not subscriptable



Modifications
--
- Use `typing.Dict` instead of `dict` for typing.

Result
--
- `pytest` works as expected.