Skip to content
Prev Previous commit
Next Next commit
avoiding interdependency
  • Loading branch information
VamshikShetty committed Feb 15, 2019
commit f7573f56bbdca36c70cd7c32a41bd4b6669f2757
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import re # noqa: F401
# python 2 and python 3 compatibility library
import six

from {{packageName}}.api_client import ApiClient



{{#operations}}
Expand All @@ -22,6 +22,7 @@ class {{classname}}(object):

def __init__(self, api_client=None):
if api_client is None:
from {{packageName}}.api_client import ApiClient
api_client = ApiClient()
self.api_client = api_client
{{#operation}}
Expand Down