Skip to content

Do not map ClassVar attributes #1936

New issue

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

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

Already on GitHub? # to your account

Merged
merged 3 commits into from
Nov 6, 2024

Conversation

miguelgrinberg
Copy link
Collaborator

Fixes #1927

Copy link
Member

@pquentin pquentin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks! LGTM.

@miguelgrinberg miguelgrinberg added the backport 8.x Backport to 8.x label Nov 6, 2024
@miguelgrinberg miguelgrinberg merged commit 47a7a06 into elastic:main Nov 6, 2024
19 checks passed
@miguelgrinberg miguelgrinberg deleted the ignore-classvar-attrs branch November 6, 2024 18:29
github-actions bot pushed a commit that referenced this pull request Nov 6, 2024
* Do not map ClassVar attributes

Fixes #1927

* document ClassVar usage

(cherry picked from commit 47a7a06)
miguelgrinberg added a commit that referenced this pull request Nov 6, 2024
* Do not map ClassVar attributes

Fixes #1927

* document ClassVar usage

(cherry picked from commit 47a7a06)

Co-authored-by: Miguel Grinberg <miguel.grinberg@gmail.com>
miguelgrinberg added a commit to miguelgrinberg/elasticsearch-dsl-py that referenced this pull request Dec 9, 2024
* Do not map ClassVar attributes

Fixes elastic#1927

* document ClassVar usage
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
backport 8.x Backport to 8.x
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Specify ignored attributes in mappings
2 participants