Open slawomirkolodziej opened 1 year ago
When trying to call SyncStatusApi(sdk_client).sync_status_list I'm receiving No module named 'MergePythonSDK.hris.model.selective_sync_configurations_usage_enum' error. This started happening after I upgraded the SDK to the 2.2.7 version.
SyncStatusApi(sdk_client).sync_status_list
No module named 'MergePythonSDK.hris.model.selective_sync_configurations_usage_enum'
The bug seems to be in this line https://github.com/merge-api/merge-sdk-python/blob/main/MergePythonSDK/hris/model/sync_status.py#L42. SelectiveSyncConfigurationsUsageEnum is being imported from a file that doesn't exist.
SelectiveSyncConfigurationsUsageEnum
I got around this issue by manually patching a module:
from MergePythonSDK.hris.model import sync_status sync_status.SyncStatus.openapi_types = patch_openapi_types()
@akatipally I see you were responsible for releasing 2.2.7 version so I wanted to mention you here.
The issue above is breaking the usage of sync_status_list in PythonSDK.
sync_status_list
When trying to call
SyncStatusApi(sdk_client).sync_status_list
I'm receivingNo module named 'MergePythonSDK.hris.model.selective_sync_configurations_usage_enum'
error. This started happening after I upgraded the SDK to the 2.2.7 version.The bug seems to be in this line https://github.com/merge-api/merge-sdk-python/blob/main/MergePythonSDK/hris/model/sync_status.py#L42.
SelectiveSyncConfigurationsUsageEnum
is being imported from a file that doesn't exist.I got around this issue by manually patching a module: