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

get_attributes() will only return the attributes with the pre-defined attribute type #182

Closed
djs0109 opened this issue Dec 21, 2022 · 1 comment · Fixed by #183
Closed
Assignees
Labels
feature request Request a potential feature

Comments

@djs0109
Copy link
Contributor

djs0109 commented Dec 21, 2022

The get_attribute() method of ContextEntity only returns the attributes with the pre-defined attribute type.

Expectation
I can understand the idea behind the current behavior. But since Orion and NamedContextAttribute of filip does not validate the data type against the pre-defined data types, I would expect a method that can return all attributes to me, regardless of the attribute types.

Use Case
For example, all the auto-provisioned inexplicit attributes will have the attribute type string (not the pre-defined Text or Number). It might be a bug of IoTagent, but with the current behavior we can not get a list of such attributes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request Request a potential feature
Projects
None yet
1 participant