Skip to content

Type time validation of variable expressions #4505

@Gobot1234

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    futureTo work on it in the future, since it can be delayed

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions