apple / pfl-research

Simulation framework for accelerating research in Private Federated Learning
http://apple.github.io/pfl-research/
Apache License 2.0
281 stars 27 forks source link

PEP 563 – Postponed Evaluation of Annotations #89

Open grananqvist opened 1 month ago

grananqvist commented 1 month ago

Use this https://peps.python.org/pep-0563/

By importing from __future__ import annotations

To allow self-references instead of having to write in quotes, e.g. -> ‘AbstractDataset’. Do this for all classes that have self-references.

(113866548)