Skip to content
  • Nsukami Patrick <ptrck at nskm dot xyz>'s avatar
    [mypy]: Improve type annotation for set_limit method · 59c3d01fe012
    Nsukami Patrick authored
    if we want to use it as 2nd arg to the property function:
    - set_limit method should explicitly return None
    - remove useless comments
    - remove now useless type:ignore comments
    
    This fix mypy error:
    Argument 2 to "property"
     has incompatible type "Callable[[rql.stmts.Union, Any], Optional[rql.stmts.Union]]"
     expected "Optional[Callable[[Any, Any], None]]"
    59c3d01fe012