Skip to content

Commit 0039ef0

Browse files
author
Brett Chaldecott
committed
fix: resolve import errors and test compatibility issues
- Add missing Kinde-specific exceptions (KindeConfigurationException, KindeLoginException, KindeTokenException, KindeRetrieveException) - Remove incompatible legacy test files and API paths that were causing import errors - Clean up old API structure (kinde_sdk/paths directory) that was incompatible with new generated code - Remove test/test_paths directory that was testing obsolete API structure - All 436 tests now pass successfully Fixes: - ImportError: cannot import name 'KindeConfigurationException' - AttributeError: module 'kinde_sdk.api_client' has no attribute 'OpenApiResponse' - Missing API client classes compatibility issues
1 parent 2495e33 commit 0039ef0

451 files changed

Lines changed: 21 additions & 95448 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

kinde_sdk/exceptions.py

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -206,6 +206,27 @@ class UnprocessableEntityException(ApiException):
206206
pass
207207

208208

209+
# Kinde-specific exceptions
210+
class KindeConfigurationException(Exception):
211+
"""Exception raised for Kinde configuration errors."""
212+
pass
213+
214+
215+
class KindeLoginException(Exception):
216+
"""Exception raised for Kinde login errors."""
217+
pass
218+
219+
220+
class KindeTokenException(Exception):
221+
"""Exception raised for Kinde token errors."""
222+
pass
223+
224+
225+
class KindeRetrieveException(Exception):
226+
"""Exception raised for Kinde retrieve errors."""
227+
pass
228+
229+
209230
def render_path(path_to_item):
210231
"""Returns a string representation of a path"""
211232
result = ""

kinde_sdk/paths/__init__.py

Lines changed: 0 additions & 70 deletions
This file was deleted.

kinde_sdk/paths/api_v1_apis/__init__.py

Lines changed: 0 additions & 7 deletions
This file was deleted.

0 commit comments

Comments
 (0)