Jammy2211 / PyAutoLens

PyAutoLens: Open Source Strong Gravitational Lensing
https://pyautolens.readthedocs.io/
MIT License
162 stars 32 forks source link

Feature/typing #208

Closed Jammy2211 closed 1 year ago

Jammy2211 commented 1 year ago

Use the following API to perform typing when we previously couldn't, which helps readthedocs:

from __future__ import annotations

from typing import TYPE_CHECKING

if TYPE_CHECKING:
    from autoarray.structures.abstract_structure import Structure