Skip to content

[BUG]Minor Typo in engine.py Line 261 – Incorrect Parameter Annotation #242

Closed
@atoye1

Description

@atoye1

Description

There is a minor typo in engine.py on line 261. Specifically, the information_table parameter uses the = symbol instead of :, which is incorrect for Python type annotations.

Current Code Snippet

def run_article_generation_module(
    self,
    outline: StormArticle,
    information_table=StormInformationTable,  # should be ":" not "="
    callback_handler: BaseCallbackHandler = None,
) -> StormArticle:

Propsed Fix

def run_article_generation_module(
    self,
    outline: StormArticle,
    information_table: StormInformationTable,  # corrected
    callback_handler: BaseCallbackHandler = None,
) -> StormArticle:

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions