Jammy2211 / PyAutoGalaxy

PyAutoGalaxy: Open-Source Multiwavelength Galaxy Structure & Morphology
https://pyautogalaxy.readthedocs.io/
MIT License
27 stars 13 forks source link

Feature/typing #82

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