Skip to content

Error in Action.__doc__ for some actions #443

@wenkokke

Description

@wenkokke

The following code, together with knausj master...

from talon import Module, actions

mod = Module()

@mod.action_class
class BugReport:
  def trigger_bug():
    """Trigger a bug"""
    print(actions.edit.line_swap_down.__doc__)

... triggers the following error...

NotImplementedError: Action 'edit.line_swap_down' exists but the Module method is empty and no Context reimplements it

...rather than returning the documentation.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions