Skip to content

Update README.md#2

Open
peterdlarsen wants to merge 1 commit intoamazr:developfrom
peterdlarsen:patch-1
Open

Update README.md#2
peterdlarsen wants to merge 1 commit intoamazr:developfrom
peterdlarsen:patch-1

Conversation

@peterdlarsen
Copy link
Copy Markdown

Before this PR

Didn't have a nice while loop

After this PR

==COMMIT_MSG==
==COMMIT_MSG==

Possible downsides?

Are Docs needed?

Comment thread README.md

@function
def get_sources(context, event) -> List[str]:
while True:
Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

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

"Adding an infinite loop with while True: in the get_sources function is a terrible idea unless you have a very specific reason for it. This will cause the function to run indefinitely, which is likely not what you want. Please reconsider this change."

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.

2 participants