Skip to content
This repository has been archived by the owner on Sep 3, 2024. It is now read-only.

Bugfix: Library: isinstance for Switch #216

Merged
merged 1 commit into from
Jul 6, 2024

Conversation

ruben-iteng
Copy link
Collaborator

Bugfix: Library: isinstance for Switch

Description

Makes use of isinstance possible on Switch

example for electrical interface switch:

F.Switch(Electrical).is_instance(x):

Please read and execute the following:

  • My code follows the coding guidelines of this project
  • My PR title is following the contribution guidelines
  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation (if applicable)
  • My changes generate no new warnings
  • I have added tests that prove my fix is effective or that my feature works (if applicable)
  • New and existing unit tests pass locally with my changes
  • Any dependent changes have been merged and published in downstream modules
  • I ran Black to format my code

Code of Conduct

By submitting this issue, you agree to follow our Code of Conduct:

Co-authored-by: IoannisP-ITENG <IoannisP-ITENG@users.noreply.github.com>
@IoannisP-ITENG IoannisP-ITENG merged commit 64ccac6 into main Jul 6, 2024
1 check passed
@IoannisP-ITENG IoannisP-ITENG deleted the bugfix/isinstance_switch branch July 6, 2024 16:38
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants