Call function in Python script in a Gitlab repositry from another script in another Gitlab repository

  Kiến thức lập trình

I have two Gitlab repositories that are both private and on an internal server. The first repo (let’s call this Repo A) contains a Python script with some general functions. The second repo (Repo B) contains multiple Python scripts that are developed by the users. Calling a function in another Python script can easily be done by importing the script and then call the function, but I don’t know if this is possible when the scripts are in two different repo’s.

Is there a way to call a function in the Python script in Repo A, using a Python script in Repo B?