Fixes #22440: Remove errant changelog filter from OpenAPI spec (#22494)

This commit is contained in:
Jeremy Stretch 2026-06-18 17:09:33 -04:00 committed by GitHub
parent e92367b3f6
commit 83439ba00f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 0 additions and 9 deletions

View File

@ -1,13 +1,8 @@
from dataclasses import dataclass
from typing import TYPE_CHECKING, Annotated
import strawberry
import strawberry_django
from strawberry_django import DatetimeFilterLookup
if TYPE_CHECKING:
from .filters import *
__all__ = (
'ChangeLoggingMixin',
)
@ -15,9 +10,5 @@ __all__ = (
@dataclass
class ChangeLoggingMixin:
# TODO: "changelog" is not a valid field name; needs to be updated for ObjectChange
changelog: Annotated['ObjectChangeFilter', strawberry.lazy('core.graphql.filters')] | None = (
strawberry_django.filter_field()
)
created: DatetimeFilterLookup | None = strawberry_django.filter_field()
last_updated: DatetimeFilterLookup | None = strawberry_django.filter_field()