how to create object of class imported from wheel package in synapse notebook

heta desai 247 Reputation points
2022-10-18T10:08:29.723+00:00

Hi,

I have created python module which reads key vault secrets - GetKV.py. I have created another module ReadKV.py In which class is defined and in this module I have imported GetKV.py. The class method inside ReadKV.py uses value from GetKV.py.

I have created wheel package named TestKV with both of these modules and imported to synapse packages. In synapse notebook added import TestKV and tried to create class object but it throws and says unable to read GetKV.py.

When I create class object in VS Code it works perfectly fine.

Azure Key Vault
Azure Key Vault
An Azure service that is used to manage and protect cryptographic keys and other secrets used by cloud apps and services.
1,158 questions
Azure Synapse Analytics
Azure Synapse Analytics
An Azure analytics service that brings together data integration, enterprise data warehousing, and big data analytics. Previously known as Azure SQL Data Warehouse.
4,547 questions
{count} votes