generated from pyiron/pyiron_module_template
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Leverage generics for connection partners Signed-off-by: liamhuber <[email protected]> * Break apart connection error message So we only reference type hints when they're there Signed-off-by: liamhuber <[email protected]> * Hint connections type more specifically Signed-off-by: liamhuber <[email protected]> * Hint disconnect more specifically Signed-off-by: liamhuber <[email protected]> * Use Self in disconnection hints Signed-off-by: liamhuber <[email protected]> * Use Self to hint value_receiver Signed-off-by: liamhuber <[email protected]> * Devolve responsibility for connection validity Otherwise mypy has trouble telling that data channels really are operating on a connection partner, since the `super()` call could wind up pointing anywhere. Signed-off-by: liamhuber <[email protected]> * Fix typing in channel tests Signed-off-by: liamhuber <[email protected]> * 🐛 Return the message Signed-off-by: liamhuber <[email protected]> * Fix typing in figuring out who is I/O Signed-off-by: liamhuber <[email protected]> * Recast connection parters as class method mypy complained about the class-level attribute access I was using to get around circular references. This is a bit more verbose, but otherwise a fine alternative. Signed-off-by: liamhuber <[email protected]> * Match Accumulating input signal call to parent Signed-off-by: liamhuber <[email protected]> --------- Signed-off-by: liamhuber <[email protected]>
- Loading branch information
Showing
2 changed files
with
148 additions
and
82 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.