Skip to content

Commit 2489a20

Browse files
committed
Joining components in a clean interface
1 parent 46d5350 commit 2489a20

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

pygithub3/github.py

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,15 @@
11
#!/usr/bin/env python
22
# -*- encoding: utf-8 -*-
3+
4+
from pygithub3.services.users import User
5+
6+
7+
class GitHub(object):
8+
""" Main entrance """
9+
10+
def __init__(self, **config):
11+
self._users = User(**config)
12+
13+
@property
14+
def users(self):
15+
return self._users

0 commit comments

Comments
 (0)