Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Introduce a Config subclass for Entities #1248

Open
b1rger opened this issue Oct 1, 2024 · 2 comments
Open

Introduce a Config subclass for Entities #1248

b1rger opened this issue Oct 1, 2024 · 2 comments

Comments

@b1rger
Copy link
Contributor

b1rger commented Oct 1, 2024

the _search_fields variable already led to confusion and there is also the wish to be able to store human readable metadata in the classes (a description of the entity that is used in the documentation)

We could use a subclass for that, similar to the Django Meta class

@b1rger b1rger added the needs-attention This issue or pull request is in need of discussion, information, assessment by team members label Oct 1, 2024
@sennierer
Copy link
Collaborator

Decided to use a APIS inner class for adding configurations and documentation strings that are APIS specific.
Inheritance needs to be still sorted out.

@sennierer
Copy link
Collaborator

inner classes are inherited. so we should find a similar solution as django does with model classes by removing abstract=True

@sennierer sennierer removed the needs-attention This issue or pull request is in need of discussion, information, assessment by team members label Oct 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants