Skip to content

Type time validation of variable expressions #4505

Closed

Description

@Gobot1234

📝 Description of the feature

Currently reals are typed as str | float. Initially when reading that I thought it might be a bug but I later remembered the existence of the constants you can enter.

I think the ideal solution from a typing perspective is to have a callback scope that produces the expression though I think that'd be very challenging to implement especially with all the binops and whatnot you'd need to support

💡 Steps for implementing the feature

I would imagine a lot of this needs autogenerating based on the version which will make things very challenging.

🔗 Useful links and references

No response

Activity

  1. added
    enhancement
    new-feature
    future
    and removed
    enhancement
    on Sep 29, 2025
  2. removed
    new-feature
    on Oct 7, 2025
  3. locked and limited conversation to collaborators on Oct 7, 2025
  4. converted this issue into a discussion #4516 on Oct 7, 2025
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

    future

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions