Skip to content

filter clashes with python's built-in filter() #216

@theorashid

Description

@theorashid

It's a bit of an anti-pattern.

I haven't come up with a better name yet. But

  • apply_filter / run_filter. Way less clean than smoother
  • flter, filtr, filt or filter_. This is the sort of thing that comes up when a parameter of your model is lambda_

Or jut keeping the module-level call cuthbert.filtering.filter and not re-exporting it at the top level.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions