Skip to content

Commit

Permalink
Apply Peer suggestions.
Browse files Browse the repository at this point in the history
  • Loading branch information
smk4664 committed Jan 9, 2025
1 parent 2fb379d commit 5744ce6
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions nautobot_ssot/filters.py
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
"""Filtering for nautobot_ssot."""
"""Filtering logic for Sync and SyncLogEntry records."""

from nautobot.apps.filters import NautobotFilterSet, SearchFilter
from nautobot.apps.filters import BaseFilterSet, SearchFilter

from nautobot_ssot import models


class SyncFilterSet(NautobotFilterSet): # pylint: disable=too-many-ancestors
class SyncFilterSet(BaseFilterSet): # pylint: disable=too-many-ancestors
"""Filter for Sync."""

class Meta:
Expand All @@ -17,7 +17,7 @@ class Meta:
fields = ["dry_run", "job_result"] # pylint: disable=nb-use-fields-all


class SyncLogEntryFilterSet(NautobotFilterSet): # pylint: disable=too-many-ancestors
class SyncLogEntryFilterSet(BaseFilterSet): # pylint: disable=too-many-ancestors
"""Filter capabilities for SyncLogEntry instances."""

q = SearchFilter(
Expand Down

0 comments on commit 5744ce6

Please sign in to comment.