You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Signatures that use type aliases look rather ugly in the existing APIs of QRules, AmpForm, and TensorWaves.
This can be fixed with autodoc_type_aliases. The problem though, is that this requires from __future__ import annotations, which is only available in Python >3.7. Alternatively, type aliases can be abbreviated by making the signatures strings, as was done (by accident due to OrderedDict) here:
Signatures that use type aliases look rather ugly in the existing APIs of QRules, AmpForm, and TensorWaves.
This can be fixed with
autodoc_type_aliases
. The problem though, is that this requiresfrom __future__ import annotations
, which is only available in Python >3.7. Alternatively, type aliases can be abbreviated by making the signatures strings, as was done (by accident due toOrderedDict
) here:See also #58
The text was updated successfully, but these errors were encountered: