Skip to content

Provide a base FilterSet class for plugins #8453

@jeremystretch

Description

@jeremystretch

NetBox version

v3.1.6

Feature type

New functionality

Proposed functionality

Define a base FilterSet class for use by plugins. NetBox currently defines BaseFilterSet and PrimaryModelFilterSet classes, the later of which extends the former to include custom field and change logging support. We'll probably end up refactoring the existing classes to provide something analogous to the BaseModel class.

Use case

Enables plugins to leverage the advanced functionality provided by NetBox's core filterset classes without having to duplicate code.

Database changes

No response

External dependencies

No response

Metadata

Metadata

Assignees

Labels

status: acceptedThis issue has been accepted for implementationtopic: pluginsRelates to the plugins frameworktype: featureIntroduction of new functionality to the application

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions