HathorNetwork / hathor-explorer-service

MIT License
1 stars 3 forks source link

fix: some type definitions don't work on Python 3.8 #284

Closed luislhl closed 10 months ago

luislhl commented 10 months ago

Acceptance Criteria

Traceback (most recent call last):
  File "./daemons_runner.py", line 5, in <module>
    from daemons.data_collector import DataCollector
  File "/code/daemons/data_collector.py", line 8, in <module>
    from usecases.collect_nodes_statuses import CollectNodesStatuses
  File "/code/usecases/collect_nodes_statuses.py", line 6, in <module>
    from gateways.clients.hathor_core_client import HathorCoreAsyncClient
  File "/code/gateways/clients/hathor_core_client.py", line 29, in <module>
    class HathorCoreAsyncClient:
  File "/code/gateways/clients/hathor_core_client.py", line 43, in HathorCoreAsyncClient
    ) -> dict[Any, Any]:
TypeError: 'type' object is not subscriptable

Security Checklist