Skip to content

Commit

Permalink
feat: also pull in the license field from the metadata
Browse files Browse the repository at this point in the history
  • Loading branch information
vhyrro committed Mar 8, 2024
1 parent e3e42b4 commit 5f9691f
Showing 1 changed file with 11 additions and 10 deletions.
21 changes: 11 additions & 10 deletions generate_database.py
Original file line number Diff line number Diff line change
Expand Up @@ -183,24 +183,25 @@ def __init__(self, user: str = "budswa", batch_size: int = -1) -> None:

# perhaps export to a `constants` module
self.wanted_fields = [
"full_name",
"description",
"default_branch",
"fork",
"archived",
"private",
"clone_url",
"commits_url",
"contents_url",
"created_at",
"updated_at",
"stargazers_count",
"subscribers_count",
"default_branch",
"description",
"fork",
"forks_count",
"full_name",
"language",
"license",
"open_issues_count",
"topics",
"owner",
"contents_url",
"private",
"stargazers_count",
"subscribers_count",
"topics",
"updated_at",
]
# this is not accurate but it will be good enough for now.
self.unwanted_config = [
Expand Down

0 comments on commit 5f9691f

Please sign in to comment.