Use collections.abc instead of collections

Description

  • activity.py

  • annotations.py

  • client.py

  • entity.py

  • table.py

  • core/cache.py

  • core/utils.py

  • models/dict_object.py

There are multiple ways to go about this, since collections.abc was introduced in Python 3.3 we don't need to worry about backporting (we only support Python 3.6+). We could

1. Replacing all collections with collections.abc (https://github.com/Sage-Bionetworks/synapsePythonClient/pull/745)
2. import the Callable (e.g from collections.abc import Mapping

Environment

None

Activity

Show:
Jordan Kiang
May 29, 2020, 2:49 PM

This was merged and is part of the 2.1 RC.

Assignee

Thomas Yu

Reporter

Thomas Yu

Labels

None

Validator

Jordan Kiang

Development Area

None

Release Version History

None

Fix versions

Priority

Minor
Configure