Skip to content

bug: Unable to reset dropdown attribute via SDK #549

@muffizone

Description

@muffizone

Component

Python SDK

Infrahub version

1.4.6

Current Behavior

I am unable to unset an optional dropdown attribute once its set. We can unset the attribute via the UI but setting to None via sdk has no effect on the attribute. The only way it resets is when there is a schema upgrade.

Expected Behavior

The expected behaviour is to able to reset the dropdown attribute via sdk.

Steps to Reproduce

  • set a value for optional dropdown attribute via any method.
  • Once set, its not possible to reset it to None via the sdk.

Additional Information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    type/bugSomething isn't working as expected

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions