mirror of
https://github.com/status-im/PyGithub.git
synced 2026-08-31 19:01:15 +00:00
Make sure only three class definitions are distributed
This commit is contained in:
@@ -1,9 +1,16 @@
|
||||
from GithubObject import *
|
||||
|
||||
from Repository import Repository
|
||||
from NamedUser import NamedUser
|
||||
from Organization import Organization
|
||||
|
||||
Event = GithubObject(
|
||||
"Event",
|
||||
InternalSimpleAttributes(
|
||||
"type", "public", "payload", "created_at", "id", "commit_id", "url",
|
||||
"event", "issue",
|
||||
),
|
||||
)
|
||||
InternalObjectAttribute( "repo", Repository ),
|
||||
InternalObjectAttribute( "actor", NamedUser ),
|
||||
InternalObjectAttribute( "org", Organization ),
|
||||
)
|
||||
Reference in New Issue
Block a user