-
Notifications
You must be signed in to change notification settings - Fork 137
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
Week 1 Project Submission #17
base: master
Are you sure you want to change the base?
Conversation
LGTM 🚢 |
) | ||
def process_data(stocks: List[Stock]) -> Aggregation: | ||
# Find the stock with the highest value | ||
max_stock = max(stocks, key=lambda x: x.high) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
c l e a n
) | ||
def put_redis_data(agg_max: Aggregation) -> None: | ||
# Log the output | ||
logger = get_dagster_logger() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Uh, nice! Didn't know about a dagster logger, but makes so much sense!
Looks nice and clean! |
All tests passing.