File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2525YOTI_API_URL = environ .get ("YOTI_API_URL" , DEFAULTS ["YOTI_API_URL" ])
2626YOTI_API_PORT = environ .get ("YOTI_API_PORT" , DEFAULTS ["YOTI_API_PORT" ])
2727YOTI_API_VERSION = environ .get ("YOTI_API_VERSION" , DEFAULTS ["YOTI_API_VERSION" ])
28- YOTI_API_ENDPOINT = "{0}:{1}/api/{2}" .format (
28+ YOTI_API_ENDPOINT = environ . get ( "YOTI_API_ENDPOINT" , "{0}:{1}/api/{2}" .format (
2929 YOTI_API_URL , YOTI_API_PORT , YOTI_API_VERSION
30- )
30+ ))
3131
3232YOTI_API_VERIFY_SSL = environ .get ("YOTI_API_VERIFY_SSL" , DEFAULTS ["YOTI_API_VERIFY_SSL" ])
3333if YOTI_API_VERIFY_SSL .lower () == "false" :
Original file line number Diff line number Diff line change @@ -57,7 +57,7 @@ def get_attribute(self, attribute_name):
5757
5858class Profile (BaseProfile ):
5959 def __init__ (self , profile_attributes ):
60- super ( Profile , self ) .__init__ (profile_attributes )
60+ BaseProfile .__init__ (self , profile_attributes )
6161 self .ensure_postal_address ()
6262
6363 @property
@@ -182,7 +182,7 @@ def ensure_postal_address(self):
182182def ApplicationProfile (BaseProfile ):
183183
184184 def __init__ (self , profile_attributes ):
185- super ( ApplicationProfile , self ) .__init__ (profile_attributes )
185+ BaseProfile .__init__ (self , profile_attributes )
186186
187187 @property
188188 def application_name (self ):
You can’t perform that action at this time.
0 commit comments