Skip to content

Not possible to run statsforecast with PYTHONOPTIMIZE=2 #976

Description

@moagstar

What happened + What you expected to happen

It is not possible to run statsforecast when running with PYTHONOPTMIZE=2 (which strips __doc__) since there is some automatic formatting being applied to __doc__, for example:

__init__.__doc__ = __init__.__doc__.format(**_param_descriptions)

The result is an AttributeError because the __doc__ attribute has been stripped by running python with the optimization.

Reproducible example

__init__.__doc__ = __init__.__doc__.format(**_param_descriptions)

Issue Severity

None

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions