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

Add documentation for signal folder/factory #3072

Open
eakmanrq opened this issue Aug 30, 2024 · 0 comments
Open

Add documentation for signal folder/factory #3072

eakmanrq opened this issue Aug 30, 2024 · 0 comments
Labels
Documentation Improvements or additions to documentation

Comments

@eakmanrq
Copy link
Contributor

Slack context: https://tobiko-data.slack.com/archives/C07HJH22U9Z/p1725024070460339?thread_ts=1725006361.257769&cid=C07HJH22U9Z

Links from convo:
https://github.com/TobikoData/sqlmesh/blob/main/sqlmesh/core/scheduler.py#L85-L100
https://github.com/TobikoData/sqlmesh/blob/main/sqlmesh/core/scheduler.py#L53-L77

Text:

Basically, create a file signals/__init__.py and create a function decorated with @signal_factory there. That function should return instances of the Signal class.
@eakmanrq eakmanrq added the Documentation Improvements or additions to documentation label Aug 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

1 participant