Better import for python client.

This commit is contained in:
geekerzp
2015-04-09 09:21:21 +08:00
parent c04f947a85
commit f2ecc271b5
4 changed files with 48 additions and 5 deletions

View File

@@ -2,6 +2,25 @@
"""Add all of the modules in the current directory to __all__"""
import os
# import models into package
from .models.User import User
from .models.Category import Category
from .models.Pet import Pet
from .models.Tag import Tag
from .models.Order import Order
# import apis into package
from .UserApi import UserApi
from .PetApi import PetApi
from .StoreApi import StoreApi
# import ApiClient
from .swagger import ApiClient
__all__ = []
for module in os.listdir(os.path.dirname(__file__)):