Skip to content

Commit

Permalink
Merge pull request #1660 from PrefectHQ/jawnsy/chore-github-capitaliz…
Browse files Browse the repository at this point in the history
…ation

Fix capitalization of "GitHub"
  • Loading branch information
zanieb authored Apr 18, 2022
2 parents 46e4fb9 + 6d2ded8 commit 8e38964
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ def get_stars(repo: str):
print(f"{repo} has {count} stars!")


@flow(name="Github Stars")
@flow(name="GitHub Stars")
def github_stars(repos: List[str]):
for repo in repos:
get_stars(repo)
Expand Down
6 changes: 3 additions & 3 deletions docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ def get_stars(repo: str):
print(f"{repo} has {count} stars!")


@flow(name="Github Stars")
@flow(name="GitHub Stars")
def github_stars(repos: List[str]):
for repo in repos:
get_stars(repo)
Expand All @@ -83,7 +83,7 @@ def get_stars(repo: str):
count = httpx.get(url).json()["stargazers_count"]
print(f"{repo} has {count} stars!")

@flow(name="Github Stars", task_runner=DaskTaskRunner())
@flow(name="GitHub Stars", task_runner=DaskTaskRunner())
def github_stars(repos: List[str]):
for repo in repos:
get_stars(repo)
Expand Down Expand Up @@ -114,7 +114,7 @@ async def get_stars(repo: str):
count = response.json()["stargazers_count"]
print(f"{repo} has {count} stars!")

@flow(name="Github Stars")
@flow(name="GitHub Stars")
async def github_stars(repos: List[str]):
await asyncio.gather(*[get_stars(repo) for repo in repos])

Expand Down

0 comments on commit 8e38964

Please sign in to comment.