Module ImportFrom alias Import alias alias ImportFrom alias ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body Expr Str If Call AttributeLoad AttributeLoad NameLoad attr attr Str body Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr If UnaryOpNot Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad With Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str Str NameStore body Expr Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore NameLoad If UnaryOpNot Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr body With Call NameLoad Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Str NameStore body Assign NameStore Call AttributeLoad NameLoad attr If UnaryOpNot CompareIn AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr body Assign NameStore Call NameLoad NameLoad Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr If NameLoad body With Call NameLoad Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Str NameStore body Expr Call AttributeLoad NameLoad attr Call AttributeLoad Str attr NameLoad Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr decorator_list decorator_list
N/A __future__ unicode_literals N/A frappe os frappe.model.document Document ModuleDef N/A Document N/A on_update N/A N/A self N/A N/A N/A If in `developer_mode`, create folder for module and
			add in `modules.txt` of app if missing. N/A N/A N/A N/A frappe conf get developer_mode N/A N/A N/A N/A self create_modules_folder N/A N/A N/A self add_to_modules_txt N/A create_modules_folder N/A N/A self N/A N/A N/A Creates a folder `[app]/[module]` and adds `__init__.py` N/A module_path N/A N/A frappe get_app_path N/A self app_name N/A self name N/A N/A N/A N/A N/A os path exists module_path N/A N/A N/A N/A os mkdir module_path N/A N/A open N/A N/A N/A os path join module_path __init__.py w f N/A N/A N/A N/A f write N/A add_to_modules_txt N/A N/A self N/A N/A N/A Adds to `[app]/modules.txt` N/A modules None N/A N/A N/A N/A N/A N/A frappe local module_app get N/A N/A frappe scrub N/A self name N/A N/A N/A open N/A N/A frappe get_app_path N/A self app_name modules.txt r f N/A N/A content N/A N/A f read N/A N/A N/A N/A self name N/A N/A content splitlines N/A N/A modules N/A filter None N/A N/A content splitlines N/A N/A N/A modules append N/A self name N/A modules N/A N/A N/A open N/A N/A frappe get_app_path N/A self app_name modules.txt w f N/A N/A N/A N/A f write N/A N/A join modules N/A N/A N/A frappe clear_cache N/A N/A N/A frappe setup_module_map N/A N/A