From c12906134d34f5829ae78a39745cfce2520d4e91 Mon Sep 17 00:00:00 2001 From: Sung Ching Liu <22844540+bursteratom@users.noreply.github.com> Date: Wed, 9 Apr 2025 09:35:22 -0400 Subject: [PATCH] Update src/axolotl/prompt_strategies/base.py Co-authored-by: Dan Saunders --- src/axolotl/prompt_strategies/base.py | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/src/axolotl/prompt_strategies/base.py b/src/axolotl/prompt_strategies/base.py index 0e6326b28..168612d43 100644 --- a/src/axolotl/prompt_strategies/base.py +++ b/src/axolotl/prompt_strategies/base.py @@ -12,10 +12,12 @@ LOG = logging.getLogger("axolotl") def import_from_path(module_name: str, file_path: str): """ Import a module from a file path. + Args: - module_name (str): Name of the module. - file_path (str): Path to the file. - Feturns: + module_name: Name of the module. + file_path: Path to the file. + + Returns: module: The imported module. """ spec = importlib.util.spec_from_file_location(module_name, file_path)