apple / apple/pfl-research

PEP 563 – Postponed Evaluation of Annotations

Open
#89 0 comments 0 reactions 0 assignees View on GitHub
Beginner issue
Dominant language
Jupyter Notebook
Stars
358
Forks
43
Avg merge
9h 2m
Merged PRs (30d)
2

Description

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)

Contributor guide

Open the contributing guide

Research direction

The issue names no files or tests; start by locating Python classes that use quoted self-references and read PEP 563. Apply the requested future import consistently for those classes, then confirm all affected modules still load and self-references no longer need quotes.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
developer-experience
Issue type
Refactor
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.