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

Add support for "int", and int as type when creating Attributes and no metadata is required #52

Open
GDYendell opened this issue Aug 16, 2024 · 0 comments

Comments

@GDYendell
Copy link
Contributor

GDYendell commented Aug 16, 2024

Often when introspecting devices they will return the type as a string, so it would be convenient to be able to pass this straight into Attributes rather than having to map them to the FastCS types.

Could also consider getting rid of FastCS types and using Annotated[int, min=...]?

Acceptance Criteria

  • AttrR("int", ...) is equivalent to AttrR(Int(), ...)
  • And other types
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant