I have a script that works in Synapse by utilizing the mssparkutils to retrieve credentials via a LinkedService:
storage_token_source = mssparkutils.credentials.getConnectionStringOrCreds(linked_service_name_source)
However, if I add this code to my local repository, PyCharm throws an Error as mssparkutils is unknown - I couldn't find the package in PyPi, how can I add it to the repository as an import/dependency?
I package my code later on and deploy it as a whl file to the spark pools.
Best regards,
Victor
or upvote
button whenever the information provided helps you. Original posters help the community find answers faster by identifying the correct answer. Here is