mirror of
https://github.com/status-im/PyGithub.git
synced 2026-08-31 19:01:15 +00:00
Refactor common header constants and custom media type
This commit is contained in:
@@ -39,7 +39,9 @@ import github.Event
|
||||
import github.Authorization
|
||||
import github.Notification
|
||||
|
||||
INTEGRATION_PREVIEW_HEADERS = {"Accept": "application/vnd.github.machine-man-preview+json"}
|
||||
import Consts
|
||||
|
||||
INTEGRATION_PREVIEW_HEADERS = {"Accept": Consts.mediaTypeIntegrationPreview}
|
||||
|
||||
|
||||
class Installation(github.GithubObject.NonCompletableGithubObject):
|
||||
|
||||
Reference in New Issue
Block a user