Skip to content

Enable Direct Access to ConstantKeyword from elasticsearch_dsl Module #1842

Closed
@alirezaazadi

Description

@alirezaazadi

It has been requested for the ConstantKeyword support in this issue: Support for constant_keyword #1373

The field has been added, but it's only available through this path: from elasticsearch_dsl.field import ConstantKeyword.
I wonder whether it's possible to make it accessible through from elasticsearch_dsl import ConstantKeyword like the rest of the fields? If the answer is positive, I would be happy to create a PR and apply this small change :)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions