Skip to content

Where is ESwitch? #113

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

Closed
beetlegigg opened this issue Oct 6, 2023 · 2 comments
Closed

Where is ESwitch? #113

beetlegigg opened this issue Oct 6, 2023 · 2 comments

Comments

@beetlegigg
Copy link

Hello Peter, I have just used your Switch class as found in V3 > primitives > switch. (very nice too and I have it working with events). But then I read your docs on event programming and it says use .from primitives import ESwitch' but I cannot find the ESwitch in the primitives anywhere. So I'm confused. Where do I find the ESwitch? (I probably just need a stronger cup of coffee :-) )

@peterhinch
Copy link
Owner

If you look at the "lazy loader" in init.py you'll see that it's in events.py. Docs are here.

@beetlegigg
Copy link
Author

Many thanks, I see it now. On to trying out ESwitch to see if its much different to using the Switch class utilising the event objects before I commit to putting one or the other in my project.

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

2 participants