File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -558,7 +558,7 @@ def __init__(
558558 static_host : t .Optional [str ] = None ,
559559 host_matching : bool = False ,
560560 subdomain_matching : bool = False ,
561- template_folder : t .Optional [str ] = "templates" ,
561+ template_folder : t .Optional [t . Union [ str , os . PathLike ] ] = "templates" ,
562562 instance_path : t .Optional [str ] = None ,
563563 instance_relative_config : bool = False ,
564564 root_path : t .Optional [str ] = None ,
Original file line number Diff line number Diff line change @@ -250,7 +250,7 @@ def __init__(
250250 import_name : str ,
251251 static_folder : t .Optional [t .Union [str , os .PathLike ]] = None ,
252252 static_url_path : t .Optional [str ] = None ,
253- template_folder : t .Optional [str ] = None ,
253+ template_folder : t .Optional [t . Union [ str , os . PathLike ] ] = None ,
254254 url_prefix : t .Optional [str ] = None ,
255255 subdomain : t .Optional [str ] = None ,
256256 url_defaults : t .Optional [dict ] = None ,
Original file line number Diff line number Diff line change @@ -93,7 +93,7 @@ def __init__(
9393 import_name : str ,
9494 static_folder : t .Optional [t .Union [str , os .PathLike ]] = None ,
9595 static_url_path : t .Optional [str ] = None ,
96- template_folder : t .Optional [str ] = None ,
96+ template_folder : t .Optional [t . Union [ str , os . PathLike ] ] = None ,
9797 root_path : t .Optional [str ] = None ,
9898 ):
9999 #: The name of the package or module that this object belongs
You can’t perform that action at this time.
0 commit comments