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

georgolm week3 #34

Open
wants to merge 8 commits into
base: master
Choose a base branch
from
Open

georgolm week3 #34

wants to merge 8 commits into from

Conversation

olmgeorg
Copy link

No description provided.

def put_redis_data(processed_data):
# output data in console for each run
string = str(processed_data)
f = open('output.txt', 'w')
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Using a context manager for your open, as in with open('output.txt', 'w') as f: will prevent a file handle remaining open if there is an exception within the write

Copy link

@czroth czroth left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good work! Essentially identical to my commit (and the other one I reviewed too). I'm looking forward to this weeks assignment and exploring Dagsters capabilities more.
Sorry for not getting you this feedback yesterday.

@svpernova09
Copy link

Nice work! good job

@olmgeorg olmgeorg changed the title georgolm week2 georgolm week3 Sep 4, 2022
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.

3 participants