**Describe the bug** `sys.path.append` should be **before** importing the custom modules. Otherwise, it won't be able to load them because of their location. This is typically suggested by linters. Here's the [flake8 rule](https://lintlyci.github.io/Flake8Rules/rules/E402.html) that causes this problem. Please make sure to disable this rule when running flake8 ```python from attach_compute import get_compute from workspace import get_workspace import sys import os import time from azureml.pipeline.core import Pipeline from azureml.pipeline.steps import DatabricksStep sys.path.append(os.path.abspath("./aml_service/experiment")) ``` **To Reproduce** Steps to reproduce the behavior: - Run the `build-train.yml` pipeline
Describe the bug
sys.path.appendshould be before importing the custom modules. Otherwise, it won't be able to load them because of their location.This is typically suggested by linters. Here's the flake8 rule that causes this problem.
Please make sure to disable this rule when running flake8
To Reproduce
Steps to reproduce the behavior:
build-train.ymlpipeline