Skip to content
This repository was archived by the owner on Aug 12, 2025. It is now read-only.

Conversation

@palfrey
Copy link
Contributor

@palfrey palfrey commented Mar 18, 2023

Fixes #7

So this is slightly fiddly because Filters don't have parent declared to start with, but it gets set by FilterSet. Annoyingly they don't set a default None parent, and AFAIK there's no way in types to say "this property might not be defined" (mostly probably because that's a bad idea IMHO).

OTOH, I think it's probably ok as most people are accessing them via FilterSet work?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Filters have a parent property

2 participants