Skip to content

Usability: FilterVariable alias should default to property name #98

Description

@tlisonbee

This suggestion would be a very minor improvement but often the alias for a FilterVariable just ends up being the same as the property name so it would be nice if that was used as the default.

E.g.

Dashboard() \
        .with_name(name) \
        .with_charts(*charts) \
        .with_filters(
        DashboardFilters() \
            .with_variables(
            FilterVariable() \
                .with_property("aws_account_id")
                .with_alias("aws_account_id")
                .with_value(aws_account_id))

Activity

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

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