@@ -30,12 +30,12 @@ class Application(Container, Generic[TConfig]):
3030 ]
3131
3232 def __init__ (
33- self ,
34- base_path : str | Path = None ,
35- env = None ,
36- providers = None ,
37- config : Type [TConfig ] | None = None ,
38- exception_handler : Type [ExceptionHandler ] | None = None ,
33+ self ,
34+ base_path : str | Path = None ,
35+ env = None ,
36+ providers = None ,
37+ config : Type [TConfig ] | None = None ,
38+ exception_handler : Type [ExceptionHandler ] | None = None ,
3939 ):
4040 super ().__init__ ()
4141
@@ -154,7 +154,7 @@ def mount(self, path: str, app_instance: "FastAPI", **kwargs):
154154
155155 # Add custom exception handlers
156156 def add_exception_handler (
157- self , exc_class_or_status_code : Any , handler : Callable [..., Any ]
157+ self , exc_class_or_status_code : Any , handler : Callable [..., Any ]
158158 ):
159159 self ._fastapi .add_exception_handler (exc_class_or_status_code , handler )
160160 return self
@@ -181,9 +181,9 @@ def load_environment(self):
181181
182182 def is_debug (self ) -> bool :
183183 return (
184- hasattr (self , "_config_instance" )
185- and self ._config_instance is not None
186- and getattr (self ._config_instance , "debug" , False )
184+ hasattr (self , "_config_instance" )
185+ and self ._config_instance is not None
186+ and getattr (self ._config_instance , "debug" , False )
187187 )
188188
189189 def configure_config (self ):
0 commit comments