Skip to content

BACKEND-5682 - Change pyloader load by system path#5

Merged
lpl merged 3 commits intomasterfrom
feature/BACKEND-5682_change_pyloader_load_by_system_path
Jan 27, 2020
Merged

BACKEND-5682 - Change pyloader load by system path#5
lpl merged 3 commits intomasterfrom
feature/BACKEND-5682_change_pyloader_load_by_system_path

Conversation

@lpl
Copy link
Contributor

@lpl lpl commented Jan 16, 2020

Description

This PR makes the PyLoader capable of loading a python module by file/dir path. The current load method has been renamed to load_by_module_name.

How to test

  • Instantiate a PyLoader and call the .load() method with the absolute path of a python module with a load function inside it. It should add the service to the container.
  • Instantiate a PyLoader and call the .load_by_module_name() method with the module name python path (as string). The module should have a load function inside it. It should add the service to the container.

@lpl lpl requested a review from marcoshj January 16, 2020 11:57
@lpl lpl self-assigned this Jan 16, 2020
@lpl lpl requested a review from marcoshj January 23, 2020 15:47
@lpl lpl merged commit e21bcdd into master Jan 27, 2020
@miguelgf miguelgf deleted the feature/BACKEND-5682_change_pyloader_load_by_system_path branch May 13, 2020 17:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

Comments