move to subfolder
This commit is contained in:
parent
052a500c13
commit
10e1ef7187
3 changed files with 0 additions and 0 deletions
14
my/stackexchange.py
Normal file
14
my/stackexchange.py
Normal file
|
@ -0,0 +1,14 @@
|
|||
from functools import lru_cache
|
||||
|
||||
from . import paths
|
||||
|
||||
@lru_cache()
|
||||
def stexport():
|
||||
from kython import import_file
|
||||
stexport_model = import_file(paths.stexport.repo / 'model.py')
|
||||
return stexport_model
|
||||
|
||||
|
||||
def get_data():
|
||||
sources = [max(paths.stexport.export_dir.glob('*.json'))]
|
||||
return stexport().Model(sources).site_model('stackoverflow')
|
Loading…
Add table
Add a link
Reference in a new issue