You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I suggest simplifying the import paths in the SDK to improve code readability and the overall developer experience. The current deep module nesting forces users to write verbose import statements that can be streamlined for better maintainability.
A potential improvement is to re-export frequently used classes at a higher module level. For example, in the kucoin_universal_sdk/generate/spot/market package, you could add an __init__.py file with the following content:
from .model_get_part_order_book_reqimportGetPartOrderBookReqBuilder
This change would allow users to import the class with a shorter path:
I suggest simplifying the import paths in the SDK to improve code readability and the overall developer experience. The current deep module nesting forces users to write verbose import statements that can be streamlined for better maintainability.
A potential improvement is to re-export frequently used classes at a higher module level. For example, in the
kucoin_universal_sdk/generate/spot/market
package, you could add an__init__.py
file with the following content:This change would allow users to import the class with a shorter path:
Thank you for considering this enhancement!
The text was updated successfully, but these errors were encountered: