Skip to content

Add flag to disable is_dangerous import checking #17

@jfelten

Description

@jfelten

I'd like the ability to disable the is dangerous check as needed through a flag:

def _check_danger(self, action_str):

My use case returns json, and generates an import statement that forces the code to exit:

Action: from json import dumps

If you are ok with this I can generate a PR.

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