osgithub 0.3.5__tar.gz → 0.4.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {osgithub-0.3.5 → osgithub-0.4.0}/PKG-INFO +1 -1
- {osgithub-0.3.5 → osgithub-0.4.0}/osgithub/github.py +12 -0
- {osgithub-0.3.5 → osgithub-0.4.0}/osgithub.egg-info/PKG-INFO +1 -1
- {osgithub-0.3.5 → osgithub-0.4.0}/LICENSE +0 -0
- {osgithub-0.3.5 → osgithub-0.4.0}/README.md +0 -0
- {osgithub-0.3.5 → osgithub-0.4.0}/osgithub/__init__.py +0 -0
- {osgithub-0.3.5 → osgithub-0.4.0}/osgithub.egg-info/SOURCES.txt +0 -0
- {osgithub-0.3.5 → osgithub-0.4.0}/osgithub.egg-info/dependency_links.txt +0 -0
- {osgithub-0.3.5 → osgithub-0.4.0}/osgithub.egg-info/requires.txt +0 -0
- {osgithub-0.3.5 → osgithub-0.4.0}/osgithub.egg-info/top_level.txt +0 -0
- {osgithub-0.3.5 → osgithub-0.4.0}/pyproject.toml +0 -0
- {osgithub-0.3.5 → osgithub-0.4.0}/setup.cfg +0 -0
- {osgithub-0.3.5 → osgithub-0.4.0}/setup.py +0 -0
|
@@ -434,6 +434,18 @@ class GithubRepo:
|
|
|
434
434
|
"date": content["committer"]["date"],
|
|
435
435
|
}
|
|
436
436
|
|
|
437
|
+
def get_contributors(self):
|
|
438
|
+
"""
|
|
439
|
+
Gets contributors to the repo
|
|
440
|
+
|
|
441
|
+
Returns:
|
|
442
|
+
List of strings, each representing a contributor's login
|
|
443
|
+
"""
|
|
444
|
+
path_segments = [*self.repo_path_segments, "contributors"]
|
|
445
|
+
content = self.client.get_json(path_segments)
|
|
446
|
+
contrib_list = [contrib["login"] for contrib in content]
|
|
447
|
+
return contrib_list
|
|
448
|
+
|
|
437
449
|
def clear_cache(self):
|
|
438
450
|
"""Clears all request cache urls for this repo"""
|
|
439
451
|
cached_urls = self.client.session.cache.urls()
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|