Skip to content

Conversation

Nitish89847
Copy link

Summary:

This PR improves the from_tuple() method in BasePortConnection to address Issue #35.

Changes:

  • Adds type and length checks for the input tuple
  • Improves exception messages for missing sender/receiver roles/names
  • Replaces assert False with NineMLUsageError for clarity
  • Adds inline comments to clarify logic

Related Issue

Fixes #35

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

Successfully merging this pull request may close these issues.

Add comments and exceptions to from_tuple in BasePortConnection
1 participant