Skip to content

syntax check in decorator  #26

@forrestbao

Description

@forrestbao

I was struggling with an error for about 30 minutes, until I found out that I made a small syntactical error. Specifically, for example, I used one integer rather than a list of integer:

         minimal_match_length={'treat_as':'confi',g 'example':6}

instead of

                minimal_match_length={'treat_as':'confi',g 'example':[6]}

I'd suggest we enforce some syntax check to throw an error in such cases. Of course, this is a not a priority. Just keep in mind.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions