Skip to content

Add os.PathLike type hint to template folder for parity with flask - #424

Merged
pgjones merged 1 commit into
pallets:mainfrom
502E532E:template_folder_type_hint
Jul 22, 2026
Merged

Add os.PathLike type hint to template folder for parity with flask#424
pgjones merged 1 commit into
pallets:mainfrom
502E532E:template_folder_type_hint

Conversation

@502E532E

Copy link
Copy Markdown
Contributor

Resolves #423 by adding the type hint.

@pgjones
pgjones merged commit 66de22a into pallets:main Jul 22, 2026
@pgjones

pgjones commented Jul 22, 2026

Copy link
Copy Markdown
Member

Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Allow template_folder argument to be os.PathLike[str] as is allowed in Flask

2 participants