Skip to content
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

Type check topology #75

Open
isra17 opened this issue Dec 16, 2021 · 0 comments
Open

Type check topology #75

isra17 opened this issue Dec 16, 2021 · 0 comments

Comments

@isra17
Copy link
Member

isra17 commented Dec 16, 2021

I won't work on this in the following weeks, but something I would love to see in saturn eventually.

Inventory yield items from a specific type. They should effectiveley become generic through TopicMessage[T]. This type could then be checked with the pipeline being connected to ensure the T match the pipeline signature and raise a runtime error if that's not the case.

End goal is that once a topology is loaded, and mypy find no error, there should be no such thing as an inventory yield an unexpected type to a pipeline.

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

1 participant