diff --git a/example_script_with_progressbar.py b/example_script_with_progressbar.py index 88dc392..aa162b6 100644 --- a/example_script_with_progressbar.py +++ b/example_script_with_progressbar.py @@ -26,6 +26,7 @@ To execute: `python example_script.py` """ + import os import time from pathlib import Path diff --git a/src/py_moodle/course.py b/src/py_moodle/course.py index 6d30cde..0ef30b2 100644 --- a/src/py_moodle/course.py +++ b/src/py_moodle/course.py @@ -5,6 +5,7 @@ Provides functions to list courses, retrieve course details, and enumerate course sections using AJAX endpoints. """ + import json import time import urllib.parse diff --git a/src/py_moodle/folder.py b/src/py_moodle/folder.py index 7bf2022..c09a41d 100644 --- a/src/py_moodle/folder.py +++ b/src/py_moodle/folder.py @@ -8,6 +8,7 @@ All code and comments are in English. """ + import json import re import time diff --git a/src/py_moodle/module.py b/src/py_moodle/module.py index a608155..ae22e63 100644 --- a/src/py_moodle/module.py +++ b/src/py_moodle/module.py @@ -3,6 +3,7 @@ Generic Moodle module management helpers. All code and comments are in English. """ + import json import re import time diff --git a/src/py_moodle/upload.py b/src/py_moodle/upload.py index 7460a4c..44f8248 100644 --- a/src/py_moodle/upload.py +++ b/src/py_moodle/upload.py @@ -4,6 +4,7 @@ This method requires a webservice token with 'core_files_upload' capability. """ + import mimetypes import os from pathlib import Path diff --git a/src/py_moodle/url.py b/src/py_moodle/url.py index 61f2f9a..18d3209 100644 --- a/src/py_moodle/url.py +++ b/src/py_moodle/url.py @@ -4,6 +4,7 @@ Provides functions to create and delete "url" modules linking to external resources. All code and comments are in English. """ + from __future__ import annotations import time