Skip to content

Response.render kwarg "headless" has incorrect typingΒ #109

@NoHitCrit

Description

@NoHitCrit

The type hint says bool, but it is shown in other issues/solutions that it is sometimes a string. This causes IDE warnings I'd like to suppress with the type hint being changed to headless: bool | str = True to allow the case when headless = "virtual"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions