github: DEPRECATE my.coding.github

Instead my.github.all should be used (still backward compatible)

The reasons are
a) I don't feel that grouping (i.e. my.coding.*) makes much sense
b) using .all pattern (same way as twitter) allows for more composable and cleaner separation of GDPR and API data
This commit is contained in:
Dima Gerasimov 2020-06-01 22:42:45 +01:00
parent d7aff1be3f
commit ca39187c63
7 changed files with 286 additions and 244 deletions

8
my/coding/github.py Normal file
View file

@ -0,0 +1,8 @@
import warnings
warnings.warn('my.coding.github is deprecated! Please use my.github.all instead!', DeprecationWarning)
from ..github.all import events, get_events
# todo deprecate properly
iter_events = events